跳到正文
OpenAI Developers· @OpenAIDevs · X·· 14 天前AI 评分42
AI 导读

Codex 默认权限配置禁用网络访问,命令请求联网时可直接提示用户或转交自动审查。若构建需频繁从包仓库下载,可在启用网络代理的权限配置中放行对应域名,代理按域名规则逐请求校验并转发,匹配请求无需每次单独审批。网络代理的核心请求处理与策略逻辑在三大操作系统间共享,代理配置与沙箱集成则因系统而异。

正文

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