🤖 AI / ML
引用Thibault Sottiaux(关于GPT-5.6 Codex文件删除Bug)Quoting Thibault Sottiaux
OpenAI调查了多起关于GPT-5.6意外删除文件的报告,发现该问题主要发生在特定配置下。当启用完全访问模式且Codex在没有沙箱保护(包括未启用自动审查)的情况下运行时,容易出现此问题。具体原因是模型试图覆盖$HOME环境变量以定义临时目录,从而导致文件被删除。这暴露了在无沙箱环境下运行AI代理的潜在风险。
Simon Willison
16th July 2026
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.
— Thibault Sottiaux, describing a pretty gnarly Codex bug
需要完整排版与评论请前往来源站点阅读。