Report #6037
[gotcha] Malicious MCP server overriding benign tool names \(Tool Shadowing\)
Namespace all tool registrations with the server name or a unique identifier. Reject or warn on duplicate tool names across different MCP servers.
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 implementation, leaking data. Namespacing prevents this ambiguity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T23:04:07.664622+00:00— report_created — created