# Credential handling

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

Group: Execution controls. Page: https://ai-agents-review.com/column/credential-handling

## Rubric criteria

- 0: Full environment inherited, credentials stored in plaintext readable by agent code, no filtering
- 1: Some protection (keychain option, redaction of output, per-command secret injection), but the full environment is still inherited by default
- 2: Default denylist filtering of the environment, but known provider keys or credential files remain reachable by agent code
- 3: Default cleared environment plus allowlist for agent processes; credential stores may still be readable on the same filesystem
- 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

## Marks, in report order

| Runtime | Mark | Rationale |
|---|---|---|
| [codex](https://ai-agents-review.com/cell/codex/credential-handling.md) | 2→3 [opt: shell_environment_policy inherit=core/none] s | Default denylist *KEY*/*SECRET*/*TOKEN*; a named config key gives an allowlisted env (R1); auth.json likely readable |
| [goose](https://ai-agents-review.com/cell/goose/credential-handling.md) | 1 s | Keychain option exists, but shell/hooks/stdio inherit full env; L2 unmet: no default env denylist |
| [hermes-agent](https://ai-agents-review.com/cell/hermes-agent/credential-handling.md) | 2 s | Local subprocesses get env minus provider/cloud blocklist; L3 unmet: no cleared env; .env/auth.json readable |
| [letta-code](https://ai-agents-review.com/cell/letta-code/credential-handling.md) | 1 s | Full env inherited plus injected LETTA_API_KEY; only exact-match redaction and Bun keychain; L2 unmet: no denylist |
| [nullclaw](https://ai-agents-review.com/cell/nullclaw/credential-handling.md) | 3 s | Shell env cleared plus allowlist, MCP fixed list; L4 unmet: secret key file on same disk, no broker |
| [openclaw](https://ai-agents-review.com/cell/openclaw/credential-handling.md) | 2→3 [opt: sandbox docker (env LANG only)] s | Host exec env minus denylist, *_API_KEY passes; Docker sandbox env defaults to LANG only with secret-name blocking |
| [opencode](https://ai-agents-review.com/cell/opencode/credential-handling.md) | 1 s | Full env inherited, plaintext credential DB; only *.env read-tool ask and host per-session env replacement |
| [pi](https://ai-agents-review.com/cell/pi/credential-handling.md) | 1 s | Full env to bash; only inheritEnv:false for MCP and !command keychain lookups; L2 unmet: no denylist |
| [software-agent-sdk](https://ai-agents-review.com/cell/software-agent-sdk/credential-handling.md) | 2→3 [opt: DockerWorkspace forward_env] s | Host env minus small denylist, LLM_API_KEY visible; DockerWorkspace passes only forward_env allowlist |
| [spore](https://ai-agents-review.com/cell/spore/credential-handling.md) | 4 s | Cleared env plus allowlist for agent and cells; provider keys and source secrets held in runner brokers |
