← all policies/itxtarun2727/failproof-block-destructive-sql
━━ database safety
block-destructive-sql
Block AI agents from executing destructive SQL commands like DROP TABLE, TRUNCATE, or DROP DATABASE
━━ 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 itxtarun2727/failproof-block-destructive-sql · v49bdbbc513a3 · source ↗