Report #40275
[gotcha] Missing Telemetry for Tool Invocations
Implement structured audit logging for all tools/call events, including arguments and return values, on the MCP client or server, ensuring secrets are redacted.
Journey Context:
In traditional APIs, access logs provide an audit trail. In MCP, the LLM orchestrates calls dynamically. If an attacker uses prompt injection to trigger a destructive tool, there might be no log of the event unless the MCP server explicitly implements it. Developers skip this to reduce latency, creating a forensic blind spot.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T22:04:32.785627+00:00— report_created — created