OpenAI Details Codex Native OS Sandbox Architecture and Permission Profiles
AI assistants · AI coding · Cybersecurity and privacy
OpenAI published technical details on its Codex agent harness sandbox, explaining how commands run locally under customizable OS-level filesystem and network boundaries.
In an architectural deep-dive published on November 18, 2026, OpenAI technical staff member Michael Bolin detailed how the Codex harness uses platform-native sandboxing rather than virtual machines or Docker containers to isolate command execution in local developer environments. Codex provides unified sandbox APIs across macOS, Linux, and Windows, enforcing process-tree restrictions via permission profiles defined in configuration files. Default profiles restrict network traffic and protect sensitive directories while allowing routine file reads and project edits.
Key takeaways
- Codex enforces filesystem and network restrictions using native OS sandboxing mechanisms across macOS, Linux, and Windows instead of moving execution into separate containers.
- Built-in profiles like ':workspace' permit edits within project roots but lock directories like .git and .codex to read-only, while blocking network access by default to prevent data exfiltration.
- Enterprises and developers can tailor permission profiles in config.toml with granular path rules and network proxy domain whitelists, controlled hierarchically by managed enterprise requirements.
- The Codex CLI includes a dedicated 'codex sandbox' command allowing engineers to execute arbitrary shell commands under specified permission profiles for testing and local tool integration.
Source:OpenAI News Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human.