Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Deterministic PreToolUse guards for safe autonomous operation.
| Hook | Event | What it blocks |
|---|---|---|
secret-guard | PreToolUse Bash/Edit/Write/MultiEdit | OpenAI/GitHub/AWS keys, private-key blocks, .env secret assignments |
dangerous-command-guard | PreToolUse Bash | rm -rf /, git reset --hard, force push, chmod -R 777, dd of=/dev/sd*, curl | sh |
branch-protection-guard | PreToolUse Bash | direct push/commit to main/master/production/release |
prompt-injection-detector | PreToolUse WebFetch/WebSearch/Read | naive jailbreak prefixes in fetched content |
mcp-tool-allowlist | PreToolUse mcp____ | MCP tool calls outside CLAUDE_HARNESSES_MCP_ALLOW |
All hooks honor CLAUDE_HARNESSES_DISABLE=1 as a global kill switch and exit with code 2 to deny matching tool calls.
claude /plugin install safety-pack@claude-harnesses
| Env var | Effect |
|---|---|
CLAUDE_HARNESSES_DISABLE=1 | Disable all guard hooks. |
CLAUDE_HARNESSES_ALLOW_MAIN=1 | Allow direct push/commit to a protected branch for one session. |
CLAUDE_HARNESSES_MCP_ALLOW="mcp__github__*,mcp__playwright__*" | Comma-separated allowlist of MCP tool patterns. |
These hooks are heuristics. They reduce common foot-guns; they do not replace permissions, sandboxing, code review, and CI.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Claude Code installs this plugin but refuses to load it
hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
Plugins from other owners that cover similar ground