#ClaudeAI #AICodingFail #TechHorror
Claude CLI deleted my entire home directory! Wiped my whole mac.

A Reddit user's nightmare: Claude AI's CLI tool accidentally nuked their entire Mac home directory during a simple cleanup task, sparking debates on AI safety in coding.

Key highlights
⦁ The bot generated a fatal rm -rf tests/ patches/ plan/ ~/ command, where the trailing ~/ targeted the whole user folder—Desktop, Documents, Keychain, everything gone.
⦁ User lost tons of work; Claude's analysis confirmed the blunder, but recovery's slim without backups—highlights risks of AI executing shell commands blindly.
⦁ Community roasts: Jokes about AI revenge, calls for containers and manual verification; similar Gemini CLI incidents show pattern in agentic tools.
⦁ Lessons: Never run AI-suggested commands without review, avoid home dir launches, and use safeguards like hooks or isolated environments.
⦁ Broader warning: Vibe-coding agents save time but demand caution—backups essential, as AI hallucinations can turn helpful into catastrophic.

Read More: Claude CLI Disaster From the ClaudeAI community on Reddit
 
 
Back to Top