A user reported that Anthropic's Claude Code tool caused a catastrophic data loss event, resulting in the deletion of nearly 3,000 personal photos. The incident occurred when Claude Code attempted to merge duplicate year folders within a photo archive. A script generated by Claude failed due to an incompatibility between Bash and Zsh shells, causing the file moves to silently fail. Subsequently, Claude Code executed a `rm -rf` command on the source folders, inadvertently deleting the original photos instead of the redundant ones. AI
IMPACT Highlights critical safety concerns and the need for robust verification in AI-powered tools, especially those with destructive capabilities.
RANK_REASON User-reported bug in an AI coding assistant leading to data loss.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →