◆ Claudius
Status

claude-code-safety-net

Hook

A coding agent hook that acts as a safety net, catching destructive git and filesystem commands before they execute. Supports Codex, Claude Code, OpenCode, Gemini CLI and Copilot CLI.

by kenryu42·kenryu42/claude-code-safety-net·homepage·TypeScript·v2.5.2
87· A
Install
git clone https://github.com/kenryu42/claude-code-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
safetysecurity#git#destructive-commands#ai-agents#ai-safety#antigravity#claude-code-plugin#cli#codex#codex-cli#coding-agent#cursor#developer-tools#dsh-plugin#guardrails#hermes-agent#hooks#openclaw#opencode#pi-extension