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