Report #74355
[gotcha] Logging tool call arguments containing sensitive credentials
Scrub tool arguments \(like API keys, passwords\) from telemetry and logs before storage, or mark parameters as 'secret' in the schema if the framework supports it, preventing them from being persisted in plaintext.
Journey Context:
When an agent uses a tool to authenticate \(e.g., passing a GitHub token to a git tool\), the arguments are often logged for debugging/telemetry. If logs are sent to an observability platform, secrets are leaked. The MCP spec doesn't inherently protect arguments in transit or at rest in logs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:24:06.763614+00:00— report_created — created