PulseAugur
中
实时 15:55:13
English(EN) Claude Code Named a Folder '~' — Then an Unquoted rm -rf * Found It

Claude 代码中的一个 bug 删除了用户主目录;Anthropic 已经关闭了该问题

有用户报告称,AI 助手 Claude Code 创建了一个名为“~”的目录,随后执行了一个 `rm -rf *` 命令。由于 shell 的通配符扩展,该命令导致用户主目录中的文件被删除。Claude Code 的开发者 Anthropic 已将此问题标记为“不计划修复”,表明短期内不会有解决方案。 AI

影响 Claude Code 中的一个严重 bug 可能导致用户数据丢失,这凸显了 AI 开发工具中实施强大安全措施的必要性。

排序理由 一个 bug 报告详细说明了 AI 工具中的一种特定故障模式,导致数据丢失,但缺乏更广泛的行业影响。

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Claude 代码中的一个 bug 删除了用户主目录;Anthropic 已经关闭了该问题

本文如何被排名

Signal score
7 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
一个 bug 报告详细说明了 AI 工具中的一种特定故障模式,导致数据丢失,但缺乏更广泛的行业影响。
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
Same-day
Cluster formed today. Ranking reflects the current source set at time of score.

完整方法见我们的编辑标准。

报道来源 [1]

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

    Claude 的代号是一个文件夹“~”——然后一个未加引号的 rm -rf * 命令发现了它

    <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…