OpenAI Codex 默认禁用网络访问,请求时提示用户或自动审核。支持在权限配置文件中允许包注册表域名并启用网络代理,匹配请求无需重复审批。该代理核心逻辑跨 Linux、macOS 和 Windows 三大操作系统共享,但沙箱集成方式因系统而异。
The default permission profile disables network access. When a command requests access, Codex may prompt the user directly or route the request to auto-review.
If your build regularly downloads from a package registry, you can allow the registry’s domain in a permission profile with the network proxy enabled. The proxy checks each request against the profile’s domain rules to decide whether to forward it. Matching requests don’t need separate network approval each time.
The network proxy’s core request-handling and policy logic is shared across all three major operating systems. Proxy setup and sandbox integration are OS-specific.
On Linux, the command connects to a listener inside its isolated namespace. A process outside the sandbox relays those connections to the configured proxy.
来源:OpenAI Developers · x.com