# hermes-agent · 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: [hermes-agent](https://ai-agents-review.com/runtime/hermes-agent.md)
- Column: [Credential handling](https://ai-agents-review.com/column/credential-handling.md) (Execution controls)
- Mark: 2 s
- Default deployment: 2
- Best supported configuration: 2
- Page: https://ai-agents-review.com/cell/hermes-agent/credential-handling

## Rationale

Local subprocesses get env minus provider/cloud blocklist; L3 unmet: no cleared env; .env/auth.json readable

## 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

Partial, built in. Local subprocesses inherit the env minus a blocklist of provider, messaging and cloud keys plus registry key vars; other variables pass through. MCP stdio servers get an allowlist. Secret redaction is on by default for logs, terminal output and child summaries. `.env` and `auth.json` (0600) stay readable to the local shell. [X40][X41][X42][X43][X44]

## Evidence cited by the mark

- [X40] hermes-agent — https://github.com/NousResearch/hermes-agent/blob/3ef8bf4f68c91dce2870eba5625426b32ac6ba58/tools/environments/local_env_policy.py#L28-L67 — static provider/messaging/cloud env blocklist for local subprocesses — [S]
- [X41] hermes-agent — https://github.com/NousResearch/hermes-agent/blob/3ef8bf4f68c91dce2870eba5625426b32ac6ba58/tools/environments/local.py#L329-L357 — blocklist applied when spawning local subprocesses — [S]
- [X42] hermes-agent — https://github.com/NousResearch/hermes-agent/blob/3ef8bf4f68c91dce2870eba5625426b32ac6ba58/tools/mcp_tool_config.py#L147-L244 — MCP stdio env allowlist — [S]

## Evidence also cited by the review finding

- [X43] hermes-agent — https://github.com/NousResearch/hermes-agent/blob/3ef8bf4f68c91dce2870eba5625426b32ac6ba58/agent/redact.py#L69-L75 — redact_secrets on by default — [S]
- [X44] hermes-agent — https://github.com/NousResearch/hermes-agent/blob/3ef8bf4f68c91dce2870eba5625426b32ac6ba58/hermes_cli/config_defaults.py#L1716-L1720 — security.redact_secrets True — [S]

## Grading record

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