AI 导读
OpenAI Developers 介绍 Codex 沙箱如何在用户可控的文件系统和网络限制下运行命令,编辑仓库的命令不应自动获得网络访问权限。配图展示了四步流程,配置默认与权限档案、使用会话档案准备命令、按平台应用 OS 限制(macOS Seatbelt、Linux bubblewrap/seccomp、Windows MXC)、在沙箱中执行命令,子进程继承沙箱限制,需要时经网络代理执行域名规则。
正文
As models become more capable, limits on what they can access matter more. A command editing your repo shouldn’t automatically be allowed network access.
The Codex sandbox lets Codex run commands in your existing environment within the filesystem and network limits you control.
来源:OpenAI Developers · x.com