Confinement
Criteria per level
- 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)
- 4
Level 3, plus network restricted by default and children and auxiliary processes (MCP stdio, hooks, cron) confined at least as tightly
Every runtime, in report order
- 3 codex Default-on bwrap/seccomp/Seatbelt for shell and apply-patch, network denied; L4 unmet: MCP stdio servers unsandboxed
Review finding
Built in, on by default for shell, unified-exec and apply-patch: Seatbelt (macOS); bwrap + seccomp + no_new_privs (Linux); restricted token (Windows, only when enabled). Default
read-onlymode can still read the whole filesystem. Trusted projects getworkspace-write. Network is denied inside the sandbox. MCP stdio servers run unsandboxed. An approval can lift a sandbox denial. X1X2X3X4X5X6 Note X-1 - 0 ↑2 goose opt: --container (stdio/goose-mcp extensions only) Default Auto allows all calls, no OS boundary; --container confines only a subset, developer shell/edit stay on host
Review finding
No OS boundary by default; tools run as the user with full filesystem and network access. Default
GOOSE_MODE=autoallows every call in the permission inspector before userNeverAllowrules are read. [opt: approve/smart_approve; PreToolUse hooks, fail-open unlesson_failure: block;--containerdocker exec for stdio and goose-mcp extensions, but not developer shell/edit]. X18X19X20X21X22X23X24X25 Note X-2 - 1 ↑3 hermes-agent opt: terminal.backend docker Default approval layer only; docker backend confines shell and file tools (they use the terminal env); network on, so not L4
Review finding
No OS boundary by default (
terminal.backend: local). Approval gatesmart(an auxiliary-LLM guardian) runs after hardline command floors that cannot be bypassed;--yoloallows everything else. Contexts with no matching unattended rule are allowed. File tools deny writes (not reads) to credential and system paths. [opt: docker (cap-drop ALL, network on by default), modal, daytona, vercel, ssh]. X33X34X35X36X37X38X39 Note X-3 - 2 letta-code OS sandbox default-on only for memory subagents; main shell unconfined under unrestricted mode; network never isolated
Review finding
Default permission mode
unrestrictedallows every tool once deny/alwaysAskrules and a cross-agent memory guard have run. The main shell has no OS sandbox unlessLETTA_FS_SANDBOX=1(which only shields other agents' memory) or an app-serverworkspace_sandbox(fails closed). Memory subagents get bwrap/Seatbelt by default but launch unconfined if no backend exists. Network is never isolated. X49X50X51X52X53X54X55 - 2 nullclaw Sandbox enabled, auto backend wraps shell only if installed; file tools, subagents, cron, MCP stdio unwrapped; L3 unmet
Review finding
Default
supervisedpolicy (an approval-layer check, not an OS boundary): a shell allowlist (git, ls, cat…) that blocks high- and medium-risk commands (rm, curl, wget) and redirects. A model call that needs approval simply fails. OS wrapperauto: firejail, then bwrap, then docker (--network none), else none; the Landlock entry is a stub. Subagent, cron and MCP stdio processes are not wrapped. X63X64X65X66X67X68X69 Note X-4 - 0 ↑3 openclaw opt: sandbox.mode docker 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
Review finding
No OS boundary by default:
sandbox.modeis off, and exec runs on the Gateway host with securityfulland askoff. File tools are not workspace-limited unlesstools.fs.workspaceOnlyis set.before_tool_callhooks fail closed. [opt: sandbox docker/podman/ssh; Docker defaults are networknone, read-only root, cap-drop ALL]. A sandboxed parent cannot spawn an unsandboxed child. X78X79X80X81X82X83X84 - 1 opencode Allow/ask/deny ruleset (allow *, *.env ask); no OS sandbox in release or dev builds
Review finding
No OS sandbox in release or dev builds; shell, MCP stdio and file tools run as the user. An ordered allow/ask/deny ruleset defaults to allow
*, external directories included;*.envreads ask. Shell commands are parsed for paths. Remote workspaces exist only if the embedder supplies a provider. A child agent's rules are not intersected with its parent's denies. X96X97X98X99X100 - 0 ↑2 pi alt: Docker / OpenShell / Gondolin (documented) No approvals or OS boundary in the CLI; documented alternative deployments count at B but are capped at 2 (rule 1)
Review finding
None by default. Tools run with the OS user's permissions and no approval prompts; cwd only resolves relative paths. Project trust gates resource loading, not effects. Approval exists only through an extension
tool_callhook (shipped as an example). [alt: Docker, Docker Sandboxes, OpenShell, Gondolin VM; documented/example]. Codemode scripts run in QuickJS without fs or network. X110X111X112X113X114 - 0 ↑3 software-agent-sdk opt: DockerWorkspace / server docker runtime Local default host execution, NeverConfirm; container workspaces run all tools inside the container; open bridge network, so not L4
Review finding
No enforced boundary in the local default: terminal, file editor (any absolute path) and browser run on the host.
confirmation_policydefaults toNeverConfirmand the analyzer is off. [opt: AlwaysConfirm/ConfirmRisky; blocking PreToolUse hooks]. [opt: DockerWorkspace: open bridge network, no cap-drop, passwordless-sudo image]. [opt: server docker runtime: cap-drop ALL, no-new-privileges, resource limits, host bind mounts]. X124X125X126X127X128X129X130 - 3 spore Default Landlock+seccomp+namespaces, fatal on failure; L4 unmet: outbound network and unix sockets reachable
Review finding
Built in, Linux only, kernel-enforced by default. The agent runs under Landlock (reads limited to system/runtime/workspace paths, narrow write roots);
execgets 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