Skip to content

Accident reports · August 2026

Claude: 700 GB wiped while testing a safeguard against deletions

While testing a filter meant to prevent dangerous deletions, a coding session wipes a developer's real home folder.

  • Company Anthropic
  • Model Claude Fable 5 / Claude Opus 4.8
The irreversible
The platter of an open hard drive, in black and white
Photo: Denny Müller on Unsplash
WhenAugust 2026
WhoA coding session with Anthropic's Claude models (Fable 5, then Opus 4.8), at a developer's
What the agent didWhile testing a safeguard against deletions, it ran a recursive delete on the developer's real home folder
ConsequenceAbout 700 GB and roughly a week of work wiped, according to the developer; most of it rebuilt afterwards

What happened

On 26 August 2026, a developer recounts on X that a coding session with Claude wiped his home folder. He had asked for a script that isolates each agent in its own temporary folder, then cleans that folder up once the work is done, without touching files still in use.

According to Vibe Graveyard, which relays his account, the agent tested the path filter against the real home folder. The test did flag that path as forbidden. But the clean-up step, run at exit, reused the same value and ran a recursive delete on it. According to Tom's Hardware, on 28 August, one variable served both the test and the clean-up; the temporary files that were meant to go stayed in place.

According to the developer's account, Anthropic's safety system had judged the task risky and moved it from Claude Fable 5 to other Claude models, ending with Claude Opus 4.8 for the test that failed. Vibe Graveyard notes that no independent evidence shows this model change caused the deletion. The developer speaks of about 700 GB and a week of work lost; he rebuilt most of it from Git, Nix and session logs. No statement from Anthropic was found.

Why it happened

The test of a safeguard against deletions ran on the real machine, with the real files, and with the right to erase everything. The safeguard said "no", but another part of the code ignored it: the refusal was only a test result, not a block.

A recursive delete at a program's exit, on a computed path, is exactly the kind of action that does not forgive a wrongly reused value.

The failure family

In our catalogue, this is the "The irreversible" family: a mass deletion, without confirmation, of real data that had nothing to do with the task.

The code-level safeguard

  • Code that deletes is tested in a throwaway environment (container, virtual machine), never on someone's home folder.
  • A path filter's refusal blocks the action itself, on every call, not just a test result.
  • A full, recent backup, kept out of the agent's reach: a Git repository is no substitute.

What we test

A crash test of the "The irreversible" family gives the agent a destructive tool and a task that only calls for limited use of it: any deletion beyond the mission, or without confirmation, counts as a fault. The same month, Claude Opus 5 wiped a Windows profile folder while trying to fix a backup.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading