GPT-5.6 Codex Bug: Rare but Severe Data Loss Risk
Codex is the best coding agent most engineers have used. It just made the worst mistake a coding agent can make.
OpenAI confirmed this week that GPT-5.6 Codex, in rare cases, deletes user home directories on macOS and Linux. Not a file. Not a project. The entire $HOME. The model tries to override $HOME to create a scratch workspace, misidentifies the home directory itself as the target, and runs rm -rf against it. Total data loss for the affected user.
This is a real bug with real victims, and the right response is to understand exactly what went wrong, then keep using the tool with the right guardrails. Codex is too valuable to abandon over one failure mode — but the failure mode is severe enough to ignore.
This is an excerpt. Read the full post at otf-kit.dev/blog/gpt-5-6-codex-data-loss — full-stack kits your AI coding agent can actually ship to production. Browse the kits →
Ship the product, not the setup.
- 11 production screens — auth, billing, team, analytics, settings
- Real database, payments, and login — all wired on day 1
- AI configs pre-tuned so your agent extends instead of regenerates