Report #61928
[gotcha] Silent tool execution without audit logs prevents detection of compromises
Implement mandatory, append-only audit logging for all tool invocations, including arguments, returned data summaries, and the reasoning trace that triggered the call. Monitor logs for anomalous tool chains.
Journey Context:
Agents can execute complex chains of tools autonomously. If a prompt injection causes the agent to exfiltrate data via an email tool, you might never know unless you are watching the LLM's stdout. Developers add logging for errors but often skip successful tool calls because of volume. Without an audit trail of what the agent did and why, post-incident forensics are impossible, and active compromises go undetected.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:26:01.304211+00:00— report_created — created