You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a786dfb
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: architecture/sandbox.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ Each sandbox has three trust levels:
11
11
| Component | Role |
12
12
|---|---|
13
13
| Supervisor | Owns gateway credentials, admitted policy, L7 proxying, SSH, and gateway relays. It never executes inside the agent workload. |
14
-
| Sandbox | Runs as the same non-root identity as the agent, installs the workload seccomp listener, applies the Landlock baseline, owns child processes, and mediates the protected supervisor channel. |
15
-
| Agent child |Inherits the sandbox network listener and runs with zero capabilities, `no_new_privs`, Landlock, and the final syscall filter. |
14
+
| Sandbox | Runs as the same non-root identity as the agent, owns child processes, mediates the protected supervisor channel, and instantiates the driver-selected native Linux or gVisor adapter. |
15
+
| Agent child |Runs with zero capabilities behind the selected adapter. Native Linux children inherit seccomp mediation, `no_new_privs`, Landlock, and the final syscall filter; gVisor children rely on the sentry, OCI mounts, and the outer network fence. |
16
16
17
17
The runtime grants neither trusted component nor agent child any Linux
18
18
capability inside the workload. Drivers resolve one exact non-root UID, GID,
@@ -65,8 +65,8 @@ replacement from granting authority.
65
65
run untrusted code yet.
66
66
3.`openshell-supervisor` loads policy and runtime settings from the gateway,
67
67
attaches to the sandbox, and verifies the driver's generation and evidence.
68
-
4. The sandbox installs its seccomp notification broker and Landlock baseline,
69
-
validates its mechanism-specific audit evidence, and reports backend-neutral
68
+
4. The sandbox starts the selected runtime adapter, validates its mechanism-
69
+
specific audit evidence, and reports backend-neutral
70
70
enforcement properties. The supervisor must accept those properties and
71
71
their immutable session and resource binding before it sends the launch
72
72
permit. Other isolation backends may establish the same properties with
@@ -103,6 +103,16 @@ OpenShell uses overlapping controls rather than a single sandbox primitive:
103
103
| Driver outer fence | Docker `network_mode=none`, a NIC-less VM, or Kubernetes NetworkPolicy prevents any missed or unsupported kernel path from escaping. |
0 commit comments