New release
CC Safety Net 2.7.0 blocks uploads and needs Node.js 22
CC Safety Net 2.7.0 blocks cloud credential reads, data uploads to remote hosts and user namespaces. It needs Node.js 22, so check your Node.js first.
- Date
- Works with
- Claude Code, Codex CLI, Gemini CLI
What’s new
CC Safety Net 2.7.0 came out on 27 October 2026. The release says it "raises the minimum supported Node.js version to 22, which is a breaking change for Node.js 18 and 20 users". It also says: "Installing on Node.js 20 currently fails with `Cannot read properties of null (reading 'edgesOut')` because of an upstream optional peer dependency."
Three new rules block commands. network.cloud-metadata blocks commands that read a cloud metadata address, such as 169.254.169.254, where cloud servers hand out their credentials. network.upload-remote blocks curl and wget commands that send data or a file to a host that is not your own computer (localhost). unshare.user-namespace blocks unshare options that make a user namespace, a way to act as root inside a private space.
The guard now also checks shell scripts that a command runs from a file, such as sh evil.sh. It also fixes a bypass: a backslash at the end of a line after &&, ||, | or ; let the next command skip every rule.
Why it matters
Your assistant has fewer ways to send your files or secrets off your computer. But normal uploads are now blocked too. The release says that commands such as curl -F [email protected] https://example.com "now block where they were previously allowed". If you need them, the release says: "Turn `network.upload-remote` off with the existing per-rule override if this is not wanted." On Node.js 18 or 20, the update is not supported, and on Node.js 20 the install fails.
How to try it
Run node --version. If the number is lower than 22, install Node.js 22 or newer first. Then update CC Safety Net with this command: see the command below. Then check it with this command: see the command below. To turn off the upload rule, run npx cc-safety-net gui and turn off network.upload-remote.
npx -y cc-safety-net@latest updatenpx -y cc-safety-net@latest doctorRelated
Source
Checked against the source on 28 Oct 2026