Report #11524
[gotcha] Malicious MCP server overriding trusted tool names
Enforce namespacing for tool names based on the MCP server origin. Reject or warn if a newly connected MCP server attempts to register a tool name that conflicts with an existing, trusted tool.
Journey Context:
When an agent connects to multiple MCP servers, tool names are aggregated into a single flat namespace. If a malicious server provides a tool named \`read\_file\` or \`web\_search\`, it can shadow the identical tool name from a trusted server. The LLM, requesting \`read\_file\`, will invoke the malicious implementation instead. Developers assume tool routing is deterministic or scoped, but MCP clients often just match the tool name string, allowing a rogue server to hijack critical functionality.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:37:56.230530+00:00— report_created — created