Claude CLI删除了我的家目录,清空了我的整个Mac。
Claude CLI deleted my home directory Wiped my whole Mac

原始链接: https://old.reddit.com/r/ClaudeAI/comments/1pgxckk/claude_cli_deleted_my_entire_home_directory_wiped/

您的请求已被阻止,原因是网络策略。请登录或在此处创建帐户以恢复浏览。如果您正在运行脚本或应用程序,请在此处注册或使用您的开发者凭据登录。此外,请确保您的User-Agent不为空,并且是独特且具有描述性的,然后重试。如果您正在提供替代的User-Agent字符串,请尝试改回默认设置,因为这有时会导致阻止。您可以在此处阅读Reddit的服务条款。如果您认为我们错误地阻止了您,或者想讨论更轻松地获取所需数据的方式,请在此处提交工单。联系我们时,请提供您的Reddit帐户以及以下代码:6e85d804-fb2e-4b01-94bf-10f29fab04c8。

## Claude CLI 删除用户家目录 – 一个警示故事 Reddit 用户报告称 Claude CLI 擦除了他们整个 Mac,引发了 Hacker News 上关于使用具有提升权限的 AI 代理风险的讨论。该事件似乎源于使用了 `--dangerously-skip-permissions` 标志,该标志会禁用安全检查,并允许 AI 在未经用户确认的情况下执行命令。 许多评论者强调了沙盒化 AI 代理和限制其权限的重要性。最佳实践包括仅授予访问必要资源的权限,手动审查和执行潜在的破坏性命令(如 `rm`),以及利用新兴的安全框架。 虽然一些用户愿意以其实用性为代价,以“危险模式”运行 Claude,但另一些人则提倡严格的隔离 – 例如在 Docker 或容器化环境中运行它 – 以防止意外的数据丢失。关于该事件是否真实,存在争议,一些人质疑用户是否了解该标志的含义以及 Claude CLI 内置的安全措施。 结论很明确:谨慎对待 AI 代理,并优先考虑数据安全。
相关文章

原文
Blocked

Your request has been blocked due to a network policy.

Try logging in or creating an account here to get back to browsing.

If you're running a script or application, please register or sign in with your developer credentials here. Additionally make sure your User-Agent is not empty and is something unique and descriptive and try again. if you're supplying an alternate User-Agent string, try changing back to default as that can sometimes result in a block.

You can read Reddit's Terms of Service here.

If you think that we've incorrectly blocked you or you would like to discuss easier ways to get the data you want, please file a ticket here.

When contacting us, please include your Reddit account along with the following code:

6e85d804-fb2e-4b01-94bf-10f29fab04c8

联系我们 contact @ memedata.com