bash-guardrails 0.1.1
Tool-call guard rules (parser-based). On by default: blocks malformed bash and find rooted at /. Opt-in: Monitor, find without -xdev, pgrep/pkill pitfalls, until-grep loops, sudo, run0 confirmation
Install
git clone https://github.com/ruihe774/cc-bash-guardrails.git claude --plugin-dir cc-bash-guardrails
Run in a terminal. Claude Code loads the mod from that folder for the session.
Hooks into
- Tool calls
- Toasts