cc-safety-net
HookCLI hook that intercepts destructive git and filesystem commands before execution, supporting Claude Code, Codex, and other coding agents.
Install
git clone https://github.com/kenryu42/cc-safety-netStars
1,468
7d change
▲ 0.41%
Downloads / week
—
Last active
today
About
A PreToolUse hook that intercepts and blocks destructive git and filesystem commands before AI coding agents run them. CC Safety Net parses command semantics — so flag reordering, shell wrappers, and interpreter one-liners can't bypass it.
[!NOTE] Full documentation → — installation, configuration, reference, guides, and the security model live on the docs site.
What's inside
1 hook
hooks.json30-day stars
Trust factors
- Source
- community
- Known advisories
- 0
- Maintenance
- active
- License
- MIT
- Age
- 7 months
safetyversion-control#safety-net#destructive-commands#git#filesystem#hooks#multi-agent#claude-code-plugin#codex#kimi-code#pi-extension#security