NW-08: An add-on program, an open network boundary and a free pass for commands together make an exit for data
Area: Network and access · Severity: high · Catalogue version 1.104.0
Why it matters
If an add-on program may run commands without asking and nothing limits network access, data can leave unnoticed.
Before (example)
Example: an injected web page makes the agent send your files to a foreign server.
How to fix it
Replace the allow entry for every command or for a whole add-on program with entries for single commands or tools, or remove the add-on program. The egress allow-list does not limit an add-on program, because it runs outside the sandbox. To limit the network, run Claude Code itself in a container or a virtual machine with an allow-list.
After (example)
{
"permissions": {
"allow": ["mcp__calendar__list_events"]
}
}Check it yourself
Open the settings and the file of the tool servers and check whether a server is declared, the list of allowed hosts is missing or open, and shell commands are allowed, because then data can leave through the shell.