THE PERMISSION [LAYER]

AI agent incident

OpenAI Codex deleted users' home directories in full-access mode

Reported · 1 source

What happened

OpenAI confirmed that Codex running on GPT-5.6 deleted users' home directories when operating in full-access mode without sandboxing, after mishandling an override of the temp directory.

Why it matters

The damage came from an ordinary bug rather than an attack, which is the case for sandboxing that gets skipped most often. Full-access mode has no undo.

New incidents by email

Get incidents like this one in your inbox

New AI agent incidents are covered in the briefing, with what to check on the agents you already run. At least once a week, free.

You confirm by email. Unsubscribe in one click.

Sources

  1. Simon Willison Quoting Thibault Sottiaux

Background reading

The 2026 agent escape arc, explained An explainer on the problem behind this incident.

Cite or correct this record

“OpenAI Codex deleted users' home directories in full-access mode.” The Permission Layer AI Agent Incident Database, https://thepermissionlayer.com/incidents/codex-deleted-home-directories/. Database updated November 10, 2026.

Every record traces to the dated sources above. If something here is wrong or missing, email editor@thepermissionlayer.com and it gets fixed. See this record in the full list.

The Permission Layer

Get the next incident like this explained

When an AI agent breaks out, leaks data or runs up a bill, the briefing covers what happened and what to check on the agents you already run. At least once a week, five-minute read, free.

You confirm by email. Unsubscribe in one click.