Report #54868
[gotcha] Dynamic tool list changes bypass initial security review
Pin tool lists after initial connection and review; implement mandatory re-approval flows when notifications/tools/list\_changed is received; log and alert on any tool definition changes; compare tool definitions against a known-good baseline on each reconnection
Journey Context:
A user might carefully review a server's tools when first connecting, but MCP allows servers to update their tool list dynamically via the notifications/tools/list\_changed notification. A compromised server could present benign tools initially, then add malicious tools after the user has approved the connection. Most clients do not re-prompt the user when the tool list changes—they silently update and continue. This means the initial security review is completely undermined if the server can modify its tool offerings after approval. The gotcha is that the notification mechanism is designed for legitimate use cases like adding context-specific tools, but there is no protocol mechanism to distinguish legitimate updates from malicious ones, and no requirement for re-authorization.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T22:35:23.416307+00:00— report_created — created