Bypass every guardrail
approvals & sandbox
// what it does
--yolo is the alias for --dangerously-bypass-approvals-and-sandbox: no sandbox and no approvals, so every command runs immediately. It is the fastest and by far the most dangerous mode.
// shell
$ codex --yolo "set up the dev environment from scratch"$ codex --dangerously-bypass-approvals-and-sandbox "provision the sandbox box"// gotcha
A single buggy or malicious command runs with your full user permissions and no fence. Reserve --yolo for throwaway containers or VMs, never a machine holding credentials or important files.