Event Hooks

bash-guard

1 event · 4 hooks

From bash-guard
Install
1
Run in your terminal
$
npx claudepluginhub werdnum/claude-code-plugins --plugin bash-guard
Risk Indicators
Executes bash commands
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/check-banned-commands.py"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/check-main-branch-commit.py"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/check-push-up-to-date.py"
        }
      ],
      "matcher": "Bash"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/check-bashoutput-rate-limit.py",
          "timeout": 360000
        }
      ],
      "matcher": "BashOutput"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 4
  },
  "eventStats": {
    "PreToolUse": 4
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 4,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 3
  }
}
Stats
Parent Repo Stars0
Parent Repo Forks0
Last CommitJan 30, 2026