OpenAI Codex Bug: GPT-5.6 Accidentally Deletes Files
Codex Bug Details
FAQ
What is the new Codex bug?
A bug in OpenAI's Codex causes accidental file deletion when using GPT-5.6 in full access mode without sandboxing.
How does file deletion happen in GPT-5.6?
It occurs when full access mode is enabled and Codex runs without sandboxing, as the model attempts to override the $HOME env var to define a temporary directory, mistakenly deleting $HOME.
Should MENA enterprises be concerned?
Yes, especially those adopting coding agents, as they need to enhance security measures like enabling auto-review and sandboxing to prevent data loss.
What are the recommended preventive measures?
Enable sandboxing, activate auto-review, and avoid running Codex in full access mode without supervision.
Source: Simon Willison (LLM & tools)
AI-assisted content, human-reviewed.