
What happened
OpenAI shipped a security update to Codex after several users reported that GPT-5.6 Sol was autonomously deleting real files. The root cause was a cleanup command meant for temporary files that instead targeted actual user data when the model misused system variables like $HOME.
Why it matters
The bug put user data at risk of unintended deletion during normal model operation. OpenAI's fix—requiring deletion verification, isolating temporary folders, and preventing accidental full-access mode—reduces the risk of similar data loss incidents in code-generation tools that many developers rely on.
What to watch
OpenAI recommends users run Codex in sandbox mode and keep the app up to date. The fixes are already deployed, but staying on the latest version is critical for protection.
Summaries like this, in your inbox every morning.
OpenAI's Codex, a code-generation model, had a vulnerability where its automatic file-management routine could destroy user data. The bug stemmed from a common system administration mistake: using environment variables like $HOME without proper scoping, causing a cleanup routine to target the user's actual home directory rather than a sandboxed workspace. This kind of error is particularly dangerous in code-generation tools because the model operates with some level of system access to test or deploy code.
The security update addresses the vulnerability by adding layered safeguards: deletion verification (requiring confirmation before files are removed), workspace isolation (ensuring temporary files live in dedicated folders, not shared system directories), and access-mode restrictions (preventing accidental elevation to full system permissions). OpenAI's recommendation that users run Codex in sandbox mode reflects the principle that even with fixes, limiting the tool's system access is the most reliable defense against future surprises.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Anthropic's Claude Code 2.1.294 fixed natural-language prompt and agent hooks that were allowing operations th…

Over three days (Oct 7–9, 2026) Masayoshi Uehara wired ChatGPT's dots into real Gmail, Calendar, Drive, GitHub…

On the September 28 Mad Money episode, Jim Cramer pointed to Advanced Micro Devices' roughly 13% gain the prio…

Cisco Systems appointed industrial AI executive Girish Rishi to its board of directors

WIRED's Boone Ashworth used Google Labs' newly launched Playground to build three games in one day, including…

In a recent Bloomberg TV interview, JPMorgan Chase CEO Jamie Dimon said cyber risks "went up 10-fold after Myt…
