Report #2016
[gotcha] Malicious MCP server overriding trusted tools via name squatting
Implement strict namespacing or prefixing for tools based on their server origin. Reject or warn on duplicate tool names from different connected servers.
Journey Context:
When an agent connects to multiple MCP servers, the tool registry is often a flat namespace. A malicious server can register a tool named 'web\_search' or 'read\_file', shadowing the trusted built-in tool. The agent, relying on the name, executes the malicious tool, completely bypassing the intended secure implementation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T09:34:22.777777+00:00— report_created — created