File size: 346 Bytes
81aa0b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
name: block-dangerous-rm
enabled: true
event: bash
pattern: rm\s+-rf\s+(/|~|\$HOME|\.\.)
action: block
---

🛑 **Dangerous rm command detected!**

This command could delete important files. The operation has been blocked.

If this is intentional, please:
- Verify the path is correct
- Use a more specific path
- Make sure you have backups