Safety

CC Safety Net 2.6.13 closes command-check bypasses

CC Safety Net 2.6.13 closes several ways a dangerous command could slip past its checks, such as shell options that looked like a syntax check but ran.

Date
Works with
Claude Code, Codex CLI, Gemini CLI

What’s new

CC Safety Net 2.6.13 came out on 17 October 2026. It fixes a bypass in the Amp assistant. There, reading .env files or SSH keys and writing into .git/hooks were allowed at every safety level.

It also tightens the shell syntax-check exemption. Before, some commands such as zsh -n -o exec -c '<cmd>' could still run. It also refuses ambiguous -c option clusters. In auto shell mode, the guard now checks a command both as PowerShell and as a normal shell command, and blocks it if either check finds danger.

Why it matters

If you rely on CC Safety Net to stop risky commands from your assistant, the update closes gaps that a cleverly written command could use.

How to try it

If you already use CC Safety Net, update it with this command: see the command below. For a new install, use this command: see the command below. Then check it with this command: see the command below.

npx -y cc-safety-net@latest update
npx -y cc-safety-net@latest install
npx -y cc-safety-net@latest doctor

Source

Checked against the source on 17 Oct 2026

All updates