All Claude Code modsrotbit/claudemods-marketplace
cm-block-dangerous-commands
Refuses destructive Bash commands (rm -rf /, force-push to main, DROP TABLE, curl | sh, ...) before Claude runs them, and tells Claude why.
cm-block-dangerous-commands reaches L0 (draws and remembers) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 2
- API methods referenced: 1
- Access from classified calls: L0, draws and remembers: draws
- Static scan, not a runtime test
Install hint
/plugin install cm-block-dangerous-commands --marketplace rotbit/claudemods-marketplaceFrom 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
L0 Draws & remembersdrawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- Bash calls
- Hooks
session.start, tool.call {tool=Bash}- API calls
$.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
7a6da12745b3- Marketplace passed
- claudemods
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. How the scan works.
More from rotbit/claudemods-marketplace
- cm-context-meterPuts context-window fill, 5-hour/7-day plan usage and session cost in the status line, and warns once when th…
- cm-done-toastShows "Done in 2m 14s" and plays a short chime when a long Claude turn finishes; optional macOS/Linux system…
- cm-git-branchShows the current git branch, how many files changed and ahead/behind counts in a one-line band above the pro…
- cm-tool-call-counterCounts Claude's tool calls per turn and per session, shows the count beside the spinner, and adds /tally for…
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/rotbit--claudemods-marketplace--cm-block-dangerous-commands/)
[](https://mods.aidojo.si/mods/rotbit--claudemods-marketplace--cm-block-dangerous-commands/)