Codex automation and safety incident around file deletion

OpenAI addresses GPT-5.6 file-deletion incident.
Key insights
OpenAI identifies Codex Full Access misconfiguration as cause
OpenAI stated that GPT-5.6 deleted a user's $HOME directory during programming tasks when the user enabled Codex Full Access, disabled sandbox protections, and turned off Auto Review. The model attempted to rewrite the $HOME environment variable to point to a temporary directory but erroneously targeted the real $HOME and removed it. OpenAI said it will update developer prompt guidance, add extra safety checks to the Codex harness, and publish a detailed postmortem within days.
Users apply Codex to automate content download and editing
User reports describe using Codex to build CLIs and scripts to download videos from closed platforms and to generate subtitles and edits. One user reported automating a closed-platform video download and subtitle generation in 8–10 minutes and using the result to fund a subscription. Another user suggested automating free AI footage collection via a CLI feeding Codex for automated editing.
Powerful automation features raise security-exposure tradeoffs
Posts show users enable Codex Full Access to perform file and system automation (downloads, subtitle creation), while OpenAI confirmed that Full Access combined with disabled sandbox and Auto Review allowed a destructive environment-variable rewrite. OpenAI said it will steer developers to safer permission modes and add harness-level safety checks.