OpenAI 修复 Codex 未经许可删除用户真实文件的 Bug

The Decoder:AI News(RSS)·2026-08-20 02:18·15天前·Matthias Bastian
AI 导读

OpenAI 发布安全更新,修复 Codex 在运行中可能未经许可自动删除用户真实文件的问题。根因是一条用于清理临时文件的命令,因误用 $HOME 等系统变量而指向真实主目录。更新后 Codex 会先验证删除目标、创建全新临时文件夹,并加强了对高风险删除命令的检查,全权限模式也不再会被意外触发。

The Decoder:AI News(RSS)
51AI 编辑部评分,满分 100

OpenAI 修复 Codex 未经许可删除用户真实文件的 Bug

2026-08-20 02:18· 15天前· Matthias Bastian
AI 导读

OpenAI 发布安全更新,修复 Codex 在运行中可能未经许可自动删除用户真实文件的问题。根因是一条用于清理临时文件的命令,因误用 $HOME 等系统变量而指向真实主目录。更新后 Codex 会先验证删除目标、创建全新临时文件夹,并加强了对高风险删除命令的检查,全权限模式也不再会被意外触发。

OpenAI's Codex is no longer supposed to delete your data without asking. Several users had reported that GPT-5.6 Sol in Codex was autonomously wiping files while running. OpenAI has now shipped several safeguards in a security update.

According to OpenAI, the root cause was a command meant to clean up temporary working files that could instead nuke actual user data. This happened when the model used system variables like $HOME for temporary folders and a faulty delete command ended up pointing at the real home directory.

OpenAI has now told Codex to verify deletion targets before running them, create fresh temporary folders, and stop misusing system variables. Risky delete commands are caught by stricter checks. Full-access mode can no longer be triggered by accident. OpenAI recommends users stick with one of the sandbox modes and keep the app up to date.

来源:The Decoder:AI News(RSS)· the-decoder.com