# spore · 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.

- Runtime: [spore](https://ai-agents-review.com/runtime/spore.md)
- Column: [Credential handling](https://ai-agents-review.com/column/credential-handling.md) (Execution controls)
- Mark: 4 s
- Default deployment: 4
- Best supported configuration: 4
- Page: https://ai-agents-review.com/cell/spore/credential-handling

## Rationale

Cleared env plus allowlist for agent and cells; provider keys and source secrets held in runner brokers

## Rubric criteria for this column

- 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

## Review finding

Built in. The agent gets a cleared env (`env_clear`) plus an explicit allowlist (PATH, locale, TZ, TMPDIR, OTEL, SPORE_OWNERS, runtime sockets, validated plugin vars). Provider keys and source secrets stay in the runner behind brokers that require a per-turn tree key. Commands can make model calls through the broker socket, counted in the budget. No output redaction. [X139][X145][X146][X147][X148]

## Evidence cited by the mark

- [X145] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/workspace/src/lib.rs#L258-L269 — agent env PASSED_THROUGH allowlist — [S]
- [X147] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/source.rs#L1-L20 — source broker: agent never learns URL or secret — [S]
- [X148] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/spawn.rs#L659-L663 — cells env_clear plus named env — [S]

## Evidence also cited by the review finding

- [X139] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/rust/runner/src/main.rs#L795-L843 — agent started through confine unless unconfined; env_clear — [S]
- [X146] spore — https://github.com/RHIZOGRIP/spore/blob/4a9db7982fda3ae2f30a817fa0037c92e246f97f/packages/spore/src/core/turn-env.js#L19-L44 — host service secrets removed from runner env unless named — [S]

## Grading record

- Grader A (default / best): 4 / 4
- Grader B (default / best): 4 / 4
