← all policies/FailproofAI/policies
━━ environment
block-env-files
Block reading/writing .env files
━━ when it runs
PreToolUsebefore the tool call runs. a denial here means the command never executes at all.
watchesevery tool the event fires for — not narrowed to particular 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 on by default — taking the pack without flags turns it on, and the picker shows it pre-ticked.
- 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-read-outside-cwdBlock file reads outside the session working directory