Claudius
Status

cc-safety-net

Hook

CLI hook that intercepts destructive git and filesystem commands before execution, supporting Claude Code, Codex, and other coding agents.

by kenryu42·kenryu42/cc-safety-net·TypeScript·v1.0.6
86· A
Install
git clone https://github.com/kenryu42/cc-safety-net
Stars
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.

Read more on GitHub →
What's inside
1 hookhooks.json
30-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