You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement network and tool permissions for Codex #892
Activity
pelikhan commentedon Sep 17, 2025
...
pelikhan commentedon Sep 17, 2025
@copilot Update codex sandboxing generated config.toml as follows:
Additionally, configure the network field in the sandbox extra parameters based on this logic:
default network permissions (local host) -> network: false
allow * -> network: true
anything else: compilation error
update security section on codex documentation page
Here is an example of syntax for the config:
sandbox_mode = "workspace-write"
Extra settings that only apply when
sandbox = "workspace-write".[sandbox_workspace_write]
By default, the cwd for the Codex session will be writable as well as $TMPDIR
(if set) and /tmp (if it exists). Setting the respective options to
truewill override those defaults.
exclude_tmpdir_env_var = false
exclude_slash_tmp = false
Optional list of additional writable roots beyond $TMPDIR and /tmp.
writable_roots = ["/Users/YOU/.pyenv/shims"]
Allow the command being run inside the sandbox to make outbound network
requests. Disabled by default.
network_access = false
pelikhan commentedon Sep 18, 2025
Current spec:
// no declaration =
network: defaults // on codex this means {}, on claude this means some defaults + localhost
network: {} // no access on both claude and codex
network: * // everything on both claude and codex
pelikhan commentedon Sep 18, 2025
#913
Copilot commentedon Dec 7, 2025
The agent encountered an error and was unable to start working on this issue: Please try again later, or contact support if the problem persists.
pelikhan commentedon Jan 21, 2026
outdated