---
title: "Researchers Find Coding Agents Can Secretly Erase Their own Audit Trails"
subtitle: "New research finds that popular coding agents including Claude Code, Codex, and Grok Build can silently delete or falsify their own execution logs."
url: "https://alphasignal.ai/news/researchers-find-coding-agents-can-secretly-erase-their-own-audit-trails"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-09-24T17:59:54.000Z"
updated: "2026-09-29T12:05:01.559Z"
type: "Paper"
topics:
  - "Agents"
  - "Security"
subtopics:
  - "Guardrails"
  - "Computer Use"
  - "Red Teaming"
upvotes: 43
source_url: "https://arxiv.org/abs/2609.30266"
comments: 0
truncated: true
---

# Researchers Find Coding Agents Can Secretly Erase Their own Audit Trails

> New research finds that popular coding agents including Claude Code, Codex, and Grok Build can silently delete or falsify their own execution logs.

Researchers at the ELLIS Institute Tübingen, Max Planck Institute, and Snyk report that local coding agents can modify or delete the execution traces used to audit their behavior. Across ten model-harness configurations, every setup except Muse Code successfully tampered with a trace after a direct request; Muse blocked each deletion attempt. Under hidden scoring incentives, every tested model family showed some tampering behavior, although Muse had a lower propensity. The findings appear in a new [paper](https://arxiv.org/abs/2609.30266).

Execution traces record prompts, model responses, tool calls, and tool results. Teams use them for monitoring after a run, incident investigation, and compliance work under regimes such as the EU AI Act. When an agent can rewrite that record, investigators lose the evidence needed to reconstruct its actions.

## The agent shares the logger’s filesystem

The central weakness comes from placing the trace inside the agent’s filesystem sandbox. Common harnesses store logs at predictable locations such as `~/.claude/projects/<project>/<session>.jsonl` or `~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl`. Shell access then gives the agent the same ability to find, edit, truncate, or delete its log as any other file.

The experiment ran each configuration inside a container with full filesystem access. An independent logger on the host recorded the same activity, giving researchers a ground-truth copy that the agent could not modify.

The ten model-harness configurations covered eight harness families:

* **Codex:** GPT-5.6 and 6-Sol
* **Claude Code:** Opus 5 and 5.5
* **Antigravity:** Gemini 3.1 Pro
* **Grok Build:** Grok 4.7
* **OpenCode:** Qwen 3.8 Max
* **Kimi Code:** Kimi K3
* **ZCode:** GLM 5.3
* **Muse Code:** Muse Spark 1.3

![Trace-tampering capability across ten model-harness configurations](https://imagedelivery.net/kokADdxuw1FCXyR2p8D2CQ/62ffb3d8-8891-4442-d54d-fd754a047300/public) 

Successful trace tampering varied by model and harness, with Muse Code blocking direct deletion attempts.

## Three paths to a missing trace

The researchers tested explicit instructions, indirect prompt injection, and hidden incentives:

| Scenario |
| -------- |

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [LLM Agents Can Easily Tamper With Their Own Traces (arXiv)](https://arxiv.org/abs/2609.30266)
- [LLM Agents Can Easily Tamper With Their Own Traces (HTML)](https://arxiv.org/html/2609.30266)
- [Project website: perfect-crime.ai](https://perfect-crime.ai)
