← all policies/FailproofAI/policies
━━ environment
block-read-outside-cwd
Block file reads outside the session working directory
━━ when it runs
PreToolUsebefore the tool call runs. a denial here means the command never executes at all.
watchesnarrowed to Read, Glob, Grep, Bash tools
this pack enforces: a match returns a real denial rather than being recorded and discarded. what the denial then does depends on the event above.
━━ install
this one is opt-in. taking the pack without flags leaves it off until you tick it, so install it by name if you want only this.
- just this policy
- the whole pack
- turn just this off
- pick from a list
- uninstall the pack
ships in FailproofAI/policies · v06b802b63f4f · source ↗
━━ also in environment
- protect-env-varsPrevent commands that read environment variables
- block-env-filesBlock reading/writing .env files