Answer: The sandbox gives the agent a bounded place to work so routine tasks can run autonomously inside clear limits, applying to spawned commands such as git, package managers, or test runners, which inherit the same sandbox boundaries. Status: Confirmed Entry: tool/codex/permissions-and-security/sandbox-restrictions Revision: 1 Digest: sha256:e47c8cceeaf8b048 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:52:47Z Last changed: 2026-11-13T03:52:47Z Last verified: 2026-11-20T13:41:17Z Next check: 2026-11-21T13:41:17Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of sandbox purpose | give the agent a bounded place to work so routine tasks can run autonomously inside clear limits | [1] | 2026-11-20 scope | spawned commands, not just to built-in file operations | [1] | 2026-11-20 affected tools | git | [1] | 2026-11-20 enforcement | platform-native enforcement on each OS | [1] | 2026-11-20 Sources: [1] OpenAI. "Sandbox". https://learn.chatgpt.com/docs/sandboxing.md Role: primary. Accessed: 2026-11-20T13:41:17Z Quote: "give the agent a bounded place to work so routine tasks can run autonomously inside clear limits" (Supports: sandbox purpose) Quote: "The sandbox applies to spawned commands, not just to built-in file operations." (Supports: scope) Quote: "If the agent runs tools like `git`, package managers, or test runners," (Supports: affected tools) Quote: "Codex uses platform-native enforcement on each OS." (Supports: enforcement) Snapshot SHA-256: 4702d8590236260ca3e7e47b34f0402951153d9575b3d9b53df50116f2d3a8eb (captured 2026-11-13T03:52:47Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:52:47Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:41:17Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:41:17Z Last attempt: 2026-11-20T13:41:17Z Notes and limitations: Extracted automatically from a single official source (section "What the sandbox does"). Related: https://latestn.com/tool/codex/permissions-and-security/sandbox-vs-approvals How do sandbox permissions and approval policies work together in Codex? https://latestn.com/tool/codex/permissions-and-security/security-review-prerequisites What do I need before I can configure Codex Security Review? https://latestn.com/tool/codex/permissions-and-security/set-approvals-execution-permissions How do I set approval and execution permissions for Codex using requirements.toml? https://latestn.com/tool/codex/permissions-and-security/run-propose-security-hardening-workflow How do I run the Codex Security propose-security-hardening workflow? https://latestn.com/tool/codex/permissions-and-security/run-security-scan-repository-folder How do I run a Codex Security scan on a repository or folder? https://latestn.com/tool/codex/permissions-and-security/sandbox-presets What sandbox presets are available in the Codex SDK Python library? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:52:47Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/permissions-and-security/sandbox-restrictions/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/permissions-and-security/sandbox-restrictions POST: https://latestn.com/dispute/tool/codex/permissions-and-security/sandbox-restrictions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/permissions-and-security/sandbox-restrictions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What does the Codex sandbox restrict the agent from doing on my machine? Revision 1, last verified 2026-11-20T13:41:17Z. https://latestn.com/tool/codex/permissions-and-security/sandbox-restrictions (accessed 2026-11-21T10:04:01Z). @misc{LatestN_tool_codex_permissions_and_security_sandbox_restrictions_r1, title = {What does the Codex sandbox restrict the agent from doing on my machine?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/permissions-and-security/sandbox-restrictions}}, note = {Revision 1; digest sha256:e47c8cceeaf8b048; last verified 2026-11-20T13:41:17Z; accessed 2026-11-21T10:04:01Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/permissions-and-security/sandbox-restrictions