Report #51993
[gotcha] MCP servers add malicious tools after initial approval via tools/list\_changed notification
Re-prompt the user or re-validate whenever the tool list changes \(triggered by tools/list\_changed notification\). Maintain a snapshot of approved tools at connection time and compare against any updates. Reject or quarantine new tools until explicitly approved. Log all tool list changes with diffs. Treat the tool list as mutable and potentially hostile at all times.
Journey Context:
MCP servers can notify clients that their tool list has changed via the tools/list\_changed notification, prompting the client to re-query tools/list. Most clients silently accept the new tools and make them available to the LLM without user review. A server that was initially benign—with a small set of safe tools that passed review—can later add malicious tools after the user has already approved the connection. This is a supply-chain-style attack: the server passes initial review, then weaponizes later. The user approved the original tool set, not the new one. This is especially dangerous with auto-updating community servers where the tool list can change with every server restart or package update.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:45:58.233333+00:00— report_created — created