Sandbox levels

read-only, workspace-write, danger-full-access: how much Codex may touch on your machine.

Also called: read-only, workspace-write, danger-full-access, --sandbox

Type
Term
Source
Codex

In plain English

read-only can only look, workspace-write may change files in the project folder (network off by default), danger-full-access has no limits.

Example

Codex runs in workspace-write, so it can change the project but not the rest of my disk.

In code

codex --sandbox read-only "Explain how deployment works in this repo"

Learn more

Related terms

Added 2026-11-30 · Last reviewed 2026-11-30