Back to the radar
IndustryAnnouncement

Inside the Codex sandbox

The essentials, the implications, and the sources behind the story.

01 / The short version

What happened

OpenAI describes the Codex sandbox, a safety layer for its Codex agent that limits what commands can access while running in a user's existing environment. Rather than moving work into virtual machines or containers, Codex uses each operating system's native sandboxing facilities, exposed through a common API across macOS, Windows and Linux. Restrictions are set by permission profiles that define filesystem and network limits for a session. The built-in :workspace profile allows writes inside the workspace, keeps .git and .codex read-only, permits broad reads and disables networking. OpenAI states these defaults still allow meaningful work. Users and enterprises can tailor profiles, and developers can reuse the sandbox in their own tools.

See the exact references

02 / Key takeaways

What you need to know

  1. 01

    OpenAI says the Codex sandbox constrains commands via filesystem and network limits, not separate environments.

  2. 02

    Permission profiles set per-session restrictions; the built-in :workspace profile allows workspace writes and blocks network.

  3. 03

    With :workspace, .git and .codex stay read-only, while broad filesystem reads remain allowed.

  4. 04

    OpenAI acknowledges limits: an agent could alter a local package like node_modules/prettier, executing outside the sandbox.

  5. 05

    A shared API covers macOS, Windows and Linux; child processes inherit parent sandbox constraints.

  6. 06

    The codex sandbox command lets developers add sandboxed execution to their own tools.

AI analysis

Why it matters

Sandboxing that runs in a developer's real environment could make agent safety controls easier to adopt without rebuilding toolchains in containers, though it shifts part of the protection burden to model behavior and user configuration.

Who it affects: Developers and enterprises deploying coding agents are most affected, along with the teams responsible for configuring their security policies.

Learn while you read

Key terms, simply explained

Sandbox
A set of rules that limits what a program can see or change while it runs.
Permission profile
A named bundle of rules describing which files and network access a session may use.
Network proxy
A middleman program that checks and controls a command's outbound network traffic.
Defense in depth
Using several overlapping layers of protection instead of relying on just one.

Keep in perspective

What to watch for

The article is OpenAI's own description of its product; independent verification of how well the sandbox blocks real-world attacks is not provided.

Go to the source

Exact references

These are the original pages used for this brief. Publisher claims are not independent evaluations.

01Primary source · OpenAIRead the original announcementhttps://openai.com/index/inside-the-codex-sandbox

AI-generated from the linked source. It can miss context; verify consequential details in the original. How the radar works