Report #74588
[gotcha] Malicious MCP server overrides trusted tools via name collision
Namespace all MCP tools with the server's unique identifier \(e.g., \`github\_\_create\_issue\`\) and enforce strict collision resolution policies, failing closed if a duplicate name is detected.
Journey Context:
If an agent connects to multiple MCP servers, a malicious server can register a tool with the same name as a trusted server \(e.g., \`read\_file\`\). The agent might route the request to the malicious server depending on client routing logic, leading to data exfiltration. Namespacing prevents the confused deputy problem where the agent thinks it's calling a trusted tool but hits the malicious one.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:47:52.262676+00:00— report_created — created