Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

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"}