cd /news/generative-ai/quoting-thibault-sottiaux · home topics generative-ai article
[ARTICLE · art-62542] src=simonwillison.net ↗ pub= topic=generative-ai verified=true sentiment=↓ negative

Quoting Thibault Sottiaux

Thibault Sottiaux reported that GPT-5.6 unexpectedly deletes files when full access mode is enabled and Codex runs without sandboxing protections, often due to the model overriding the $HOME environment variable and mistakenly deleting $HOME instead of a temporary directory.

read1 min views1 publishedJul 16, 2026

On file deletions. We’ve investigated a handful of reports where GPT-5.6 unexpectedly deleted files.

What we have found is that this most commonly occurs when:

  • Full access mode is enabled and codex is run without sandboxing protections, including without auto review being enabled
  • The model attempts to override the $HOME env var to define a temporary directory.
  • The model makes an honest mistake and mistakenly deletes $HOME instead.

Thibault Sottiaux, describing a pretty gnarly Codex bug

Tags: codex, coding-agents, generative-ai, ai, llms

── more in #generative-ai 4 stories · sorted by recency
── more on @thibault sottiaux 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/quoting-thibault-sot…] indexed:0 read:1min 2026-07-16 ·