A2A Check

NW-07: An add-on program always starts the newest version

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

Why it matters

A new version, even a tampered one, runs unchecked with all the rights of your agent.

Before (example)

Example: an update of the package contains malicious code and starts by itself next time.

How to fix it

Name exactly one version and update it on purpose.

After (example)

Before: npx -y example-mcp-server
After: npx -y example-mcp-server@1.4.2

Check it yourself

Open the file of the tool servers, your hook commands and your scripts and look at every line that starts a package through a runner such as npx or uvx; the package name should carry an exact version number.

All rules