All Claude Code modshugo88/claude-code-bash-guard
bash-guard
Blocks catastrophic Bash commands; holds risky ones (rm -r, git reset --hard, git clean, force push, migrations) and shows what they would change, with Proceed and Cancel
bash-guard reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 2
- API methods referenced: 8
- Access from classified calls: L2, writes or runs: runs processes, draws
- Static scan, not a runtime test
Install hint
/plugin install bash-guard --marketplace hugo88/claude-code-bash-guardFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsruns processes, drawsValidation
PassedView the source on GitHub Back to the list
What the scan recorded
- Observed events
- Bash calls
- Hooks
tool.call {tool=Bash}, ui.render {component=Pane}, ui.render {component=AbovePrompt}- API calls
$.clock.now, $.process.run, $.session.cwd, $.ui.close, $.ui.invalidate, $.ui.open, $.ui.resolve, $.ui.toast- Validation
- Passed
- Scanned revision
d56dc7c643f3- Marketplace passed
- claude-code-bash-guard
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/hugo88--claude-code-bash-guard--bash-guard/)
[](https://mods.aidojo.si/mods/hugo88--claude-code-bash-guard--bash-guard/)