Event ·Multi-source

OpenAI 给 Codex 在 Windows 造沙箱,过程比想象中曲折

OpenAI Codex 团队为了解决 Windows 上缺乏类似 macOS Seatbelt 或 Linux seccomp 的进程级沙箱能力,经历了两轮方案迭代。最初尝试免提权沙箱,通过合成 SID 和 Write-Restricted Token 实现文件写入限制,但网络限制只能靠环境变量软封锁,无法对抗恶意代码。最终不得不接受提权方案,引入两个本地沙箱用户和防火墙规则,并设计四层架构(codex.exe、setup、runner、子进程)来安全执行受限命令。该方案已落地,为 Windows 上的 Codex 用户提供了与 macOS/Linux 一致的默认安全体验。

Current read

Windows 开发者终于有了正经的本地 AI 编程沙箱——Codex 团队用四层架构解决了 OS 级隔离难题,做安全或工具链的值得点开学习设计思路。

11 sources70° AI heatLast updated 2026/5/14 05:27:22

Evidence

11 sources
Related source 1OpenAI Blog
View source
Related source 2Greg Brockman
View source
Related source 3向阳乔木
View source
Related source 4The Rundown AI
View source
Related source 5TestingCatalog
View source
Related source 8@OpenAIDevs
View source
Related source 9歸藏(guizang.ai)
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.