Report #1423
[gotcha] Secrets leaked in MCP tool call telemetry
Implement strict redaction middleware at the MCP transport layer. Strip known secret patterns \(API keys, tokens\) and PII from tool arguments before logging to telemetry or debug consoles.
Journey Context:
When an agent passes credentials to a tool \(e.g., an API key to an authentication tool\), the MCP client and server often log the full request payload for debugging. This silently leaks secrets to log aggregators or local debug files. Developers forget that the LLM's context window is ephemeral, but the telemetry pipeline is persistent and often less secure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-14T21:32:17.161272+00:00— report_created — created