Marks / Execution controls / Credential handling

codex · Credential handling

Default denylist KEY/SECRET/TOKEN; a named config key gives an allowlisted env (R1); auth.json likely readable

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

01 · Mark

Level

2
Default deployment Level 2 of 4
3
Best supported configuration opt: shell_environment_policy inherit=core/none

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

02 · Rubric

Criteria for this column

Rubric and errata →

  1. 0

    Full environment inherited, credentials stored in plaintext readable by agent code, no filtering

  2. 1

    Some protection (keychain option, redaction of output, per-command secret injection), but the full environment is still inherited by default

  3. 2

    Default denylist filtering of the environment, but known provider keys or credential files remain reachable by agent code

    default
  4. 3

    Default cleared environment plus allowlist for agent processes; credential stores may still be readable on the same filesystem

    best
  5. 4

    Level 3, plus provider credentials held outside the agent's reach (separate process or broker) and auxiliary processes (MCP stdio) also get an allowlisted environment

03 · Review finding

What the source review found

Table and notes in the report →

Partial filtering, built in. Shell tools inherit the full environment minus case-insensitive *KEY*/*SECRET*/*TOKEN* (*PASSWORD* is not excluded); configurable via [shell_environment_policy]. MCP stdio servers get an allowlist. Login credentials sit in auth.json by default and are likely readable under the read-/ profile (inferred). Redaction covers memories and command display only. X7X8X9X10X11

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
2 / 2
Grader B
2 / 3
Final
2 / 3

Default / best supported.

Adjudicated · disagreement; R1

Default denylist KEY/SECRET/TOKEN; a named config key gives an allowlisted env (R1); auth.json likely readable

Sideways

Neighbouring marks