OpenAI Patches Codex After GPT-5.6 Deleted User Home Directories, Limits Full Access
Products44d agoThe company added multiple layers of protection to the Codex coding assistant to stop its GPT-5.6 model from performing destructive actions beyond user requests. Failures occurred when the model used system environment variables such as $HOME for temporary work, causing malformed cleanup commands to target the user's actual home directory instead of a temporary folder. OpenAI also identified instances where the model overwrote temporary paths without verifying the existing files before deletion.
To mitigate the risk, OpenAI restricted the Full access permission setting and updated its Auto-review system to identify and escalate high-risk deletion commands for manual review. The company is now converting these real-world failures into reinforcement-learning tasks and graders to train the model against similar errors. Users are urged to employ the Ask for approval or Approve for me sandbox modes for environments that cannot be recovered.