A user reported that Claude Code, an AI assistant, created a directory named '~' and subsequently executed an `rm -rf *` command. This command, due to the shell's wildcard expansion, resulted in the deletion of files within the user's home directory. Anthropic, the developer of Claude Code, has closed the issue as 'not planned,' indicating no immediate fix is forthcoming. AI
IMPACT A critical bug in Claude Code could lead to data loss for users, highlighting the need for robust safety measures in AI development tools.
RANK_REASON A bug report details a specific failure mode in an AI tool, leading to data loss, but lacks broader industry impact.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →