◆ 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.9.0
87· A
Install
git clone https://github.com/kenryu42/cc-safety-net
Stars
2,120
7d change
▲ 1.44%
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 falls back to safe defaults instead of stopping your agent. 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
3 hookscodex.jsoncursor.jsonhooks.json
30-day stars
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
MIT
Age
11 months
safetyversion-control#safety-net#destructive-commands#git#filesystem#hooks#multi-agent#ai-agents#ai-safety#antigravity#claude-code-plugin#codex#codex-cli#coding-agent#cursor#developer-tools#dsh#dsh-plugin#guardrails#hermes-agent#openclaw#opencode#pi-extension#security