行业73°

OpenAI回应GPT-5.6删文件:关闭沙盒与自动审查导致误删$HOME目录

OpenAI 正面回应了 GPT-5.6 在用户电脑上删文件这事,结论是:GPT-5.6 在执行编程任务时,可能会把用户的整个主目录($HOME)给删了。 出现这种问题的原因是这样的: 用户开启了 ...

精选理由

OpenAI回应了GPT-5.6删文件事件,告诉你原因:关掉沙盒和自动审查就会出这种问题。如果你在用Codex,最好开启沙盒和自动审查。

AI 摘要

OpenAI证实GPT-5.6在执行编程任务时,可能因用户开启Codex完全访问模式并关闭沙盒保护和自动审查,从而误删整个$HOME目录。模型试图重写$HOME环境变量指定临时目录时出错。OpenAI正在更新开发者提示、引导更安全权限模式,并在Codex Harness添加安全检查。Tibo承诺几天内发布详细事后分析报告。

原文 · 宝玉

OpenAI 正面回应了 GPT-5.6 在用户电脑上删文件这事,结论是:GPT-5.6 在执行编程任务时,可能会把用户的整个主目录($HOME)给删了。 出现这种问题的原因是这样的: 用户开启了 ...

OpenAI 正面回应了 GPT-5.6 在用户电脑上删文件这事,结论是:GPT-5.6 在执行编程任务时,可能会把用户的整个主目录($HOME)给删了。 出现这种问题的原因是这样的: 用户开启了 Codex 的完全访问模式(Full Access),关掉了沙盒保护,也没开自动审查(Auto Review)。模型在做清理任务时,试图重写 $HOME 环境变量来指定一个临时目录,结果搞混了,把真正的 $HOME 目录删掉了。 Tibo 说 OpenAI 正在采取措施:更新开发者提示信息,引导用户使用更安全的权限模式,在 Codex 的 Harness 加额外的安全检查。他还承诺几天内会发一篇详细的事后分析报告。 Tibo @thsottiaux On file deletions. We’ve investigated a handful of reports where GPT-5.6 unexpectedly deleted files. What we have found is that this most commonly occurs when: - Full access mode is enabled and codex is run without sandboxing protections, including without auto review being enabled - The model attempts to override the $HOME env var to define a temporary directory. - The model makes an honest mistake and mistakenly deletes $HOME instead. This is of course not how we want the system to behave, even when a user operates the model in full-access mode without the safeguards of our sandbox or without using auto review which checks for these kinds of high risk actions and rejects them. We are taking steps to mitigate this risk including by updating the developer message, guiding more users towards safer permission modes, and adding additional harness safeguards. Even though this happens extremely rarely, we’ll share a detailed post-mortem in the coming days that goes into more details and what we are doing to minimize risks further. 🔗 View Quoted Tweet 💬 6 🔄 0 ❤️ 12 👀 4762 📊 5 ⚡

OpenAI回应GPT-5.6删文件:关闭沙盒与自动审查导致误删$HOME目录 · AI 热点