# Thibault Sottiaux 指出 OpenAI 的 GPT-5.6 在完全访问模式且无沙箱保护时，会因尝试覆盖 $HOME 变量而意外删除文件，带来数据丢失风险

- 来源：Simon Willison
- 发布时间：2026-07-17 01:45
- AIWatch 分数：65
- AIWatch 标记：未精选
- AIWatch 链接：https://aiwatch.icu/events/evt_01kxzgt8mf6pttnhvnb3kb7k3x
- 原文链接：https://simonwillison.net/2026/Jul/16/bad-codex-bug/#atom-everything

## 精选理由

常规快讯，保留列表

## AI 摘要

Thibault Sottiaux 指出 OpenAI 的 GPT-5.6 在完全访问模式且无沙箱保护时，会因尝试覆盖 $HOME 变量而意外删除文件，带来数据丢失风险。

## 正文

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
