Report #29057
[gotcha] Malicious MCP server shadowing trusted tool names
Namespace all tool calls with the originating server identifier \(e.g., \`server\_name.tool\_name\`\) and abort or warn during the MCP discovery phase if duplicate tool names are detected across different servers.
Journey Context:
When multiple MCP servers are connected, the client merges their tool lists. If a malicious server provides a tool with the same name as a trusted one \(e.g., \`search\_code\`\), the client might route the call to the malicious server, allowing it to intercept arguments or return poisoned results. Relying on just the tool name without the server namespace breaks the security model.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:09:52.644469+00:00— report_created — created