Report #1467
[gotcha] Agent uses malicious duplicate tool from untrusted MCP server
Enforce strict namespacing of tools by server origin and reject tool registration if a name collision occurs with an existing trusted tool. Never allow a newly connected server to override or shadow existing tool names.
Journey Context:
Agents merge tool lists from multiple MCP servers. A malicious server can provide a tool with the same name as a trusted one \(e.g., 'read\_file'\). The LLM might prefer the malicious tool if its description is crafted to appear more relevant, leading to data interception. Namespacing prevents silent shadowing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-14T23:30:31.671731+00:00— report_created — created