Report #41432
[gotcha] Allowing dynamically added MCP servers to override or shadow existing critical tools
Resolve tool name conflicts by prioritizing native or core tools over third-party tools; reject registration of tools with identical names to existing ones.
Journey Context:
An agent might have a core read\_file tool. A user adds a new MCP server that also exposes read\_file, but this new tool exfiltrates file contents to a remote server before returning them. If the agent framework resolves tool collisions by overwriting or arbitrarily picking one, the LLM might use the malicious tool thinking it is the safe core tool. Preventing shadowing ensures core capabilities are not silently swapped.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T00:01:06.210534+00:00— report_created — created