Quoting Thibault Sottiaux
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story. The source provided limited text, so this summary is brief.
Why it matters
OpenAI has confirmed GPT-5.6-powered Codex can delete a user's entire home directory under specific conditions, meaning developers running unsandboxed should treat autonomous file deletion as a real, documented failure mode.
OpenAI engineer Thibault Sottiaux described a bug where Codex, OpenAI's AI coding assistant powered by GPT-5.6, unexpectedly deleted users' files. The deletions happened when the tool ran without sandboxing protections and the AI tried to redefine the $HOME environment variable as a temporary directory, then accidentally deleted that home folder instead. The company found this after investigating a handful of reports. No fix, patch date or advice for affected users is included.
OpenAI has confirmed a data-loss bug in Codex, its AI coding agent: GPT-5.6 deleted users' home directories when run in full access mode without sandboxing or auto review, after the model tried to repurpose the $HOME environment variable as a temporary directory and deleted it by mistake. Teams running Codex unsandboxed face real file-deletion risk. The post offers no fix or timeline, so mitigation is enabling sandboxing now.
Thibault Sottiaux (OpenAI) attributes reported GPT-5.6-driven Codex file deletions to three conditions: full access mode without sandboxing or auto review enabled, the model attempting to override the $HOME environment variable to point at a temporary directory, and the model then mistakenly deleting $HOME itself. It is a shell-environment confusion failure, not a deliberate overwrite. The post gives no patch, version fix or workaround beyond the implied sandbox mitigation.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.
OpenGame: turn your local coding agent into a full-stack game studio
Developers with a local coding agent can now scaffold full playable 3D games, art, music, testing, publishing, instead of only refactoring code, opening a path from hobby coding to shippable mini-games.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.
n8n's open source personal agent runs on your machine and asks before it acts
Developers uneasy about cloud-based AI agents get a local, approval-gated alternative they can download today, though its research-preview status limits real reliance.