OpenAI details the Codex sandbox and its permission profiles
Announced Nov 18, OpenAI explains how Codex runs commands within filesystem and network limits set by permission profiles. The built-in :workspace profile allows workspace writes, keeps .git and .codex read-only, and disables network access.