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.

Read this as

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

GPT-5.6 Codex OpenAI $HOME Thibault Sottiaux Simon Willison

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading