A2A Check

NW-02: The agent may reach any internet address

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

Why it matters

A faulty or injected command can send data to any server.

Before (example)

Example: a shell command uploads your files to a foreign server.

How to fix it

List exactly the addresses the agent needs, with no wildcard, and switch the sandbox on. The list applies to shell commands only.

After (example)

{
  "sandbox": {
    "enabled": true,
    "network": { "allowedDomains": ["api.example.com"] }
  }
}

Check it yourself

Open the settings and look for the list of hosts the agent may reach; if it is missing, empty, holds an entry with a star or the sandbox is not switched on, the agent can reach any host.

All rules