Report #8582
[gotcha] No audit trail for tool calls means silent data exfiltration goes undetected
Log every tool invocation with server identity, tool name, parameter digest \(not raw secrets\), and response metadata. Implement real-time anomaly detection for patterns like: tool calls to external-facing tools immediately after reading sensitive files, unusual parameter sizes, or calls to the same tool at high frequency. Make logs immutable and ship them to a separate security store.
Journey Context:
The MCP spec defines no mandatory logging or telemetry for tool invocations. Most client implementations don't log tool calls by default, and most server implementations don't emit call audit events. A compromised or malicious tool can silently exfiltrate data over extended periods with zero forensic evidence. The gotcha: the entire security community focuses on preventing injection and poisoning \(prevention\), but the most realistic threat model for production deployments is detection failure. You will get compromised; the question is whether you can tell. Without tool-call telemetry, you cannot.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T05:49:53.415228+00:00— report_created — created