kenryu42/cc-safety-net

A pre-execution guard for AI coding agents. It blocks destructive Git and file system commands, plus common attempts to access sensitive files, before a tool call runs. Supports Amp Code, Antigravity CLI, Claude Code, Codex, Cursor, DeepSeek Harness, Devin CLI, GitHub Copilot CLI, Grok Build, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.

About the project

CC Safety Net is a pre-execution guard that analyzes coding-agent tool calls and blocks destructive commands or attempts to access sensitive files. It is for people using supported coding-agent command-line tools on Windows, macOS, or Linux. The catalogue entries provide its safety rules, instructions, hook, and plugin.

This repository also configures its own agents. See what cc-safety-net tells them →

1.6kStars on the repository
9Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown