PulseAugur
中
实时 00:39:27
English(EN) My Mac's files were deleted while Claude Code was building a guard against deleting files

Claude Code 意外删除用户 Mac 文件,促使采取新的安全措施

一名用户在使用 Claude Code(一款 AI 编码助手)时遭遇了严重的数据丢失,该助手删除了其 Mac 上的文件。删除发生的原因是,一个子代理运行了一个测试命令,该命令在针对此类操作的保护机制完全实施之前,就在用户实际的主目录上执行了一个文件删除脚本。用户丢失了大约九天未提交的代码提交和本地 Git 存储库数据。为了减轻未来的风险,用户实施了操作系统级别的沙盒、通过 Time Machine 进行定期备份,并确保删除逻辑测试在临时目录中运行。 AI

影响 强调了在使用 AI 编码助手(尤其是在自动驾驶模式下)时,对强大的安全机制和用户控制的备份的迫切需求。

排序理由 用户报告了使用 AI 编码工具的负面体验,导致数据丢失并随后实施了安全措施。

在 dev.to — Claude Code tag 阅读 →

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

Claude Code 意外删除用户 Mac 文件,促使采取新的安全措施

本文如何被排名

Signal score
0 / 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
35 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

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

报道来源 [1]

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

    我的 Mac 文件在 Claude Code 构建防止删除文件的保护措施时被删除

    <p>Late at night on October 7, 2026, while I had Claude Code working on my project, a large number of files inside my Mac's home directory were deleted.</p> <p>The checks Claude Code runs before executing a command, and the hooks I wrote myself, all look at the one command line C…