claudemods

All Claude Code modsSingh-AP/awesome-claude-mods

bash-guard

A Claude Code mod in Singh-AP/awesome-claude-mods

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.

bash-guard reaches L0 (draws and remembers) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install bash-guard --marketplace Singh-AP/awesome-claude-mods

From 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 & rememberspersists state, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash calls
Hooks
session.start, tool.call {tool=Bash}, command.run {command=bash-guard}
API calls
$.command.register, $.store.get, $.store.set, $.ui.ask, $.ui.toast
Validation on 2.1.302
Passed
Scanned revision
6c55bf0b6510
Marketplace passed
awesome-claude-mods

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 Singh-AP/awesome-claude-mods

Badge for your README

Reach badge for bash-guard Validation badge for bash-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/Singh-AP--awesome-claude-mods--bash-guard-reach.svg)](https://mods.aidojo.si/mods/Singh-AP--awesome-claude-mods--bash-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/Singh-AP--awesome-claude-mods--bash-guard-validates.svg)](https://mods.aidojo.si/mods/Singh-AP--awesome-claude-mods--bash-guard/)