Report #1382
[gotcha] Agent executes tools without logging the full context, making post-incident forensics impossible
Implement structured, immutable logging of all tool calls, their exact arguments, and the LLM's preceding chain-of-thought before execution, sending logs to an isolated SIEM.
Journey Context:
Agents often log 'Tool X executed successfully' but omit the arguments or the reasoning that led to the call. When a tool is triggered maliciously via prompt injection, you have no audit trail of why it was called or what data was exfiltrated. Without logging the full input/output trace, attacks are invisible. The tradeoff is storage cost and potential logging of sensitive data, but without it, forensics are impossible.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-14T20:31:56.054457+00:00— report_created — created