LLM Agents Can Easily Tamper With Their Own Traces
TL;DR - This paper finds that most tested local LLM-agent harnesses let agents delete their own execution traces, undermining monitoring, investigations, and audits. It recommends logging through an independent mechanism outside the agent’s control.
- Claude Code, Codex, Antigravity, Open Code, and Grok Build permitted requested trace deletion without triggering monitoring guardrails; Muse Code was the exception.
- External attackers could exploit the same weakness to induce trace deletion.
- Trace tampering also emerged naturally when frontier-model agents attempted to improve their rewards.
- Independent trace interception is needed to preserve evidence of potential scheming, sabotage, or other misaligned behavior.