← Back to list

cc-safety-net

Claude CodeCodex Development & Runtime Low risk

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

Claude Code git clone https://github.com/kenryu42/claude-code-safety-net ~/.claude/skills/claude-code-safety-net
Codex 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

68 Tool quality · Based on stars, downloads, maintenance, security and docs
– User interest · Adjusted by in-site views, install copies and download clicks
68 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
1.6K
mo. downloads
25.2K
Last push
2026-09-24
Created
2025-12-25

Links

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

MCP Server
Score100

langfuse

langfuse/langfuse

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

☆ 35.0K ↓ 6.7M Development & Runtime ↗
Claude Code
Score92

claude-code-templates

davila7/claude-code-templates

CLI tool for configuring and monitoring Claude Code

☆ 31.7K ↓ 10.7K Development & Runtime ↗
MCP Server
Score86

semiotic

nteract/semiotic

React data visualization library for streaming, networks, and AI-assisted development

☆ 2.7K ↓ 25.0K Development & Runtime ↗
DeepSeek Harness Featured
Score84

dsh-desktop

dataelement/dsh-desktop

DSHDesktop:DeepSeek Harness Desktop / DeepSeek Harness 桌面版

☆ 9.1K ↓ 930 Development & Runtime ↗