Marks / Execution controls / Credential handling
goose · Credential handling
Keychain option exists, but shell/hooks/stdio inherit full env; L2 unmet: no default env denylist
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
met - 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
What the source review found
Secrets resolve from env, then OS keychain (keyring 3.6.3), then secrets.yaml. Shell, hooks, recipe checks and stdio extensions inherit goose's full environment (no env_clear), so env-supplied keys are readable. Only configured extension env is filtered, and only for loader variables. Tool output and request logs are not redacted. X20X22X26X27X28
Pinned evidence
Cited by the mark
- X20
shell spawned with inherited env, only AGENT/GOOSE_TERMINAL/AGENT_SESSION_ID added
aaif-goose/goose crates/goose/src/agents/platform_extensions/developer/shell.rs L575-L625
- X26
secret precedence env, then keyring, then secrets.yaml
- X27
DISALLOWED_KEYS filters configured extension env only
aaif-goose/goose crates/oi-kit-agent/src/extension.rs L88-L166
Also cited by the review finding
- X22
[opt --container] stdio extensions via docker exec; no env_clear
aaif-goose/goose crates/oi-kit-agent/src/mcp/stdio.rs L24-L57
- X28
request logs hold full payloads, 0600, 10 files, no redaction
aaif-goose/goose crates/goose/src/providers/utils.rs L62-L120
Two independent graders
- Grader A
- 1 / 1
- Grader B
- 1 / 1
- Final
- 1 / 1