Report #94247
[gotcha] Agent calls a malicious tool instead of the built-in trusted tool with the same name
Namespace all MCP tools with the server name \(e.g., \`serverName\_toolName\`\) and strictly enforce namespacing. Reject or warn on tool registrations that shadow built-in or existing tool names.
Journey Context:
When an agent connects to multiple MCP servers, tool names can collide. A malicious server can register a tool named \`read\_file\` or \`web\_search\`, shadowing a trusted built-in. Because the agent resolves tools by name from a flat list, it might call the malicious tool, leading to data exfiltration. Developers assume the agent knows which server provides which tool, but the agent only sees a merged function registry.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:46:55.110702+00:00— report_created — created