Verify what you install

Zuke runs your build, with your credentials. You should not have to take our word for what is in it. Every package and binary we publish can be checked against this repository, and for npm you can rebuild it yourself and compare the bytes.

Why this page exists

Each check below says what it proves and what it does not. Together they answer two questions: who built this, and is it what the public source says it is. None of them proves the source is free of bugs; that is what code review, the test suite and the security policy are for.

JSR packages (@zuke/*)

  • Provenance. Every version is published from Zuke's release workflow through OIDC, and JSR records a Sigstore provenance attestation for it. Open the version on jsr.io and check its provenance panel: it names zuke-build/zuke, the exact commit, and the workflow run. Proves which workflow and commit published it. Does not prove anything about that commit's content.
  • Source as published. JSR packages are the committed TypeScript files, with no compile step, so a version can be diffed directly against its provenance commit. Proves the files are that commit's. Does not prove the commit is sound.

npm packages (@zuke-build/*)

On npm, the same packages are compiled to JavaScript with tsc before they are published, so there is a build step to trust. These checks cover it.

  • The provenance badge. npmjs.com shows a "Built and signed on GitHub Actions" badge on each version, linking the commit and the workflow run. Proves which workflow and commit built it. Does not prove the files are what that commit compiles to.
  • npm audit signatures. Run it in your own project after installing.
    # In your own project, after installing:
    npm audit signatures
    Proves each tarball carries npm's registry signature, and that some Sigstore identity signed its provenance. Does not prove the identity is Zuke's: npm applies no identity policy. The rebuild below checks that.

Rebuild and compare

npmVerify is a target in Zuke's own build. Run it from any clone of the repository; there is no tag to check out:

git clone https://github.com/zuke-build/zuke
cd zuke
./zuke npmVerify

For every published package version, it:

  1. Requires an SLSA provenance attestation, and verifies it with Sigstore against Zuke's exact identity: the release.yml workflow of zuke-build/zuke on master, issued by GitHub. The certificate names the commit the package was built from, and that commit must be on master.
  2. Checks that the signed statement names the exact bytes npm serves, by their sha512.
  3. Rebuilds the package from that commit, in a clean checkout of it, with that commit's own build scripts and pinned compiler. It installs the published version the way npm does (with install scripts off) and compares every installed file with the rebuild, byte for byte.
  4. Compares the registry's manifest, the copy npm acts on when it installs, with the rebuild for every field that changes what npm runs or resolves: scripts, dependencies, executables, platform limits, entry points. A tampered manifest that adds an install script fails here, even when the files match.

Proves the package was built by Zuke's release workflow from a commit on master, that the bytes npm serves are the ones that workflow signed, and that they are exactly what that commit compiles to. Zuke publishes a version to npm only when its package is unchanged since its release tag, so the npm and JSR packages of the same version carry the same source.

One exception: the first npm publish, on 20 November 2026, built every package from one commit, 09d0edc. For a package that changed after its release, that npm version carries the newer source rather than the JSR files of the same version. Its provenance says so, and npmVerify proves exactly that. The same run left a 0.0.0-stage version on each package: npm's own placeholder for staged publishing, a stub with no code that is never latest.

Zuke's release workflow runs the same check after every publish, on Linux, macOS and Windows, with no secrets. The Verify npm packages job's logs are public on the release workflow. That shows the rebuild agrees on three operating systems; running it yourself means you do not have to trust our CI.

The zuke binary

Every binary release lists the SHA-256 of each archive and carries a build-provenance attestation. Homebrew, Chocolatey and the ./zuke launchers check the pinned SHA-256 on every download. To verify one yourself:

# The archive is one the release lists, byte for byte:
sha256sum --ignore-missing --check SHA256SUMS

# It was built by Zuke's release workflow, from this repository:
gh attestation verify zuke-<version>-x86_64-unknown-linux-gnu.tar.gz \
  --repo zuke-build/zuke \
  --signer-workflow zuke-build/zuke/.github/workflows/release.yml \
  --source-ref refs/heads/master

Proves the archive was built by Zuke's release workflow from this repository, and is the one the release lists. Does not prove the source is sound.

What none of this proves

These checks tie what you install to a public commit and a public workflow. They do not prove that commit is free of bugs or of a malicious change that was reviewed and merged. If a version fails any of these checks, or its provenance names another repository or a commit not on master, treat it as compromised and report it as the security policy describes.