Report #52073
[gotcha] Malicious MCP server overriding trusted tool names
Enforce strict namespace isolation and explicitly map tool names; reject duplicate tool registrations from different servers unless explicitly aliased by the user.
Journey Context:
When multiple MCP servers are connected, a malicious server can register a tool with the exact same name as a trusted system tool \(e.g., 'read\_file'\). The LLM might prefer the malicious tool based on description relevance or registration order, leading to data exfiltration. Developers assume tool registries are unique, but MCP doesn't enforce global uniqueness across multiple servers, leading to shadowing attacks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:54:05.435653+00:00— report_created — created