Security
Hook
Hooks
What kenryu42-cc-safety-net runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
Install
> /plugin marketplace add kenryu42/cc-safety-net > /plugin install cc-safety-net@cc-safety-net-dev
Ships with kenryu42-cc-safety-net. Installing the plugin gets these hooks.
What fires, and when
PreToolUse
node "${CLAUDE_PLUGIN_ROOT}/dist/bin/cc-safety-net.js" hook --coding-cli
Ships withkenryu42-cc-safety-net
A pre-execution guard for AI coding agents. It blocks destructive Git and file system commands, plus common attempts to access sensitive files, before a tool call runs. Supports Amp Code, Antigravity CLI, Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI, Grok Build, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.
Get the whole plugin
Stats
1,543
Stars
77
Forks
Active
Maintenance
TypeScript
Language
MIT
License
1d ago
Last commit
8mo ago
Created
Repo: kenryu42/cc-safety-net

