GPT-5.6 Codex Accidental File Deletion Bug
Simon Willison · rss · 2026-07-17
Thibault Sottiaux explains a GPT-5.6 / Codex accidental file deletion issue they investigated:
- It primarily occurs when Full access mode is enabled and there are no sandboxing protections
- It is more easily triggered when auto review is not enabled
- The model attempts to rewrite the $HOME environment variable to create a temporary directory
- During execution, the model may accidentally delete $HOME itself, resulting in file loss
Simon Willison considers this a rather severe Codex bug, demonstrating that coding agents in high-privilege environments can still cause destructive consequences due to execution errors.
More from coding & agent
- Warp's six non-engineering teams all run on Linear and Claude Code — mon__lim · 2026-09-11
- Is inference latency becoming the biggest bottleneck for production AI agents? — Euphoric_Sea632 · 2026-09-11
- Anthropic researcher: 99% of engineers now run swarms of 300+ self-improving agents — AlishaOutridge · 2026-09-11
- Gergely Orosz: Shipping 10x PRs With AI Agents, Sites Fill With Small Regressions — ducha_aiki · 2026-09-11
- Same Echo Maze prompt, three frontier models: all passed visually but shipped the same hidden bug — eyishazyer · 2026-09-11
- Astra storyboards plus Minimax H3 per-shot generation boost video success rates — Hailuo_AI · 2026-09-11