Marks / Execution controls / Confinement
letta-code · Confinement
OS sandbox default-on only for memory subagents; main shell unconfined under unrestricted mode; network never isolated
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
met - 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
Default permission mode unrestricted allows every tool once deny/alwaysAsk rules and a cross-agent memory guard have run. The main shell has no OS sandbox unless LETTA_FS_SANDBOX=1 (which only shields other agents' memory) or an app-server workspace_sandbox (fails closed). Memory subagents get bwrap/Seatbelt by default but launch unconfined if no backend exists. Network is never isolated. X49X50X51X52X53X54X55
Pinned evidence
Cited by the mark
- X49
DEFAULT_PERMISSION_MODE = unrestricted
- X52
memory-subagent sandbox on by default; main-shell cross-agent sandbox only with LETTA_FS_SANDBOX=1
- X54
no backend: warn and launch memory subagent unconfined
Also cited by the review finding
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 2 / 2
- Final
- 2 / 2