bash-guard 1.0.0
A seatbelt for YOLO mode: blocks catastrophic shell commands (rm -rf ~, mkfs, dd to a disk, fork bombs) and asks before risky ones (force-push, reset --hard, DROP TABLE, curl | sh), even with permissions bypassed.
Install
/plugin marketplace add Singh-AP/awesome-claude-mods /plugin install bash-guard@awesome-claude-mods
Run both lines inside Claude Code.
Hooks into
- Tool calls
- Toasts
- Slash commands