Marks / Execution controls / Confinement

codex · Confinement

Default-on bwrap/seccomp/Seatbelt for shell and apply-patch, network denied; L4 unmet: MCP stdio servers unsandboxed

Cite: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. codex · Confinement. https://ai-agents-review.com/cell/codex/confinement Markdown Compare runtimes

01 · Mark

Level

3
Default deployment Level 3 of 4
3
Best supported configuration Same as default

s Source-verified: the deciding facts were followed in the source.

02 · Rubric

Criteria for this column

Rubric and errata →

  1. 0

    No restriction: tools run as the user with no approval or policy by default

  2. 1

    Policy or approval layer only (allowlists, approval prompts, reviewer model). No OS boundary

  3. 2

    An OS/container boundary exists but is opt-in, or is default-on only for a subset of effect paths, leaving the main shell/file tools unconfined

  4. 3

    Default-on OS-enforced boundary for the main shell and file effects (filesystem writes restricted)

    met
  5. 4

    Level 3, plus network restricted by default and children and auxiliary processes (MCP stdio, hooks, cron) confined at least as tightly

03 · Review finding

What the source review found

Table and notes in the report →

Built in, on by default for shell, unified-exec and apply-patch: Seatbelt (macOS); bwrap + seccomp + no_new_privs (Linux); restricted token (Windows, only when enabled). Default read-only mode can still read the whole filesystem. Trusted projects get workspace-write. Network is denied inside the sandbox. MCP stdio servers run unsandboxed. An approval can lift a sandbox denial. X1X2X3X4X5X6 Note X-1

04 · Source code

Pinned evidence

Every link opens the cited lines at the revision the study reviewed.

Cited by the mark

Also cited by the review finding

05 · Grading record

Two independent graders

Method and adjudication log →

Grader A
3 / 3
Grader B
3 / 3
Final
3 / 3

Default / best supported.

Not in the adjudication log.

Sideways

Neighbouring marks