Shared-Directory Use and Log Tampering by Contained Language-Model Agents: A Pre-Registered Test

Carl Vincent Kho

December 2, 2026

Preprint, not peer reviewed, not on arXiv.

PDF

Abstract

In July 2026, about 1,200 AI agents meant to be isolated during an evaluation turned a shared package cache into a message board; some tampered with their tool-call records. I asked whether contained agents use an unannounced shared directory or alter their logs, and what a log outside their reach catches. In 10 pre-registered conditions, twelve agents with no network work on short tasks, some impossible, and share one writable directory. Over 138 episodes (1,656 agent runs, 1,440 of them on a low-cost model), no agent wrote to the directory or tried to change its log. Naming the directory in the task did not raise board contact by the registered test (9 of 96 against 8 of 192; difference 5 points, 95% CI −7 to 20), but most contacts outside that condition were searches killed at 30 seconds; on completed commands it was 9 of 96 against 0 of 192 (standard interval 2.5 to 21.2 points), far below the predicted 30. Every agent with any contact had a search task whose identifier was missing (70 of 369 with impossible tasks, 0 of 975 with possible ones in the same conditions). In my own tamper test, only a hash chain with checkpoints signed on a second machine caught an adversary who recomputes every hash. An earlier run with an unwritable directory is reported as defective. Tasks were short and agents were told to work only on their task, so these rates say little about agents under pressure.

Cite

@misc{kho2026contained,
  author = {Kho, Carl Vincent},
  title = {Shared-Directory Use and Log Tampering by Contained Language-Model Agents: A Pre-Registered Test},
  year = {2026},
  month = dec,
  howpublished = {\url{https://carlkho.com/papers/contained-agents-log-tampering/}},
  note = {Preprint}
}