Marks / Execution controls / Confinement
spore · Confinement
Default Landlock+seccomp+namespaces, fatal on failure; L4 unmet: outbound network and unix sockets reachable
Level
Criteria for this column
- 0
No restriction: tools run as the user with no approval or policy by 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
- 3
Default-on OS-enforced boundary for the main shell and file effects (filesystem writes restricted)
met - 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
Built in, Linux only, kernel-enforced by default. The agent runs under Landlock (reads limited to system/runtime/workspace paths, narrow write roots); exec gets a narrower Landlock plus seccomp; each turn has its own user/PID/mount namespaces. A confinement failure is fatal. Outbound network and visible unix sockets stay reachable (an accepted risk in SECURITY.md). No per-call approvals. [opt: unconfined: true; contain off]. X139X140X141X142X143X144 Note X-6
Pinned evidence
Cited by the mark
- X139
agent started through confine unless unconfined; env_clear
- X140
Landlock applied; failure is fatal SANDBOX_FAILED
RHIZOGRIP/spore packages/spore/src/isolation/sandbox.js L79-L113
- X142
exec runs confined with tmp write root; model socket passed to commands
RHIZOGRIP/spore packages/spore/src/tools/make-tools.js L230-L241
Also cited by the review finding
- X141
seccomp refuses namespace/mount/keyctl/bpf/io_uring/module calls
RHIZOGRIP/spore packages/spore/src/isolation/confine.c L172-L206
- X143
containment checked per turn; CONTAIN_FAILED
- X144
accepted risks: unix sockets reachable, UDP/egress open
Two independent graders
- Grader A
- 3 / 3
- Grader B
- 3 / 3
- Final
- 3 / 3