Skip to content

What may the host do with a guest's disks, and how much of the data disk may a crash lose?

Decided 2026-10-04: the mount rule becomes a SEC control, and A. Keep state and commits. The decision and its reasons are in the I44I44 (closed): S06-vm-lifecycle: data disk durability, and never mount a guest-written diskS06-vm-lifecycle says the data disk "can be rebuilt from host state plus git, so it may use relaxed write-through settings for speed". comment that starts Decision (2026-10-04):. Source: I44I44 (closed): S06-vm-lifecycle: data disk durability, and never mount a guest-written diskS06-vm-lifecycle says the data disk "can be rebuilt from host state plus git, so it may use relaxed write-through settings for speed".. Affects SEC00-indexSEC00-index: Security requirementsThe security controls Wraith Box enforces., 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., FR13-claude-stateFR13-claude-state: Claude Code state per projectClaude Code's conversation history, and the state it keeps only in the guest, persist per project, so --resume/--continue work within a project. and NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage..

host: trustedwb image buildmay write filesnew disk imagenever bootedguest-written after first bootsystem diskclone of the imagedata diskClaude Code state per projectcommits not yet pushedtool caches (can be rebuilt)sync setting: X05, X08 spikeswb-guestdfirst boothost kernelmounts, parseswb-hostdlanding repositorynevergit over vsock

Figure 1. The host may write into a new disk image while building it, before the guest has ever run from it. After the first boot both disks are written by the guest, which T00-indexT00-indexboundary 6 is the host terminal stream. treats as an adversary with root. Mounting either disk on the host (red) would make the host kernel parse a filesystem the adversary built. Work leaves the guest only through git to wb-hostd (S08-workspace-and-gitS08-workspace-and-git: Workspace and Git Round TripHow code gets into the guest and how the agent's work gets back out, without sharing the host filesystem.).

Decidable now.

Choice Recommendation Why
Where the rule goes A new control in SEC00-indexSEC00-index: Security requirementsThe security controls Wraith Box enforces., cited from 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. It protects the host from guest input, like SEC02-no-host-fs-shareSEC02-no-host-fs-share: No host filesystem sharingNo host directory is mounted into the guest, read-only or otherwise.. A control in SEC00-indexSEC00-index: Security requirementsThe security controls Wraith Box enforces. can’t be weakened to make something work (AGENTS.md). A sentence in 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. can.
When the exception ends At the image’s first boot “Before untrusted code has run”, the issue’s wording, is hard to judge: provisioning installs Homebrew packages, which run third-party code. The first boot is a clear point.

The issue says the rule goes in S03-requirementsS03-requirements: RequirementsThe problem Wraith Box solves, and where the requirements that answer it are. or 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.. Requirements are now in SEC00-indexSEC00-index: Security requirementsThe security controls Wraith Box enforces., and S03-requirementsS03-requirements: RequirementsThe problem Wraith Box solves, and where the requirements that answer it are. only points to them.

The target is decidable now. The settings that meet it wait on the spikes. The options are the brief’s, built from the issue’s proposal.

Keep relaxed settings for speed. wb-guestd pushes work to the landing repository and exports Claude Code state to the host on a timer.

Relaxed settings, and the data disk counts as something the host can rebuild.

RequirementA. Keep stateB. Push outC. As is
FR13-claude-stateFR13-claude-state: Claude Code state per projectClaude Code's conversation history, and the state it keeps only in the guest, persist per project, so --resume/--continue work within a project. Claude Code state persists per projectkept after crashup to last exportlost on crash
NFR02-fs-speedNFR02-fs-speed: FilesystemThe workspace is on guest-native storage. at least 80% of host throughputX05-fs-benchmarkX05-fs-benchmark: Filesystem benchmarkData disk with default versus relaxed write-through settings, against the host, on the NFR02-fs-speed workloads.relaxed syncas today
FR03-work-as-branchFR03-work-as-branch: Work returns as a branchThe agent never writes to the host working tree. work returns as a branchcommits keptup to last pushrecent commits lost
The host never parses guest dataholdsopaque exportholds
Spec workS06-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.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., S08-workspace-and-gitS08-workspace-and-git: Workspace and Git Round TripHow code gets into the guest and how the agent's work gets back out, without sharing the host filesystem.FR00-indexFR00-index: Functional requirementsWhat Wraith Box must do for the user.

The mount rule applies under every option. It supports SEC01-separate-kernelSEC01-separate-kernel: Separate kernelThe agent runs in a hardware-virtualized guest with its own kernel, never sharing a kernel with the host or with another environment of the user (for example a WSL distribution). 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 the host).

Details and glossary

Why mounting is dangerous. A filesystem driver in the host kernel trusts the on-disk structures more than a network parser trusts packets. A crafted APFS or HFS+ volume is a known way to attack a kernel. The guest has root, so it can write any bytes to its disks. Mounting a guest disk would add a third channel next to the two in S04-architectureS04-architecture: ArchitectureName the processes, the boundaries between them, and which requirement each boundary serves., the host-guest socket and Ethernet frames, which are the only places the host is meant to read guest data.

What still counts as allowed. Cloning a disk file (APFS clone), copying it, deleting it, and attaching it to a VM handle bytes without interpreting them. The rule is about interpreting the filesystem: mounting, fsck, scanning files.

Glossary