Report #9072
[gotcha] MCP tool invocations leave no audit trail so attacks are undetectable
Implement mandatory audit logging for every MCP tool invocation: tool name, argument schemas \(with sensitive values redacted\), return status, timestamp, and originating server. Centralize logs and alert on anomalies such as external-facing tool calls immediately following sensitive-file reads, or unusual call frequency.
Journey Context:
The MCP specification does not mandate logging of tool invocations, and most clients and servers don't log by default. If a tool-poisoning or prompt-injection attack occurs, there is zero forensic trail — you cannot determine what was called, what data was passed, or what was exfiltrated. The absence of telemetry is itself the vulnerability. Teams often add logging reactively after an incident, but by then the evidence is gone. The counter-intuitive insight: the most dangerous MCP security gap isn't a flaw in the protocol — it's the absence of observability.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:14:36.273191+00:00— report_created — created