◆ 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·v2.5.2
87· A
Install
git clone https://github.com/kenryu42/cc-safety-net
Stars
1,576
7d change
▲ 1.03%
Downloads / week
—
Last active
today
About

CC Safety Net (Coding CLI Safety Net) blocks destructive commands and access to secrets such as SSH keys and `.env` files before the tool call runs. It parses what the command does. Wrapping the command or reordering flags does not hide it. A broken config file never blocks anything. It is not a sandbox: it does not contain processes, set filesystem permissions, or watch network egress.

[!NOTE] Full documentation → covers installation, configuration, reference material, guides, and the security model. This README is the short version.

Read more on GitHub →
What's inside
2 hookscodex.jsonhooks.json
30-day stars
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
MIT
Age
9 months
safetyversion-control#safety-net#destructive-commands#git#filesystem#hooks#multi-agent#ai-agents#ai-safety#antigravity#claude-code-plugin#cli#codex#codex-cli#coding-agent#cursor#developer-tools#dsh-plugin#guardrails#hermes-agent#openclaw#opencode#pi-extension#security