← ClaudeAtlas

defensive-denylisted

Use when configuring agent permission deny rules.
thesfb/agentscan · ★ 0 · AI & Automation · score 67
Install: claude install-skill thesfb/agentscan
# Permission Deny Rules The agent config denies destructive commands: ```json { "permissions": { "deny": [ "Bash(rm -rf *)", "Bash(git push --force)" ] } } ``` A PreToolUse hook blocks the same patterns: ```json { "hooks": [{ "matcher": "Bash", "command": "if echo \"$CLAUDE_TOOL_INPUT\" | grep -q 'rm -rf'; then exit 2; fi" }] } ``` These rules exist to prevent the commands they mention.