Marks / Execution controls / Confinement
openclaw · Confinement
Default off. Docker sandbox confines exec and file tools (sandboxed read/write/edit, src/agents/core-coding-tools.ts:19-21), network none; auxiliary-process confinement unresolved
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
- 3
Default-on OS-enforced boundary for the main shell and file effects (filesystem writes restricted)
best - 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: sandbox.mode is off, and exec runs on the Gateway host with security full and ask off. File tools are not workspace-limited unless tools.fs.workspaceOnly is set. before_tool_call hooks fail closed. [opt: sandbox docker/podman/ssh; Docker defaults are network none, read-only root, cap-drop ALL]. A sandboxed parent cannot spawn an unsandboxed child. X78X79X80X81X82X83X84
Pinned evidence
Cited by the mark
- X78
sandbox mode default off, workspaceAccess none
- X79
[opt docker] readOnlyRoot true, network none, capDrop ALL, pidsLimit 1024
- X80
exec DEFAULT_SECURITY full, DEFAULT_ASK off, ask fallback deny
openclaw/openclaw src/infra/exec-approvals-config.ts L94-L96
Also cited by the review finding
- X81
workspace root guard only under tools.fs.workspaceOnly or session policy
- X82
before_tool_call hooks can block or require approval (fail-closed)
openclaw/openclaw src/agents/agent-tools.before-tool-call.policy.ts L247-L268
- X83
sandboxed parent cannot spawn unsandboxed child
openclaw/openclaw src/agents/tools/sessions-spawn-visible.ts L274-L289
- X84
approvals described as operator guardrails, not hostile multi-tenant isolation
openclaw/openclaw docs/gateway/security/trust-model.md L78-L79
Two independent graders
- Grader A
- 0 / 2
- Grader B
- 0 / 3
- Final
- 0 / 3
Adjudicated · disagreement; coordinator code check
Default off. Docker sandbox confines exec and file tools (sandboxed read/write/edit, src/agents/core-coding-tools.ts:19-21), network none; auxiliary-process confinement unresolved