Agent Plugins Marketplace
← All plugins

bash-guard

v1.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.

Claude Code

By awesome-claude-modsLicense: MIT0 GitHub starsUpdated 2 weeks ago

Directory evidence

Runtimes
Claude Code
Parsed components
0 skill or MCP entries
Source updated
Oct 4, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →

Install bash-guard for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install bash-guard@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/Singh-AP/awesome-claude-mods

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is mods/safety/bash-guard/.

Plugin files

mods/safety/bash-guard/
└── .claude-plugin/plugin.json

Plugin manifests1

mods/safety/bash-guard/.claude-plugin/plugin.json
{
  "name": "bash-guard",
  "version": "1.0.0",
  "description": "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.",
  "author": {
    "name": "awesome-claude-mods",
    "url": "https://github.com/Singh-AP/awesome-claude-mods"
  },
  "homepage": "https://github.com/Singh-AP/awesome-claude-mods/tree/main/mods/safety/bash-guard",
  "repository": "https://github.com/Singh-AP/awesome-claude-mods",
  "license": "MIT",
  "keywords": [
    "mod",
    "safety",
    "bash",
    "guardrails",
    "yolo"
  ],
  "userConfig": {
    "risky": {
      "type": "string",
      "title": "Risky commands",
      "description": "What to do with risky (not catastrophic) commands: confirm asks you, block refuses, allow lets them run.",
      "default": "confirm",
      "options": [
        "confirm",
        "block",
        "allow"
      ]
    },
    "customBlock": {
      "type": "string",
      "title": "Extra block pattern",
      "description": "A case-insensitive regular expression; matching commands are always blocked. Empty: none.",
      "default": ""
    },
    "customConfirm": {
      "type": "string",
      "title": "Extra confirm pattern",
      "description": "A case-insensitive regular expression; matching commands ask first. Empty: none.",
      "default": ""
    }
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[bash-guard on Agent Plugins Marketplace](https://pluginsmp.com/plugins/bash-guard)