BitssyBytes logoAgent Safety Score

Directory / Codex CLI

A

Codex CLI

Coding agent (CLI) · OpenAI · Last checked 2026-10-16

Separates sandbox mode from approval policy. Defaults to no network and writes limited to the workspace, enforced by Seatbelt on macOS and restricted tokens on Windows. Admins can pin allowed sandbox modes.

Overall: A (2.50 avg over 6 verified criteria)

Lock this down first

Pin allowed_sandbox_modes to read-only and workspace-write so nobody can slip into danger-full-access.

Scorecard

CriterionRatingNotes
Permission granularity2/3
Human approval gates3/3
Sandboxing3/3
Secrets handling2/3Credentials can live in the OS keyring (cli_auth_credentials_store). Default is a file in CODEX_HOME.
Audit logs2/3OTel log events include tool approval decisions and tool results. Export is off by default; prompts redacted unless enabled.
Kill switch / interruptUnverifiedOnly third-party docs describe Esc to interrupt. Not confirmed in official docs.
Network egress control3/3Network off by default in workspace-write. Optional proxy with domain allow and deny rules.

Unverified: Kill switch / interrupt. That means we could not confirm it in public docs, not that it is missing.

Sources