
Cloud Vulnerability DB
A community-led vulnerabilities database
To open a command's patterns into the names they match, the gate reads the disk on a budget: 20,000 directory entries or 150 ms. The budget was one for a whole segment of the line, and a pattern still unread when it ran out was judged as written. One word could spend it for every word after it, and a guarded name spelled through a pattern after that word, such as .clau[d]e/settings.json, .ter[m]axa/policy.yaml or .en[v], stayed as written: a name no path rule has.
With the starter policy, from v0.22.0 to v0.25.1, echo /*/*/*/* > .ter[m]axa/policy.yaml and cat payload /*/*/*/*/none > .clau[d]e/settings.json are allowed by echo * and cat *, through termaxa check and through the hook, on a machine where /*/*/*/* reads past the budget. bash then overwrites the policy or the hook config; zsh overwrites them with the first line, and with the second where nonomatch is set. Without the first pattern each line is refused by the path rule that guards the file. Measured on each release's own binary from v0.21.10 to v0.25.1 in a Linux container where /*/*/*/* matches 48,743 names. v0.21.10 also allows the plain spelling, which GHSA-x6qc-h3gm-5fj2 fixed in v0.22.0.
The time a check takes also grew with the line, up to 150 ms for each segment's patterns: on v0.25.1 the hook took 16.3 s over 430 segments of ls /*/*/*/* and 37.4 s over 1,000. A harness that hears nothing from its hook in time may run the command: termaxa init gives Codex's hook 15 seconds, and Codex's documentation says a PreToolUse hook blocks only on an explicit denial; Claude Code's documentation says a PreToolUse hook that times out does not block the call unless it sets onFailure: "block", which termaxa init does not set. termaxa init wires Hermes Agent and Copilot CLI to fail closed.
Fixed in v0.25.2. Each word reads on a budget of its own, 100,000 entries or a second, counting the names looked up after a pattern, and a word the walk cannot finish is refused in every mode, as a word that opens into more than 100,000 words already was. The opening of all of a line's words ends four seconds after its judging begins; a word not read by then is refused. Both lines above are refused, and the hook answers a line of 1,000 segments in about four seconds.
Upgrade. Until then, set the harness to block the call when its hook fails or times out, where it has such a setting: "onFailure": "block" on Claude Code's termaxa hook entries (Claude Code 2.1.295 or later). A path rule does not stand in for the fix: the guarded name is never opened.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."