Marks / Execution controls / Credential handling
hermes-agent · Credential handling
Local subprocesses get env minus provider/cloud blocklist; L3 unmet: no cleared env; .env/auth.json readable
Level
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
met - 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
What the source review found
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. X40X41X42X43X44
Pinned evidence
Cited by the mark
- X40
static provider/messaging/cloud env blocklist for local subprocesses
NousResearch/hermes-agent tools/environments/local_env_policy.py L28-L67
- X41
blocklist applied when spawning local subprocesses
NousResearch/hermes-agent tools/environments/local.py L329-L357
- X42
MCP stdio env allowlist
NousResearch/hermes-agent tools/mcp_tool_config.py L147-L244
Also cited by the review finding
- X43
redact_secrets on by default
- X44
security.redact_secrets True
NousResearch/hermes-agent hermes_cli/config_defaults.py L1716-L1720
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 2 / 2
- Final
- 2 / 2