Marks / Execution controls / Confinement
goose · Confinement
Default Auto allows all calls, no OS boundary; --container confines only a subset, developer shell/edit stay on host
Level
Criteria for this column
- 0
No restriction: tools run as the user with no approval or policy by default
default - 1
Policy or approval layer only (allowlists, approval prompts, reviewer model). No OS boundary
- 2
An OS/container boundary exists but is opt-in, or is default-on only for a subset of effect paths, leaving the main shell/file tools unconfined
best - 3
Default-on OS-enforced boundary for the main shell and file effects (filesystem writes restricted)
- 4
Level 3, plus network restricted by default and children and auxiliary processes (MCP stdio, hooks, cron) confined at least as tightly
What the source review found
No OS boundary by default; tools run as the user with full filesystem and network access. Default GOOSE_MODE=auto allows every call in the permission inspector before user NeverAllow rules are read. [opt: approve/smart_approve; PreToolUse hooks, fail-open unless on_failure: block; --container docker exec for stdio and goose-mcp extensions, but not developer shell/edit]. X18X19X20X21X22X23X24X25 Note X-2
Pinned evidence
Cited by the mark
- X18
GOOSE_MODE unset resolves to Auto
aaif-goose/goose crates/goose/src/config/base.rs L1330-L1338
- X19
Auto returns Allow before user permission rules; Approve/SmartApprove consult them
aaif-goose/goose crates/goose/src/permission/permission_inspector.rs L155-L190
- X23
platform extensions (incl. developer) excluded from container path, run in-process
aaif-goose/goose crates/goose/src/agents/services.rs L384-L403
Also cited by the review finding
- 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
- X21
file edit accepts any absolute path
aaif-goose/goose crates/goose/src/agents/platform_extensions/developer/edit.rs L178-L189
- X22
[opt --container] stdio extensions via docker exec; no env_clear
aaif-goose/goose crates/oi-kit-agent/src/mcp/stdio.rs L24-L57
- X24
PreToolUse hooks can block; fail open unless on_failure: block
- X25
macOS seatbelt sandbox removed; server process not OS-sandboxed
aaif-goose/goose documentation/blog/2026-02-23-goose-v1-25-0/index.md L22
Two independent graders
- Grader A
- 0 / 2
- Grader B
- 0 / 2
- Final
- 0 / 2