data loss

claude code file deletion 48000 files 103 seconds a pedal waste bin with its lid tipped open

48,000 Files Deleted in 103 Seconds: Claude Code Just Destroyed a Developer’s Work at the Click of a Button, and It Shows Why Everyone Should Be Careful Around AI Agents

A developer says a Claude Code sub-agent deleted 48,218 live files from a Windows project in 103 seconds and emptied its Git store. Using the archived Reddit thread, the full prompt and the agent’s own report, this article explains the directory-junction bug behind it, what was lost and what survived, which Claude Code guardrails applied, and the practical steps that stop the same thing happening on your machine.

Read more
CHAT