Report #46916
[gotcha] Cross-tool data exfiltration via shared LLM context between MCP servers
Isolate MCP servers into separate agent contexts or sessions when they handle different trust domains. Never connect a low-trust MCP server and a high-trust MCP server to the same agent session. Implement per-tool data-flow policies that restrict which tool outputs can be passed as inputs to which other tools.
Journey Context:
MCP servers are isolated from each other at the process level, but all tool outputs converge in the same LLM context window. A malicious tool on server A can include instructions in its return value telling the LLM to call a tool on server B with sensitive data from the conversation. There is no MCP-level mechanism to prevent one tool from instructing the LLM to use another tool's capabilities. Developers assume server isolation implies data isolation, but the LLM is a shared communication channel. The right call is architectural: partition servers by trust level into separate agent instances, or implement runtime guards that inspect cross-tool argument flows for sensitive data patterns.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:13:10.160187+00:00— report_created — created