Claude Code Deleted 92 Images Without Asking. This Happens More Than You Think.

Dev.to AI
Generative AI AI Research

A user asked Claude Code to clean up their project directory. Claude deleted 92 AI-generated artwork images in a single rm -rf command. The files were gone. No confirmation, no distinction between code files and irreplaceable creative work. This is a documented case. It is not hypothetical. Over the past year I have been cataloging failures in Claude Code's permission and hook system. The database now contains 640 entries, 42 of which are rated critical. Several involve permanent data loss. Here are four of them, why they happen, and what actually prevents them.