S15 - Least Privilege on the Host
Purpose: The security design for SEC12-least-privilegeSEC12-least-privilege: Least privilege on the hostNo root or administrator rights at run time and no extra host user accounts.: which rights Wraith Box takes on the host, where credentials are held, and how each host process gets only the credentials it needs, for only as long as it needs them.
Requirements: SEC12-least-privilegeSEC12-least-privilege: Least privilege on the hostNo root or administrator rights at run time and no extra host user accounts., with SEC04-no-guest-secretsSEC04-no-guest-secrets: No secrets in the guestThis includes the model credential., SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter. and SEC11-root-gains-nothingSEC11-root-gains-nothing: Guest root is not a privilegeFull control of the guest grants no control over enforcement, secrets, or policy. where a credential crosses a boundary.
Tests: C05-credentials-and-storeC05-credentials-and-store: Credentials and the Secret StoreThe test cases for the secret store and its callers, the signing setup that gives development builds their Keychain groups, and the credential checks wb-proxyd makes on guest requests and server responses., C09-guest-and-sessionsC09-guest-and-sessions: Guest and SessionsThe test cases for what a project user can reach inside the guest, wb-guestd's update and the guest clock, the shared toolchain prefix, the guest admin password, and the session lifecycle.
Briefs: B145-least-privilegeB145-least-privilege: Where are credentials held on the host, and who may reach them?Recommended, the configured secret store holds every credential, and each host process gets a declared set of items just in time., B23-keychain-unsignedB23-keychain-unsigned: How do development builds without a signing identity keep their Keychain items and their CA key?Between updates the access-control list works, but after each update every item asks for a password nobody knows., B248-dev-signingB248-dev-signing: Can development builds signed by the developer's own team share Keychain items across an update?Yes, with conditions., B28-image-buildB28-image-build: Can an unprivileged host build a macOS guest image without SSH or clicks?No., B419-admin-pathB419-admin-path: How does the person at the host's terminal get root in their own guest, apart from every agent path?Recommended, a root daemon of its own in the guest, wb-guestroot, opened only by wb vm admin after a typed confirmation.
Design
Section titled “Design”Out of scope
Section titled “Out of scope”- The browser login for a Claude subscription (I257I257 (open): Host-side browser login for the model credential (after V1)A host-side browser login for the model credential, deferred past V1 by the B15-browser-login decision on #15 (2026-10-15, option B not chosen for V1).). The long-lived token is in S09-05-credentialsS09-05-credentials: CredentialsHow credentials are stored and bound to requests, and how the model credential reaches the model API without entering the guest., “Model credential”.
- Project users’ accounts in the guest, which have no password the host keeps.
- The other
SEC*controls.
Status: Draft