cc-safety-net (safety net hook)
A guard hook that blocks destructive commands such as git reset --hard or rm -rf and access to secrets like .env or SSH keys before they run.
- Kind
- Setup
- Works with
- Claude Code
- Source
- Workflows and tools for Claude Code @ 695f3ca78d53
- Path
- items/cc-safety-net
- Jobs
- Automation
- Topics
- Guardrails & permissions
- Tags
- link-only
Credit
- Made by
- kenryu42
- Original
- github.com/kenryu42/cc-safety-net
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallInstall it by hand, following the source.
npx -y cc-safety-net@latest install
Install factsScanned 2 Nov 2026
- Adds
- Settings to merge into .claude/settings.json
- Runs scripts
- None found
- Uses the network
- None found
- Needs secrets
- None found
- Source revision
- 695f3ca78d53
- Licence
- Unknown
- Last activity
- Unknown
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
- The source states no licence
- The source's last activity is not known yet
# cc-safety-net (safety net hook) A guard hook that blocks destructive commands such as git reset --hard or rm -rf and access to secrets like .env or SSH keys before they run. Install with npx, then run the doctor command to confirm it works. Has Standard, Strict and Paranoid presets and a GUI. Needs Node.js 22 or newer. About 1,884 stars; last pushed 2026-11-02. URL: https://github.com/kenryu42/cc-safety-net