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, Gemini CLI, GitHub Copilot CLI, Grok Build, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.
AI编码代理护栏——一个CLI钩子,在执行前阻止破坏性的git和文件系统命令以及秘密文件访问。支持Amp Code、Antigravity CLI、Claude Code、Codex、Copilot CLI、Cursor、Gemini CLI、Hermes Agent、Kimi Code、OpenClaw、OpenCode和Pi。
How to install
git clone https://github.com/kenryu42/claude-code-safety-net ~/.claude/skills/claude-code-safety-net npx -y cc-safety-net About
**English** · 简体中文 · 日本語 CC Safety Net — short for **Coding CLI** Safety Net — is a PreToolUse hook that blocks destructive commands and access to secrets like SSH keys and .env files, before AI coding agents run them. It parses command **semantics**, so flag reordering, shell wrappers, and interpreter one-liners can't bypass it. [!NOTE] **Full documentation →** — installation, configuration, reference, guides, and the security model live on the docs site. This README is the short version. Why this exists We learned the hard way that instructions aren't enough to keep AI agents in check. After…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 1.6K
- mo. downloads
- 25.2K
- Last push
- 2026-09-24
- Created
- 2025-12-25
Basic safety check
- Findings
- None
- Sources
- curated:hesreallyhim/awesome-claude-code
- Topics
- ai-agents, ai-safety, antigravity, claude, claude-code, claude-code-plugin, cli, codex, codex-cli, coding-agent, cursor, developer-tools, gemini-cli, guardrails, hermes-agent, hooks, openclaw, opencode, pi-extension, security
Related plugins
langfuse
langfuse/langfuse
🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
claude-code-templates
davila7/claude-code-templates
CLI tool for configuring and monitoring Claude Code
semiotic
nteract/semiotic
React data visualization library for streaming, networks, and AI-assisted development
dsh-desktop
dataelement/dsh-desktop
DSHDesktop:DeepSeek Harness Desktop / DeepSeek Harness 桌面版