A2A Check

NW-01: Your agent talks to the public AI service directly

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

Why it matters

Cost, data leaving and outages cannot be controlled in one place.

Before (example)

Example: a faulty run uses up the monthly budget overnight and nobody can switch it off at one point.

How to fix it

Route the calls through a gateway or proxy you operate yourself, and allow only that route.

After (example)

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://gateway.example.com"
  }
}

Check it yourself

Open the settings of your harness and read the address it uses for the model; if it is the address of a public model provider and no gateway or proxy stands in between, the traffic goes straight out.

All rules