GPT-5.6 Codex Critical Bug: Unexpected File Deletion in Full Access Mode
Score
71提供了OpenAI内部调查的具体漏洞细节,信息增量较高。
内容简洁清晰,直接引用内部调查结果,质量高。
开发者可立即采取防护措施,如开启沙箱和自动审核,实用价值极高。
2026年7月16日发布,反映最新漏洞,时效性强。
来源为知名技术博客Simon Willison,引用OpenAI内部人士,可信度较高。
Base 79 × T2 Source weight ×0.9 = 71
Curation line 70Selected
Why selected
As the information comes directly from an internal OpenAI investigation, it is specific and timely, providing an important warning for AI safety practices.
AI commentary
「This is one of the most disruptive AI coding agent bugs disclosed so far, directly threatening user file safety. All developers using AI-assisted coding tools should immediately check their safeguard settings and never run in full access mode without sandboxing.」
Quick overview
According to a report cited by Simon Willison's blog from Thibault Sottiaux, GPT-5.6's Codex tool can unexpectedly delete user files when full access mode is enabled without sandboxing protections, due to the model mistakenly overriding the $HOME environment variable. The bug highlights the security risks of AI coding agents, especially without auto review enabled. OpenAI's internal investigation found this is the most common scenario, and developers are advised to immediately review their Codex configuration and enable sandboxing and auto review to prevent data loss.
- In full access mode, Codex running without sandbox protection can cause file deletion.
- The model attempts to override the $HOME env var and mistakenly deletes $HOME.
- The bug most commonly occurs when auto review is disabled; users should enable sandboxing or review.
Full text
Showing the source text; the full translation is being generated.
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
Tags: codex, coding-agents, generative-ai, ai, llms
Related items
92
FeaturedOpenRouter Launches Prompt Caching with Sticky Routing to Drastically Reduce Multi-Turn Costs
OpenRouter 推出提示缓存与粘性路由,大幅降低多轮对话成本
For developers making frequent AI API calls, this feature is a direct money-saver. Sticky routing guarantees cache hit rates, and session_id requires zero configuration—every OpenRouter user should try it immediately.
91
FeaturedChatGPT Work: An AI Agent That Takes Action Across Apps and Files
ChatGPT Work:可在跨应用和文件中执行操作的AI Agent
I think this is a key step for AI assistants moving from Q&A to execution. Especially noteworthy for professionals who need to automate complex workflows. ChatGPT Work could become a new paradigm for productivity tools.
90
FeaturedAnatomy of a Frontier Lab Agent Intrusion: A Technical Timeline of the July 2026 Incident
前沿实验室代理入侵事件技术时间线:2026年7月事件剖析
This technical timeline is a must-read for all AI security researchers and agent developers—it doesn't just describe one attack but sounds an alarm on the weak defense systems of agent architectures. For teams deploying autonomous agents, this is an essential disaster prevention manual.
90
FeaturedBetter Tools Made Copilot Code Review Worse? Here's How GitHub Improved It
更好的工具反而让Copilot代码审查更糟?GitHub这样改进
This blog post deserves close reading by all AI product engineers and ML practitioners—it breaks the intuition that 'more powerful tools = better AI' and instead emphasizes an engineering philosophy aligned with agent reasoning patterns. Especially important for teams optimizing code review or similar agent-based products.
88
FeaturedOpenRouter Launches Unified Multimodal API: Single Endpoint for Image, Video, Audio, Embeddings, and Transcription
OpenRouter 推出统一多模态 API:单端点支持图像、视频、音频、嵌入与转录
This news is worth attention from all developers building multimodal AI applications: OpenRouter's unified API solves the pain of model switching, especially for startups or rapid prototyping. If you're struggling with multiple API keys and SDKs, this interface could be the unified layer you need.
87
FeaturedAnthropic Launches Claude for Teachers: AI Tools Designed for Educators
Anthropic 推出 Claude for Teachers:面向教师的教育 AI 工具
This announcement is valuable for educators and AI industry watchers alike. Instead of a generic chatbot, Anthropic designed a safety-first tool specifically for teachers, demonstrating the right approach for AI vertical deployment: solving real pain points rather than showing off technology. The built-in guardrails also set a reference for other AI companies, especially when serving scenarios involving children or teenagers.
86
FeaturedOpenRouter Introduces New Auto Router: Model Routing Powered by Market Wisdom
OpenRouter发布全新Auto Router:用市场智慧优化模型路由
This update is worth attention for anyone using APIs to build AI apps. Instead of guessing or testing model selection, market data now does the heavy lifting. Though sparse on details, the direction is right, especially for teams relying on aggregated model services.
86
FeaturedClaude Code v2.1.211 Release: Multiple Fixes and Improvements
Claude Code v2.1.211 发布:多项修复与改进
As a developer who frequently uses Claude Code for automated coding, I'm particularly interested in the security fixes, especially the permission preview character bypass and auto mode overriding hook decisions—these directly affect the security boundaries during team collaboration. The improvement in background agent reporting also makes long-running tasks more reliable. I recommend all users upgrade as soon as possible.