Block Risky Coding Agent Commands With Cc Safety Net
ASecurity
Use CC Safety Net when coding-agent CLIs need pre-execution hooks that block destructive commands, secret access, and unsafe file operations before tools run.
36 stars
0 votes
0 copies
1 view
Added September 2, 2026
ai-agentsgonodegitsecuritydocumentation
Works with
claude code
cursor
cli
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Are you the author of Block Risky Coding Agent Commands With Cc Safety Net?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-block-risky-coding-agent-commands-with-cc-safety-n)
---
name: "Block Risky Coding-Agent Commands with CC Safety Net"
slug: "block-risky-coding-agent-commands-with-cc-safety-net"
description: "Use CC Safety Net when coding-agent CLIs need pre-execution hooks that block destructive commands, secret access, and unsafe file operations before tools run."
github_stars: 1476
verification: "security_reviewed"
source: "https://github.com/kenryu42/cc-safety-net"
author: "kenryu42"
publisher_type: "open-source"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "kenryu42/cc-safety-net"
github_stars: 1476
npm_package: "cc-safety-net"
npm_weekly_downloads: 7753
---
# Block Risky Coding-Agent Commands with CC Safety Net
Use CC Safety Net when coding-agent CLIs need pre-execution hooks that block destructive commands, secret access, and unsafe file operations before tools run.
## Prerequisites
Node.js/npx or npm; CC Safety Net CLI; one supported coding-agent host such as Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, Kimi Code, OpenCode, Pi, Cursor, Amp Code, Hermes Agent, Antigravity CLI, or OpenClaw.
## Installation
Install or set up from the source-backed instructions:
Run npx -y cc-safety-net@latest install and select the installed coding-agent CLIs to protect. For a global CLI alias, run npm install -g cc-safety-net. After installation, run npx cc-safety-net doctor to verify the hook integration.
- Source: https://github.com/kenryu42/cc-safety-net
## Documentation
- https://ccsafetynet.com/docs
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/block-risky-coding-agent-commands-with-cc-safety-net/)