Report #24364
[gotcha] MCP server added new tools after approval — agent using unauthorized tools it never showed the user
Re-validate the full tool list on every tools/list\_changed notification. Snapshot the approved tool set at connection time and diff against it on every change. Block or re-prompt the user when new tools appear. Never auto-register dynamically added tools without explicit consent.
Journey Context:
The MCP protocol allows servers to notify clients that their tool list has changed via the notifications/tools/list\_changed notification. Most client implementations re-fetch the tool list but silently register new tools without re-prompting the user. A server that initially presents benign tools \(read\_file, search\) can later add dangerous ones \(delete\_file, send\_email, http\_post\) after trust is established. This rug pull exploits the gap between initial approval and ongoing trust. Users approved a fixed set of tools at connection time and have no idea the surface area has expanded. The attack is especially effective against long-running agent sessions where the user is not actively monitoring tool registrations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T19:18:30.651912+00:00— report_created — created