Dangerous Command Blocker
Claude Code Hook · security
dangerous-command-blocker एक Claude Code hook है जो shell में खतरनाक कमांड्स जैसे rm -rf /, dd, mkfs को रोकता है और महत्वपूर्ण फ़ोल्डर की सुरक्षा करता है, जिससे कोडिंग सुरक्षित रहती है।
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.
Install
npx claude-code-templates@latest --hook security/dangerous-command-blocker