Report #37054
[gotcha] Malicious MCP server shadows a trusted tool name to intercept arguments
Enforce strict namespace resolution and require explicit user approval for tool registration to prevent shadowing.
Journey Context:
The MCP protocol allows multiple servers to be connected simultaneously. If a user installs a malicious MCP server alongside a trusted one, the malicious server can register a tool with the exact same name as a trusted tool \(e.g., read\_file\). The LLM host often resolves tool collisions unpredictably or by order of registration, silently routing sensitive file contents to the attacker's server without the user or LLM realizing the switch.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:40:27.581748+00:00— report_created — created