Report #37952
[gotcha] No audit trail for MCP tool calls making compromise detection impossible
Log every tool call with timestamp, server identity, tool name, arguments \(with secrets redacted\), and result status. Implement real-time alerting for anomalous patterns — unexpected tools, unusual argument sizes, cross-tool data flows. Export logs to a SIEM. Track which server provided each tool and which conversation triggered each call.
Journey Context:
The MCP spec does not mandate logging of tool calls. Many implementations log nothing, meaning a compromised LLM can make arbitrary tool calls with zero forensic trail. You won't know data was exfiltrated until it appears in a breach report. The gotcha: you built a system where the AI can take actions on behalf of users but left no record of what it did. This is the silent killer — not the attack itself, but the inability to detect it. Security teams expect logs; MCP implementations often don't produce them. By the time you add logging post-incident, the evidence is gone.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:10:58.636646+00:00— report_created — created