Can a compromised wb-download install an older macOS build?
Answered 2026-11-29: no. Decided 2026-11-29: B, pin the known builds (I658I658 (open): wb-hostd: accept only restore images whose SHA-256 is on the release's pinned list (B618 option B)Package IMG.2 of docs/implementation-plan.md, part 5 of 5 (IMG.2e).). Source: I618I618 (closed): X33-restore-downgrade: Restore image downgrade by a compromised wb-downloadFollow-up from #262 (X30-installer-trust)., X33-restore-downgradeX33-restore-downgrade: Restore image downgradeCan a compromised wb-download install an older macOS build that Apple's signing server still signs for a VM, by reporting a newer version in its catalog entry?. Affects S17-04-restore-and-releaseS17-04-restore-and-release: Restore Image and ReleaseThe steps by which wb-download and wb-hostd fetch and check a macOS restore image and a Claude Code release. and I658I658 (open): wb-hostd: accept only restore images whose SHA-256 is on the release's pinned list (B618 option B)Package IMG.2 of docs/implementation-plan.md, part 5 of 5 (IMG.2e)..
The picture
Section titled “The picture”Figure 1. The downgrade path that X33-restore-downgradeX33-restore-downgrade: Restore image downgradeCan a compromised wb-download install an older macOS build that Apple's signing server still signs for a VM, by reporting a newer version in its catalog entry? measured. The checks of S17-04-restore-and-releaseS17-04-restore-and-release: Restore Image and ReleaseThe steps by which wb-download and wb-hostd fetch and check a macOS restore image and a Claude Code release. and the version that VZMacOSRestoreImage reports all come from what wb-download wrote. Apple’s signing server signs the old build. The guest reads its version from the system volume, which the restore OS checks (X30-installer-trustX30-installer-trust: Installer refusal of a changed restore imageDoes the Virtualization framework's macOS installer, run by wb-vmd-install, refuse a restore image that Apple didn't sign, or one with a changed or replaced component, and does the install contact Apple while wb-vmd-i…).
Options
Section titled “Options”A fourth option, reading the version from the installed system volume on the host, isn’t viable: SEC15-no-guest-disk-mountSEC15-no-guest-disk-mount: The host never mounts a guest-written diskA disk image is guest-written once a guest has run with it attached, and every copy or clone of a guest-written image is guest-written too. forbids the host to mount a guest disk.
The case for B. B refuses an old build before it boots at all, and doesn’t trust anything the guest says, not even wb-guestd on a fresh Apple OS. It also catches a build that equals the entry but that Apple withdrew. Its cost is the release cadence: a pinned list ties Wraith Box releases to Apple’s, and a user who updates macOS first can’t build an image until Wraith Box ships.
Confidence in A is medium. A finding that the guest’s sw_vers can be changed without failing the install, or that the old build’s first boot can reach more than the build network, would favor B.
| Requirement | A. Guest version | B. Pinned builds | C. Keep the gap |
|---|---|---|---|
| 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 can’t reach another’s data | guest OS at or above the floor | guest OS from the list | any signed build |
| SEC15-no-guest-disk-mountSEC15-no-guest-disk-mount: The host never mounts a guest-written diskA disk image is guest-written once a guest has run with it attached, and every copy or clone of a guest-written image is guest-written too. the host never mounts a guest disk | asks wb-guestd | hashes the download | no change |
| SEC12-least-privilegeSEC12-least-privilege: Least privilege on the hostNo root or administrator rights at run time and no extra host user accounts. least privilege on the host | no new rule | no new rule | no change |
What approving commits to
Section titled “What approving commits to”- S17-04-restore-and-releaseS17-04-restore-and-release: Restore Image and ReleaseThe steps by which wb-download and wb-hostd fetch and check a macOS restore image and a Claude Code release., “The trust base”, says the server signed VM builds back to 13.0, and that the version
VZMacOSRestoreImagereports comes from an unsigned file, which an attacker can rewrite. The gap stays in the spec until you pick an option. - I658I658 (open): wb-hostd: accept only restore images whose SHA-256 is on the release's pinned list (B618 option B)Package IMG.2 of docs/implementation-plan.md, part 5 of 5 (IMG.2e)., which plans to check that version, has nothing to build as written. Its own text says it closes as not planned when the version can be changed. Closing it, or changing it to option A or B, is your call.
Evidence
Section titled “Evidence”- verified Apple’s restore images of 27.2, 27.0 (below the 27.0.1 floor), 26.0 and 13.0 each installed on 2026-11-28, with five signing server responses each (
results/README.md). - verified
VZMacOSRestoreImagereads the build and the version fromBuildManifest.plist. Rewriting only that entry changed both, and rewriting onlyRestore.plistorSystemVersion.plistchanged neither (version-source.jsonl). - verified The 27.0 image rewritten to 27.2.1 reported 26B131, installed in 144 s, and its guest’s
sw_verssaid 27.0 (26A428) (c04-guest-sw_vers.txt). - inferred The guest’s version can’t be changed the same way, because the restore OS checks the system volume (X30-installer-trustX30-installer-trust: Installer refusal of a changed restore imageDoes the Virtualization framework's macOS installer, run by wb-vmd-install, refuse a restore image that Apple didn't sign, or one with a changed or replaced component, and does the install contact Apple while wb-vmd-i…). The spike didn’t try to change it.
- assumed The server keeps signing these builds. One day’s answers, and Apple can stop at any time.
What this unblocks
Section titled “What this unblocks”- I658I658 (open): wb-hostd: accept only restore images whose SHA-256 is on the release's pinned list (B618 option B)Package IMG.2 of docs/implementation-plan.md, part 5 of 5 (IMG.2e). (IMG.2e): closed, or changed to the option you pick.
- The image build of V1-M7-image-buildV1-M7-image-build: Image buildwb image build downloads the restore image and the Command Line Tools, installs and provisions a VM over the build network, installs the minimal base layer, and installs Claude Code in its own top layer.: its trust base is measured in full.
Details and glossary
Why the attacker rewrites the manifest. If wb-download only lied in its entry and served Apple’s 27.0 image unchanged, VZMacOSRestoreImage would report 26A428, and comparing that with the entry would catch it. An attacker who controls wb-download controls the file as well, so they rewrite the manifest’s version strings and report the new file’s SHA-1. The signing server never sees those strings: it signs the component digests, which are unchanged.
The guest reads a checked volume. The guest reads its version from the system volume. The restore OS checks that volume while it copies it, and one changed byte failed the install (X30-installer-trustX30-installer-trust: Installer refusal of a changed restore imageDoes the Virtualization framework's macOS installer, run by wb-vmd-install, refuse a restore image that Apple didn't sign, or one with a changed or replaced component, and does the install contact Apple while wb-vmd-i…). In c04 the guest reported its true build after a manifest that lied.
Glossary
- Restore image (IPSW): Apple’s archive that macOS installs from.
- Build manifest:
BuildManifest.plistin the image, which lists the build and the digests of its components. No signature covers the file itself. - Signing server (TSS): Apple’s service that personalizes an install: it signs a ticket that lists the component digests for one device, here the VM.
- Floor and rollback check: S17-04-restore-and-releaseS17-04-restore-and-release: Restore Image and ReleaseThe steps by which wb-download and wb-hostd fetch and check a macOS restore image and a Claude Code release. refuses an entry older than 27.0.1, or older than the last sealed image.