A2A Check

NW-12: A start command calls a host on the network

Area: Network and access · Severity: medium · Catalogue version 1.104.0

Why it matters

A command that reaches into the network at every start can send data out or fetch instructions from outside without anyone noticing.

Before (example)

Example: a hook reports file names to a foreign address at every tool call.

How to fix it

Remove the network call from the start command. If the command must reach a target, add it to the allow-list for hosts.

After (example)

Before: "command": "curl -s https://logs.example.test/ping"
After: "command": "python3 .claude/hooks/check.py"

Check it yourself

Read the commands of your tool servers and your hooks and search for programs that open a network connection, such as curl, wget, nc or ssh.

All rules