Skip to content
The Daily Repo

kenryu42 / 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, DeepSeek Harness, Devin CLI, GitHub Copilot CLI, Grok Build, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.

Why this job: topics: claude-code-plugin, dsh-plugin, claude-code, codex, cursor, opencode, codex-cli, openclaw, hermes-agent

What it does

  • Blocks destructive commands such as git reset --hard, git push --force, and rm -rf on dangerous targets, and install scripts piped from the internet (curl … | bash), even inside bash -c or python -c. See Blocked commands.
  • Blocks secret access to SSH keys, .env files, ~/.aws, and coding-CLI credentials, from the shell and from the agent's file tools. See Secret protection.
  • Tunes the policy in a GUI. Run npx cc-safety-net gui to pick the Standard, Strict, or Paranoid preset and turn rules on or off. See Dashboard.
  • Adds blocks through rulebooks. official packs for Terraform, AWS, gcloud, and Azure, or your own JSON. See Official rulebooks.
  • Shares policy through git. Commit .cc-safety-net/ so clones and cloud sessions get the same rules. See Team setup.

Get started

npx -y cc-safety-net@latest install
npx -y cc-safety-net@latest doctor
Maintenance
Active
Last commit today
Stars
1,973
+73 this week
Licence
MIT
Allows business use
Downloads for
None listed
No release files
Latest version
v2.7.8
Released today
Built with
TypeScript
98% of the code

Is it looked after?

Contributors
3
Last 90 days
Issues
98% closed
2 still open
Pull requests
205 merged
0 waiting
Releases
93
30+ in the last year

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
wshobson / agents42,338yesterdayMITNo downloads
zilliztech / memsearch2,842todayMITNo downloads
freestylefly / wesight970yesterdayMITMac, Windows
More: languages, topics and project record

Languages

  • TypeScript 98%
  • CSS 1%
  • HTML 1%
  • Shell <1%

Topics

  • claude
  • claude-code
  • claude-code-plugin
  • security
  • codex
  • pi-extension
  • ai-agents
  • ai-safety
  • codex-cli
  • coding-agent
  • cursor
  • developer-tools

Project record

  • JobAgent skills
  • StatusListed
  • Commits1,993
  • Forks92
  • Watching9
  • Stars in 28 days+370
  • CreatedDec 25, 2025
  • First seen by usNov 7, 2026
  • CheckedNov 9, 2026

Type to search.

Try