Skip to content

LLM Agents Can Easily Tamper With Their Own Traces

Sep 2026 · 0 citations · 26 references
Computer Science

TL;DR

This work identifies a concrete failure of trace integrity in agent infrastructure which can be used to conceal misaligned behaviors like scheming or sabotage, and advises practitioners to ensure trace logging happens through an independent interception mechanism outside of the agent's control, preserving trace integrity even in cases of full host compromise.

Abstract

Asynchronous monitoring, incident investigations, and compliance audits primarily rely on agent traces to reconstruct what happened. These analyses assume that LLM agents cannot tamper with their own execution traces. We show that local LLM agents such as Claude Code, Codex, Antigravity, Open Code and Grok Build fail to enforce this boundary. All tested harnesses, except Muse Code, allowed agents to delete their traces when asked, without triggering monitor guardrails. We also validate that external attackers can exploit this gap to induce trace deletion. Finally, we show that trace tampering behavior emerges naturally in frontier models, when agents try to improve their rewards. We advise practitioners to ensure trace logging happens through an independent interception mechanism outside of the agent's control, preserving trace integrity even in cases of full host compromise. Overall, our findings identify a concrete failure of trace integrity in agent infrastructure which can be used to conceal misaligned behaviors like scheming or sabotage.

View source

Similar papers

Preprint Sep 2026

Tracekit: Tamper-Evident Intent-Reasoning-Action Auditing for AI Agents

This work presents Tracekit (open source, MIT, version 1.4.1), which turns each agent run into evidence a third party can check offline, which turns each agent run into evidence a third party can check offline.

Bravish Ghosh · 2 citations
#artificial intelligence Preprint Sep 2026

Who Is Behind the Harness? Fingerprinting LLMs through Agentic Behavior

This work presents LIDAR (LLM Identification from Decisions and Actions at Runtime), an active black-box fingerprinting method for coding-agent execution that achieves high Top-1 accuracy and MRR and outperforms four existing fingerprinting and API-auditing baselines.

Chu-Yi Wang, Xiao-Hui Xie, Tong-Ze Wang et al. · 2 citations · ⚡1
#artificial intelligence Review Sep 2026

ASLEval: Measuring Privacy Exposure Displacement in LLM Agent Sessions

Privacy exposure displacement, the mismatch between a local evaluation proxy and target-grounded session exposure, and ASLEval, an authorization-aware framework that pre-registers a hidden target set, measures all declared visible exits, and reserves internal traces for diagnosis are introduced.

Guo-Xin Wu, Hui-Zhen Huang, Guo-Xiong Long et al. · 0 citations
#artificial intelligence Preprint Oct 2026

AgentPrivArena: Evaluating and Auditing Real-world AI Agent Privacy

The rapid advancement of LLM agents has enabled systems to autonomously perform complex tasks through external tools, but their growing access to personal data introduces significant privacy risks. Existing benchmarks primarily evaluate LLM agent privacy through simulated trajectories and outcome-based metrics, limitin...

Shou-Ju Wang, Hao-Peng Zhang · 0 citations
#artificial intelligence Preprint Oct 2026

CredLeakBench: Evaluating Credential Leakage and Recovery in LLM Agents

Language model agents are increasingly deployed to automate everyday digital chores from managing emails and social media to handling banking and bills allowing users to step away from supervision. However, this capability also exposes sensitive information to phishing. Safe execution requires distinguishing malicious...

Rafid Ahmed, Joseph Fioresi, Mubarak Shah et al. · 0 citations
Preprint Oct 2026

Can CaMeLs Talk? Securing Multi-Agent Systems Against Indirect Prompt Injection Attacks

This work constructs a concrete prompt-injection attack that succeeds despite all constituent agents individually operating CaMeL, and introduces multi-CaMeL, an agent-to-agent communication protocol that preserves provenance across agent boundaries by separating trusted natural-language instructions from untrusted dat...

James Peters-Gill, Avi Semler, Henning Bartsch et al. · 3 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.