1 line
872 B
JSON
1 line
872 B
JSON
{"content": "{\n \"description\": \"Advanced protection against dangerous shell commands with multi-level security. Blocks catastrophic operations (rm -rf /, dd, mkfs), protects critical paths (.claude/, .git/, node_modules/), and warns about suspicious patterns. Features: catastrophic command blocking, critical path protection, smart pattern detection, and detailed safety messages.\",\n \"supportingFiles\": [\n {\n \"source\": \"dangerous-command-blocker.py\",\n \"destination\": \".claude/hooks/dangerous-command-blocker.py\",\n \"executable\": true\n }\n ],\n \"hooks\": {\n \"PreToolUse\": [\n {\n \"matcher\": \"Bash\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"python3 .claude/hooks/dangerous-command-blocker.py\"\n }\n ]\n }\n ]\n }\n}\n"} |