Repository navigation
Conversation
ryjen
left a comment
There was a problem hiding this comment.
Independent release supply-chain review at exact commit 08cf3c0ec13ce39e5e908f81c0279fe5c8478c52.
Validated / positive evidence
- Uses GoReleaser's native v2.18.3
sbomsfor all compiled binaries (5), archives (5), and Debian/RPM packages (6); no new runtime dependency or custom packaging framework. All 16 SBOM records appeared in the non-publishing snapshot. The validation step checked the 11 archive and package SBOM files as CycloneDX documents with nonempty components. - Syft v1.54.1 was downloaded from the tagged upstream release with its SHA-256 archive digest fixed to
c069905b391cc4c20a5ba65ad5c10be2a7ba074f8ea6ad203e24d14e303dad47; GoReleaser v2.18.3 was pinned and local config validation passed. dockers_v2.sbom: trueexplicitly requests OCI SBOM attestations from buildx when images are published. Snapshot CI skips Docker to prevent registry side effects, as documented.- The existing release workflow remains tag-triggered, retains draft GitHub releases, and did not run or publish any real release during this review.
Open qualification (not covered by snapshot CI)
- Medium / release gate: After an authorized real release, verify that each published GHCR platform manifest has an SBOM attestation tied to its immutable digest, and that the base-image contents are reflected accurately. The snapshot intentionally cannot establish this.
- Medium / release gate: Verify the uploaded GitHub release assets and their corresponding SBOMs by their SHA-256 digests and that the published checksums and attestations refer to the same immutable artifact set. Ordinary checksums are not signed build provenance.
- Low: The non-publishing snapshot gate asserts 11 archive/package inventories; it does not independently inspect the 5 binary SBOM files or the checksum manifest, although GoReleaser did list those five SBOMs as outputs. Consider expanding assertions if this becomes a recurring release control.
Verdict: Configuration and artifact SBOM generation validated, suitable to keep as a separate draft PR. Do not claim complete published-image or signed release provenance without a release-stage validation. This branch is unrelated to the shutdown fix in PR #1.
ryjen
left a comment
There was a problem hiding this comment.
Final independent release-SBOM security review at exact head 11f7213dc4e4d04a2432ff927ac2c1d4f924f044.
Evidence
- Release SBOM snapshot completed successfully, building actual release binaries, archives, Debian/RPM packages with GoReleaser v2.18.3 and checksum-verified Syft v1.54.1. Verified 11 archives/packages, 5 standalone binary inventories and 16 nonempty CycloneDX SBOMs, with exactly one checksum entry per SBOM.
sha256sum --check checksums.txtpassed on the locally generated outputs. Snapshot did not publish anything. - Test: all 8 jobs passed, including Linux/macOS/Windows, WASM browser, BSD and release cross-builds.
- Nix passed.
- Inspected the exact GoReleaser v2.18.3 source:
internal/pipe/checksums/checksums.gousesartifact.ReleaseUploadableTypes(), which includes SBOM ininternal/artifact/artifact.go. The redundantchecksum.extra_filespattern introduced in86a50b3duplicated checksum entries; removed in11f7213. Final snapshot verifies unique SBOM entries and matching checksums. No production code affected.
Still required / non-release blockers
- Medium, release qualification: inspect the OCI index and per-platform (
linux/amd64,linux/arm64) SBOM attestation descriptors and their immutable subject digests after a permitted registry publication. A--skip=dockersnapshot cannot prove this. - Medium, provenance: checksums alone do not authenticate their producer; signing/SLSA provenance and release-asset verification against an authorized published release remain separate.
- The release workflow still references the upstream
ghcr.io/tailscale/tailcatrepository and is tag-triggered, so no test tag or image was published on the fork. Do not use a real upstream image tag for qualification without authorization.
Verdict: Artifact inventories and local checksum integrity qualify for review, with all three exact-head CI workflows green. PR #3 should remain draft until release-stage OCI verification; upstream Tailcat tailscale#151 bug-fix PR #1 is unaffected.
ryjen
left a comment
There was a problem hiding this comment.
Independent security review — exact head 60bd9a1eb9b809a91258b9fd78f6e31c2edc53ad.
All exact-head CI passed:
- Release SBOM snapshot: generated and validated all 16 artifact-derived CycloneDX SBOMs (5 binaries, 5 archives, 6 Debian/RPM packages), ensured each appears exactly once in
checksums.txt, and verified the checksum manifest. - Same snapshot also built both OCI platforms using the actual release Dockerfile, exported a non-published OCI layout and checked the in-toto SPDX SBOM manifests. The indexed
linux/amd64image manifest issha256:1d5eb2e5ce775dfe5889561059c5eb3d18865865126514230f19e85b4244abbb;linux/arm64issha256:76830f58025794e4023ffc5e3962fb5d67db7ef7ad537a460abb1066c3f624e1. - Test: all 8 jobs passed. Nix: passed.
- OCI verifier is standard-library Go, with five test cases and vet locally passed. It requires that OCI index attestation references and the OCI attestation manifest subject both identify the exact platform image-manifest digest. It rejects missing/forged bindings. BuildKit's embedded SPDX statements sometimes have empty
subjectarrays, so they are accepted only with this mandatory manifest-level cryptographic binding; nonempty statement subjects are checked against image manifest/config/layer digests.
Outstanding release-stage controls:
- Verify a published OCI digest on GHCR, platform attestation persistence, and final release asset/checksum integrity under authorized release credentials. The offline OCI index hash is not a GHCR digest.
- Release attestations/checksums are not producer signatures; signed provenance remains a distinct requirement.
- The OCI BuildKit SBOM scanner currently resolves a
stable-1generator tag during the snapshot. Pinning that scanner image by digest would improve generator reproducibility, if upstream maintainers want the additional control.
Verdict: The non-publishing binary/archive/package and OCI SBOM controls are independently validated with all exact-head workflows green. Safe for maintainer review as a separate draft PR; not a claim of published-release qualification. No version tag or upstream container image was pushed.
Purpose
Add release-asset supply-chain evidence without expanding upstream Tailcat shutdown fix tailscale#151 or its fork PR #1.
The current release workflow builds archives, Debian/RPM packages, standalone binaries and a multiarch OCI image, but it has no documented or verified artifact-derived SBOM publication gate. Source dependency inventories alone do not describe exactly what is shipped.
Implementation
sbomspipeline for binary, archive and package artifacts in CycloneDX JSON.dockers_v2.sbom: trueexplicitly for buildx OCI image SBOM attestations.--snapshot --skip=dockerprevents registry publishing in CI.Verification
c069905b391cc4c20a5ba65ad5c10be2a7ba074f8ea6ad203e24d14e303dad47.v2.18.3; checksum-verified local GoReleasercheckpassed.08cf3c0ec.Remaining release-stage checks
main, not a modification of fix PR #1.References: GoReleaser native SBOMs and Docker v2 SBOMs.
Full artifact checksum qualification (October 19, 2026)
11f7213dc. The first strict-check run exposed duplicate checksum entries introduced by the redundantchecksum.extra_filesglob. Inspection of GoReleaser v2.18.3 showed that uploadable SBOMs already belong to the default checksum artifact set. Removed the extra glob while preserving the exact-count and hash-verification gate.checksums.txt.sha256sum --check checksums.txtpassed against generated files.Offline multi-platform OCI attestation qualification
0bbcdf7eaadds a standard-library Go verifier intool/ocisbom/plus a non-publishing Buildx OCI export test.linux/amd64andlinux/arm64binaries and release Dockerfile; constructs a two-platform OCI layout with SBOM attestations but never pushes an image or creates a release.go testandgo vetpassed locally.Offline OCI qualification — exact head 60bd9a1
linux/amd64=sha256:1d5eb2e5ce775dfe5889561059c5eb3d18865865126514230f19e85b4244abbb;linux/arm64=sha256:76830f58025794e4023ffc5e3962fb5d67db7ef7ad537a460abb1066c3f624e1. Offline OCI index digest:sha256:04456a17472667873b272e0c36047c39203e8c06802b5ee2c8a788c875537ffc(not a published registry digest).subjectarrays, but its attestation manifestsubjectwas checked against the exact image-manifest digest. The verifier now requires that manifest binding, and validates statement-level subjects if present. Five local unit cases passed, including forged and missing-subject rejection, with Go vet also passing.