Skip to content

Can projects sharing the work VM keep their network grants apart?

Decided 2026-10-04: A. The VM is the enforced unit. The decision and its reasons are in the I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing"). comment that starts Decision (2026-10-04):. Source: I36I36 (closed): S07-egress-gateway: attribute network flows to projects in the shared work VMThe work VM hosts every trusted project, and its wb-netd sees one guest MAC and one leased IPv4 address (S07-egress-gateway "Addressing").. Affects T00-indexT00-indexboundary 6 is the host terminal stream., S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host., S09-policy-credentials-auditS09-policy-credentials-audit: Policy, Credentials, Certificates and AuditWhere policy comes from, how secrets are held, how TLS inspection is trusted, and what is recorded. and S13-guest-confinementS13-guest-confinement: Guest ConfinementControls inside the guest that narrow what a project user's processes can do, and tell the host which program opened each connection..

work VM: guest, untrustedproject user Aagent, git, toolsproject user Bagent, git, toolsone network cardone MAC address, one IPv4 addresshost: trustedwb-netdwhich project? unknownwb-proxydcredentials forproject A and project BGitHub: repo AGitHub: repo BB’s agent, A’s token

Figure 1. Every trusted project shares the work VM and its one network address. The host gateway (wb-netd, then the proxy wb-proxyd) sees the same address for both project users, so a rule or credential meant for project A is usable by project B’s agent. The red path doesn’t need root in the guest.

The host enforces the union of every work-VM project’s grants and credentials. Per-project and per-session rules narrow that union using a label the guest reports, recorded as untrusted. A new accepted threat in T00-indexT00-indexboundary 6 is the host terminal stream. says so.

B. Project secrets only in a VM of their own

Section titled “B. Project secrets only in a VM of their own”

The work VM gets only credentials and write grants that every project in it shares. A project with its own token runs alone in the second VM slot.

Give each project user its own virtual network card, and route by user inside the guest.

RequirementA. VM unitB. Own VMC. Routing
SEC06-repo-writesSEC06-repo-writes: Repository-scoped writesGit pushes and repository-mutating API calls are allowed only for the repositories of the projects that have a session in the VM. pushes and repository writes only to the project’s own repositoriesany work-VM projectkeptnon-root only
SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another. one project cannot reach into anotherfiles onlykeptnon-root only
SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter. audit records the project and sessionguest labelkeptguest label
FR09-approve-unknownFR09-approve-unknown: Approve unknown destinationsA request to an unknown destination is blocked and offered to the user for approval out-of-band (allow once, allow for project, deny). approval “allow for this project”whole VMwhole VMnon-root only
T02-dns-namesT02-dns-names: Data in DNS namesData encoded in DNS names under allowed wildcards, bounded by a lookup budget per VM (S07-03-dns). DNS lookup budget per sessionper VMper VMper VM
NFR05-two-macos-vmsNFR05-two-macos-vms: Platform limitmacOS permits at most two concurrently running macOS guests per host. at most two macOS VMsfitsone projectfits
Spec workT00-indexT00-indexboundary 6 is the host terminal stream., S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host., S09-policy-credentials-auditS09-policy-credentials-audit: Policy, Credentials, Certificates and AuditWhere policy comes from, how secrets are held, how TLS inspection is trusted, and what is recorded.S06-vm-lifecycleS06-vm-lifecycle: VM Lifecycle, Images and the Guest AgentHow guest images are built, how VMs are kept warm, how projects and sessions map onto guests, and what wb-guestd does., S09-policy-credentials-auditS09-policy-credentials-audit: Policy, Credentials, Certificates and AuditWhere policy comes from, how secrets are held, how TLS inspection is trusted, and what is recorded.spike first

SEC04-no-guest-secretsSEC04-no-guest-secrets: No secrets in the guestThis includes the model credential. (no secrets in the guest), SEC05-default-denySEC05-default-deny: Default-deny egress, enforced on the hostOnly allowlisted hostnames are reachable. (default-deny egress), 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. (guest root doesn’t gain control over enforcement) hold under every option.

Details and glossary

Why the issue rules out option C. T00-indexT00-indexboundary 6 is the host terminal stream. assumes the agent may hold root in the guest. Anything inside the guest that decides which network card or address a connection uses, root can change. So routing by user protects against an agent without root, and against nothing more. That is the same protection a guest label gives in option A.

A related question. The git transport over the host-guest socket has the same problem: wb-hostd learns which project a push is for from wb-guestd, which runs in the guest. Risk T05-cross-proj-clonesT05-cross-proj-clones: Other projects' clones after guest rootAfter a guest root escalation inside the shared work VM, read or write access to other projects' guest clones (code only; no secrets are present; changes still return only as reviewable branches). covers that today (“changes still return only as reviewable branches”).

Glossary