OpenAI News
Inside the Codex sandbox
How Codex limits the commands it runs on your computer: writes only inside the project and no network by default, using the operating system's own sandbox.
Why it matters
A clear reference for what an agent sandbox does and does not cover, including its gaps: broad file reads, DNS, and the MCP servers it launches.
What to do
Keep API keys out of files an agent can read, and treat MCP servers it launches as running outside the sandbox.
Topics: Agents, Safety & trust
Checked 2026-11-23 · Source: OpenAI News