name: block-dangerous-rm
enabled: true
event: bash
pattern: rm\s+-rf
action: block
⚠️ Dangerous rm command detected!
This command could delete important files. Please:
- Verify the path is correct
- Consider using a safer approach
- Make sure you have backups