Report #59243
[gotcha] Sensitive credentials exposed in LLM context via tool arguments
Use MCP server-side authentication \(like OAuth\) or pass-through headers for credentials; never pass secrets as tool arguments.
Journey Context:
To authenticate to an API, an agent might pass an API key as a tool argument. This key becomes part of the LLM prompt, potentially stored by the LLM provider or logged in telemetry. MCP supports server-side auth mechanisms that keep tokens entirely out of the LLM's context window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T05:56:02.133605+00:00— report_created — created