What's wrong with this entry?
Anonymous. No account, no email.
What
Enforces per-script call limits in subprocess-scrubbed environments to prevent data exfiltration via repeated write operations.
Usage
export CLAUDE_CODE_SCRIPT_CAPS='{"curl": 10, "wget": 5}'Details
- JSON object mapping script/command name substrings to maximum call counts
- Tracks cumulative usage across the session
- Throws an error when a cap is exceeded: "Script call limit exceeded: X has been called N times (cap: M)"
- Only active when
CLAUDE_CODE_SUBPROCESS_ENV_SCRUBis enabled - Designed for untrusted-input workflows where exfiltration prevention is critical
Evidence
Script caps (search for "CLAUDE_CODE_SCRIPT_CAPS" and "Script call limit exceeded")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.