一龍馬/AI 情報站讀懂消息背後的脈絡
星期四
搜尋
返回 X AI 快報列表

Codex 團隊成員 Tibo 說明,過去幾週已針對 Codex 可能執行破壞性操作的風險推出多層防護

本期第 9/49 則

中文摘要

起因是少數回報指出,GPT-5.6 在 Codex 中曾做出超出使用者要求的刪除或覆寫行為;最嚴重的模式是清理暫存工作時,因誤用像 $HOME 這類系統環境變數,讓清理指令可能指向使用者真正的家目錄。新措施包括要求模型刪除前檢查目標、建立新的暫存目錄、避免重用系統環境變數、強化高風險刪除指令審查、讓 Full access 更難誤開,並用重播失敗案例的評測與訓練資料過濾來降低風險。

一龍馬判讀

這是程式代理工具從「能做事」走向「不能亂做事」的典型修補,直接關係到開發者本機檔案與公司程式碼庫安全。使用者仍需把 Codex 更新到新版,並優先使用需批准的沙盒模式;Full access 只適合可復原且可信任的環境。

原文節錄

Tibo · @thsottiaux

Recapping some changes we have rolled out over the last couple of weeks that have further reduced the risk associated to potentially destructive actions being…

取得全文 · 不代表內容已獨立查證

查看原文
完整收錄文字與來源

Hi! Recapping some changes we have rolled out over the last couple of weeks that have further reduced the risk associated to potentially destructive actions being performed by Codex during its work. A few weeks ago, we started investigating a small number of reports where GPT-5.6 in Codex took destructive actions outside what the user asked for. The most serious pattern we found was a command meant to clean up temporary work that could instead delete the user files. This should obviously not happen. Here’s what we found: - Codex sometimes creates temporary folders while working and cleans them up afterward. In rare cases, GPT-5.6 got that cleanup wrong. One pattern involved reusing a system environment variable like $HOME for temporary work. A malformed cleanup command could then point at the actual home directory instead of the temporary folder. - There were cases where the model tried to delete or overwrite a temporary path without checking what was already there. We’ve added protections at several layers: - Codex is now explicitly instructed to check deletion targets before acting, create fresh temporary directories, avoid repurposing system environment variables, prefer recoverable actions, and stop when the scope is unclear. - We strengthened the execution checks that identify high-risk deletion commands and escalate them for review. If a command is rejected, the model is directed to take a safer approach. - We made Full access harder to enable accidentally, added clearer warnings, and further restricted especially risky permission combinations. - We updated Auto-review to better identify destructive actions. - We built targeted evaluations that replay the failures we observed. We’re also adding reinforcement-learning tasks and graders focused on these risks, and filtering destructive actions from training data. In those replay evaluations, the changes substantially reduced the behavior while preserving Codex’s ability to complete normal coding work. Two things to do on your end: - Keep the Codex app up to date. We are always improving safety, performance and many other things. - Use one of the sandbox modes: "Ask for approval" or "Approve for me". Only use Full access for environments you trust and can recover. Thanks and happy Codexing out there!

收錄日期
2026-08-20
來源
Nitter RSS(公開貼文)
抓取時間
2026/08/20 06:12(台北)