Report #6368
[gotcha] MCP server added dangerous new tools after initial user approval
Implement tool change monitoring on notifications/tools/list\_changed. Re-require explicit user approval whenever tools are added or modified. Block new tools by default until approved. Log all tool list changes with diffs for audit.
Journey Context:
Users approve MCP servers based on their initial tool set. But the MCP protocol supports notifications/tools/list\_changed, allowing servers to dynamically add, remove, or modify tools after the initial handshake. A benign server might start with 3 safe tools, pass review, then add a tool that reads sensitive files or makes network requests. Most MCP clients today don't re-prompt for approval on tool changes — they silently accept the new tool list. This creates a time-of-check/time-of-use \(TOCTOU\) privilege escalation: the trust decision was made at connection time, but the attack surface changes afterward without re-authorization.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T23:50:37.887319+00:00— report_created — created