cc-safety-net
pre-execution guard that blocks destructive Git and file commands from AI agents
cc-safety-net is a guard for developers who run AI coding agents in their terminal or editor. It checks each tool call before it runs and blocks destructive Git and file system commands, along with common attempts to read sensitive files.
The guard works with a long list of agents, including Claude Code, Codex, Cursor, GitHub Copilot CLI and OpenCode. The source code is public under the MIT license, so it can be read, changed and reused. The project is listed on GitHub and has its own website.
Alternatives to cc-safety-net
Products that do a similar job in Developer Tools.
Paseo
Desktop and mobile app for running several coding agents at once
loop-engineering
Patterns and CLI tools for designing loops that drive AI coding agents
gentle-ai
Setup tool that configures AI coding agents with memory, skills and MCP servers
ccpm
Project management skills for coding agents using GitHub Issues and worktrees
destructive_command_guard
Rust hook that blocks destructive shell and git commands from AI agents
graphify
Turns codebases and docs into a queryable knowledge graph for AI coding agents
archify
Diagrams and one-page answers from a plan or codebase, for coding agents
rtk
Command-line proxy that trims dev command output before it reaches an LLM