Agent Shipped

Directory · Coding agents

CC Safety Net

Pre-execution hook that blocks destructive Git/filesystem commands and secret file access by AI coding agents like Claude Code and Codex.

★ 1,930 stars · last updated 2026-11-06 · Free, open source · View on GitHub

Best for

Install

npx -y cc-safety-net@latest install
npx -y cc-safety-net@latest doctor

Our take

Parses what a command actually does, so wrapping in bash -c or python -c or reordering flags does not bypass it, and a broken config never blocks anything. The README states it is not a sandbox: it does not contain processes, set filesystem permissions, or monitor network egress. Supports many CLIs on Windows, macOS, and Linux, requires Node.js 18+, and offers presets, a GUI, and rulebooks for Terraform and cloud CLIs.

Similar coding agents

Get the field guide

Join builders who use coding agents every day. Free, twice a week, unsubscribe in one click.

No spam. The CLAUDE.md starter pack comes in your confirmation email. Not seeing it? Check spam or Promotions.