Skip to content
EventMonitoring

cc-safety-net tested to block destructive commands and key reads

1 reports1 reporting sourcesplus 1 outlets covering itLatest report

Start here

AI overview

The open-source tool cc-safety-net parses commands locally before a coding agent executes them, blocking destructive operations and reads of key files; its judgment process does not call a model, and it has been integrated into the tool-call hooks of 16 coding CLIs including Claude Code. Jumang Security Lab tested ten groups of commands: git reset --hard, reading SSH private keys, and curl pipe execution were all blocked; git push --force was blocked while --force-with-lease was allowed. Policies come in three levels—standard, strict, and paranoid; 10 catastrophic rules cannot be disabled at any level, and key protection is in effect at all levels, covering .env, SSH private keys, ~/.aws, and others. The tool's self-described boundaries include: it is not a sandbox, it does not read inside scripts, flock wrappers are not expanded, and it allows execution when some hosts crash; its threat model is a well-intentioned but error-prone agent, not a malicious attacker.

Generated by AI from reports · Updated 2 days ago

Attention and developments

Attention, hourly

Now 40, -2% in 24 hours·Peak 44 (Nov 27 20:00)

Nov 28Nov 29Now 40

Progress timeline

Nov 27
  1. WeChat · Goumang Security LabSelected
    cc-safety-net hands-on test: blocks rm -rf, stops .env reads, a 2107-star open-source coding agent safety gate

    The Jumang Security Lab tested the open-source tool cc-safety-net hands-on: it locally parses coding agents' commands before execution, intercepts destructive operations and reads of key files, and makes judgments without calling a model. The tool plugs into the tool-call hooks of 16 coding CLIs including Claude Code. The author tested ten sets of commands; git reset --hard, cat ~/.ssh/id_rsa, and curl piped execution were all blocked, and git push --force was blocked while --force-with-lease was allowed. Policies come in three levels—standard, strict, and paranoid—and the 10 catastrophic rules cannot be turned off at any level; key protection is active at every level, covering .env, SSH private keys, ~/.aws, and more. The article also sorts through the ten boundaries the tool itself acknowledges: it is not a sandbox, it does not read inside scripts, flock wrappers are not expanded, and it allows execution when some hosts crash; the threat model is a well-intentioned but error-prone agent, not a malicious attacker.

Related discussion

Total 1 items

Attention trend

New sources per day

2 in 3 days·most 2 (Nov 27)·today 0

  • Nov 27: 2 new sources (2 outlets, 0 accounts)
  • Nov 28: 0 new sources (0 outlets, 0 accounts)
  • Nov 29: 0 new sources (0 outlets, 0 accounts)

Hourly attention

Current attention 40·Peak in the comparable period 44 (Nov 27 20:00)·Change over the comparable past 24 hours -2%

0204060Nov 2720:00Nov 2812:00Nov 2904:00Nov 2920:00