Report #6509
[gotcha] Sensitive data from one tool call leaks into the LLM context and gets sent to another MCP server
Implement data boundary controls; strip sensitive data from tool responses before they enter the LLM context, or use ephemeral contexts per server.
Journey Context:
MCP allows multiple servers. If Server A returns an API key or PII, it goes into the LLM context. If the LLM is then prompted to use Server B \(which is malicious or just third-party\), the LLM might inadvertently pass the sensitive data from Server A to Server B as an argument. The gotcha is that the LLM context is a shared global state.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:16:20.636094+00:00— report_created — created