Build Witness

com.maccrab.forensics.build-witness0.1.0

Did your build change between compile, sign and upload?

What it does

It compares the checkpoints you took after building, signing and uploading, and tells you which files changed, appeared or disappeared. It cannot take checkpoints itself.

What it reads

  • checkpoint
  • write-eventsFile-write events exported from MacCrab, if you add them.

As declared in its signed entry. The list does not limit what an unsandboxed plugin can read.

What you’ll see

An example record from the plugin’s test fixtures, not from its signed entry. Type build_witness.finding.

Selected artifact checkpoint

Codecode
checkpoint
Pathpath
built.json
Statement typestatementType
observed
Full record
{"contentType": "build_witness.finding","summary": "Selected artifact checkpoint","data": {"code": "checkpoint","detail": "Locally captured or imported bytes at an operator-declared stage. The stage label does not prove a build, signature verification or upload occurred; imported provenance is unverified.","evidence": {"captureEndedUnix": 1789732801,"captureStartedUnix": 1789732800,"complete": true,"fileCount": 1,"runID": "11111111-2222-3333-4444-555555555555","stage": "built","treeID": "f88f084db38dcf0529f33c1819f68183105436e417ee2957413409c5f6223919"},"path": "built.json","statementType": "observed","title": "Selected artifact checkpoint"}}

Other record types: rave.collection, build_witness.summary.

What it can’t tell you

If a checkpoint is incomplete, a missing file proves nothing.

More limits and access

Optional supplied MacCrab write exports add exact-path/time associations; a reported PID does not prove which process caused a hash change. A signed label does not verify a signature, and upload does not prove uploaded bytes or destination.

Its signed entry lists no macOS privacy permissions. Its results have to be kept in an encrypted scan.

Where it fits

Rave’s editorial reading of the signed entry.

What it can see of a file, from being set up to the records it leaves behind.

  1. Set upconfiguredIt cannot see it
  2. Arrivedwhen it showed upOnly from something you supply
  3. Nowhow it looks nowOnly from something you supply
  4. Usedwhen it was usedIt cannot see it
  5. Gonethat it was removedOnly from something you supply
  6. Tracesrecords that can outlive itIt cannot see it
Time
Records carry the time of the event itself.
Identities
The companion computes identities when it captures a checkpoint.
Set up first
build-witness-tools captures each checkpoint. The plugin only compares.

Where each plugin looks

Signature and versions
Publishermaccrab-rave:first-party
Publisher key
07e39eb12c15b8052f5249134ea3337a0789ebc799d1c58d097aaa548a8aaae3
Archive SHA-256
6027cc73c8e752bf4a6e7c0c01a2d7e136186f84915fb14efdc8f48bcb5098aa
SourcePrivate. Commit af1aef805f8d, tag v0.1.0
Checked. Automated passes, as recorded: manifest-schema-v1, reproducible-build-verified, developer-id-signed, ed25519-signature-verified, publisher-key-pin-matched, publisher-key-not-revoked.
Source rebuild not applicable: this first-party entry publishes no source repository for an independent rebuild. A recorded maintainer rebuild check is not independent source verification.
In catalogSerial 8, signed
Revocation listSerial 2, issued . MacCrab checks its own copy when installing; this date is not when your Mac last checked. No revocation for 0.1.0.

Before it installs, MacCrab checks the catalog signature, this hash, the publisher key and the revocation list. How it checks The signed entry Its signature

Build Witness 0.1.0 (com.maccrab.forensics.build-witness), archive SHA-256 6027cc73c8e752bf4a6e7c0c01a2d7e136186f84915fb14efdc8f48bcb5098aa, publisher key 07e39eb12c15b805…, Rave catalog 8, 2026-10-04.

Pastes as Markdown, with both hashes and the limits.

Versions

0.1.0Approved , checked . Current.
Publisher’s description (signed)

Compare selected artifact checkpoints from the same declared build run at built, signed and upload stages. Reports byte changes, filesystem-identity changes, newly observed files and files no longer observed. Incomplete observations produce inconclusive absence wording. Optional supplied MacCrab write exports add exact-path/time associations; a reported PID does not prove which process caused a hash change.

The installed collector is read-only and rejects --capture. The separate build-witness-tools companion explicitly captures a selected regular-file tree, recording SHA-256, size, device/inode and a capture interval. It uses bounded no-follow reads, detects observable changes during capture, and creates a new mode-0600 checkpoint outside the assessed tree without overwrite. Capture is not an atomic snapshot and never launches a build, signing command or upload.

Stage labels, run IDs, root paths and imported events are unauthenticated assertions. A signed label does not verify a signature, and upload does not prove uploaded bytes or destination. Legitimate signing can change bytes. Selected paths, digests, IDs, timestamps and counts require encrypted scans; file bodies, commands and environment values are withheld. Select checkpoints in MacCrab 1.22.3; missing, changed, malformed and over-limit evidence remains visible. First-party plugins inherit host access; manifest capabilities are declarations, not an independent OS sandbox.

Discussion

Questions and field notes from people using it. Sign in with GitHub to join in.

Comments load automatically from giscus.app and GitHub.

Open discussions on GitHub