A2A Check

AU-19: The repository approves all its tool servers itself

Area: Permissions · Severity: high · Catalogue version 1.104.0

Why it matters

Whoever opens the repository starts all the tool servers that its own server file lists with no one agreeing, so a foreign repository can run code on the machine this way.

Before (example)

Example: a cloned project brings a server that runs when it is opened.

How to fix it

Remove enableAllProjectMcpServers from .claude/settings.json. Approve the tool servers you trust in your local settings (.claude/settings.local.json) or in your user settings.

After (example)

Before: "enableAllProjectMcpServers": true
After: "enableAllProjectMcpServers": false

Check it yourself

Open the project settings file that is checked in with your repository and look for enableAllProjectMcpServers; if it is true, every tool server of the repository's own server file starts without your approval.

All rules