Building a safe, effective sandbox to enable Codex on Windows

AI-generated summary of reporting by OpenAI News. Read the original for the full story.

Why it matters

Windows users of Codex can now get real OS-enforced sandboxing instead of approving every command or running in unrestricted Full Access mode.

Read this as

OpenAI's coding assistant Codex now runs safely on Windows using a sandbox, a locked-down environment that lets the AI read files and edit code but blocks it from writing elsewhere or reaching the internet. Windows had no built-in way to do this, so OpenAI built its own. The current version needs administrator permission once during setup. Windows Codex users benefit; nothing changes for Mac or Linux users.

OpenAI shipped a working sandbox for Codex on Windows, removing the old choice between approving every command or granting the agent full machine access. The final design requires admin rights at setup and runs agent commands as dedicated local accounts, CodexSandboxOffline and CodexSandboxOnline, so firewall rules can block network access. This makes Codex more competitive against other coding agents for the large Windows developer base.

OpenAI evaluated AppContainer, Windows Sandbox, and Mandatory Integrity Control, rejecting all three for open-ended agent workloads. The first unelevated prototype used synthetic SIDs and write-restricted tokens plus advisory environment-based network blocking, which custom socket code could bypass. The shipped design runs children under write-restricted tokens with restricted SIDs [Everyone, Logon, Synthetic] as dedicated local principals, enabling Windows Firewall rules for per-process outbound blocking; setup requires elevation.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Codex OpenAI Windows AppContainer Windows Sandbox Mandatory Integrity Control CodexSandboxOffline

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading