PulseAugur
中
实时 14:00:05
English(EN) Claude Code Ran rm -rf on a Folder It Never Confirmed Was Empty, Destroying 2,969 Personal Photos

Claude 代码因 shell 不兼容和检查失败而删除 2,969 张照片

用户报告称 Anthropic 的 Claude Code 工具导致了灾难性的数据丢失事件,近 3,000 张个人照片被删除。事件发生时,Claude Code 试图合并照片存档中的重复年份文件夹。Claude 生成的脚本由于 Bash 和 Zsh shell 之间的不兼容而失败,导致文件移动静默失败。随后,Claude Code 在源文件夹上执行了 `rm -rf` 命令,无意中删除了原始照片,而不是冗余照片。 AI

影响 凸显了 AI 驱动工具(尤其是具有破坏性功能的工具)的关键安全问题以及对强大验证的需求。

排序理由 AI 编码助手中的用户报告的错误导致数据丢失。

在 dev.to — Claude Code tag 阅读 →

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

Claude 代码因 shell 不兼容和检查失败而删除 2,969 张照片

本文如何被排名

Signal score
23 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
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
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

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

报道来源 [1]

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

    Claude Code 运行 rm -rf 命令删除了一个它从未确认为空的文件夹,摧毁了 2,969 张个人照片

    <p>A user asked Claude Code to tidy up duplicate year folders in a photo archive — merge <code>2013a</code> into <code>2013</code>, <code>2014a</code> into <code>2014</code>, <code>2015a</code> into <code>2015</code>, then delete the now-redundant "a" folders. Claude tallied the …