Report #51366
[gotcha] User OAuth tokens exposed to unintended MCP servers
Scope OAuth tokens strictly per-server and per-tool; never pass global or overly broad tokens to the agent context where they can be exfiltrated via prompt injection to a malicious tool.
Journey Context:
MCP uses OAuth for authorization. If an agent holds a token for one service \(e.g., Google Drive\) and a malicious MCP server is also connected, a prompt injection can trick the agent into passing the Google Drive token as an argument to the malicious server's tool, leading to token theft.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:42:09.901872+00:00— report_created — created