summaryrefslogtreecommitdiff
path: root/plugins/hookify/examples/dangerous-rm.local.md
blob: 8226eb197a7b498aeb1ef113ef38a155e683363a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
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