BitssyBytes logoAgent Safety Score

Directory / Codex CLI

A

Codex CLI

Coding agent (CLI) · OpenAI · 6/7 verified · Last checked 2026-10-16

Separates sandbox mode from approval policy. Defaults to no network and writes limited to the workspace, enforced natively on each OS. Admins can pin allowed sandbox modes.

Overall: A (2.50 avg, 6/7 controls verified)

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/3Sandbox modes plus approval policies; admins can restrict allowed_sandbox_modes.
Human approval gates3/3on-request asks before leaving the sandbox; read-only asks before edits and commands.
Sandboxing3/3OS-enforced sandbox; workspace-write limits writes to the workspace by default.
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

Vendor? Request a correction. We review corrections within 7 days.