PulseAugur
EN
LIVE 14:47:37

Claude Code bug deletes user home directory; Anthropic closes issue

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 →

Claude Code bug deletes user home directory; Anthropic closes issue

How we ranked this

Signal score
9 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
A bug report details a specific failure mode in an AI tool, leading to data loss, but lacks broader industry impact.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, safety
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Ramdai Bista ·

    Claude Code Named a Folder '~' — Then an Unquoted rm -rf * Found It

    <p>A Claude Code user running v2.0.55 on macOS reported a two-part failure: the agent first created a directory literally named <code>~</code> for no stated reason, then later ran <code>rm -rf *</code> in that directory's parent — and the shell's own glob expansion carried the de…