The binaries in a Kubernetes release run your control plane and every node in the cluster, so you should know three things before you install one: who signed it, what's inside it, and how it was built. A release that ships a signature, a software bill of materials (SBOM), and a record of its build lets you answer all three yourself with a handful of commands.
Each of the three files answers a different question, so a release that ships all three is one you can check before you install it.
The worked example here is CIQ Stratum, an Apache 2.0 Kubernetes engine from CIQ that ships as one binary per architecture. Each release on GitHub includes an SPDX SBOM and a build-info file for each architecture, keyless cosign signatures for the binary and the SBOM, and a signed checksum file that lists them all. The same checks apply to any release that publishes these files, including upstream Kubernetes, which signs its own release artifacts with cosign.
Download the release and its signatures
You need cosign, the Sigstore command-line tool for signing and verifying, plus curl, jq, and sha256sum. Pick a release tag and an architecture, then download the checksum file with its signature and certificate, the binary, the SBOM, and the build-info file:
TAG=v1.37.1-stratum.0
ARCH=amd64
BASE=https://github.com/ctrliq/stratum/releases/download/$TAG
for FILE in sha256sums.txt sha256sums.txt.sig sha256sums.txt.pem \
stratum-linux-$ARCH stratum-linux-$ARCH.spdx.json build-info-$ARCH.json; do
curl -sSfL --retry 3 "$BASE/$FILE" -o "$FILE"
done
The binary is about 700 MB because it contains the component binaries and container images the cluster needs.
Check who signed the release
Keyless signing ties a signature to an identity instead of a long-lived key. Fulcio, the Sigstore certificate authority, issues a short-lived certificate that binds an ephemeral key to an OpenID Connect (OIDC) identity, and Rekor, a transparency log, records the signing event. Sigstore distributes its own root of trust, the Fulcio root certificate and the Rekor public key, through The Update Framework (TUF), a CNCF graduated project.
CIQ Stratum signs its releases in the project's GitHub Actions release workflow. The identity in each certificate is that workflow at the release tag, and the issuer is the GitHub Actions OIDC token service. Verify the checksum file against both:
cosign verify-blob sha256sums.txt \
--signature sha256sums.txt.sig \
--certificate sha256sums.txt.pem \
--certificate-identity "https://github.com/ctrliq/stratum/.github/workflows/release.yml@refs/tags/$TAG" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Cosign prints Verified OK. If the certificate names a different identity, cosign stops with none of the expected identities matched what was in the certificate. Cosign 2.0 and later require the identity and issuer flags, and cosign 3 also prints deprecation notices for --signature and --certificate while still running the check. A valid signature from an unexpected identity proves only that someone signed the file, so take the expected identity from the publisher. Don't copy it out of the certificate that came with the file.
Once the checksum file verifies, its hashes let you check every file listed in it:
sha256sum --check --ignore-missing sha256sums.txt
The binary, the SBOM, and the build-info file should each report OK. The binary and the SBOM also have their own .sig and .pem pairs, so you can verify either one directly with the same identity and issuer.
Read what's inside with the SBOM
The CIQ Stratum SBOM is an SPDX 2.3 JSON document generated with Syft. It lists the Go modules compiled into the stratum binary, with their versions:
jq '.packages | length' stratum-linux-$ARCH.spdx.json
jq -r '.packages[] | "\(.name) \(.versionInfo)"' stratum-linux-$ARCH.spdx.json | head -20
For v1.37.1-stratum.0, the count is 158, including k8s.io/client-go v0.37.1 and the etcd client libraries. Feed the file to the vulnerability scanner you already run, and compare the versions with the ones you expect to install. The upstream components and container images the binary contains are listed in the build-info file.
Confirm how the release was built
A signature tells you who published a file. Provenance tells you how it was produced. CIQ Stratum records its build in build-info-$ARCH.json, which is listed in the signed checksum file. It names the source commit, the toolchain, each component built from source with its upstream revision and patch list, and each container image by digest:
jq -c '.components | map_values({version, patches})' build-info-$ARCH.json
jq -r '.images[]' build-info-$ARCH.json
jq -r '.artifacts.stratum.sha256' build-info-$ARCH.json
For v1.37.1-stratum.0, the components query returns:
{"containerd":{"version":"2.4.2","patches":[]},"etcd":{"version":"3.7.0","patches":[]},"kubernetes":{"version":"1.37.1","patches":[]},"runc":{"version":"1.5.2","patches":[]}}
An empty patch list means the component was built from the unmodified upstream tag. The image query lists 12 images pinned by digest, including the control plane images from registry.k8s.io, and the artifact query prints the binary's SHA-256, which matches its line in the checksum file. The file's reproduce field gives the commands to rebuild the release from source and states that the rebuilt artifacts' SHA-256 values must match the file.
Because the images are pinned by digest, you can check the control plane images against the signatures the Kubernetes project publishes for them:
IMG=$(jq -r '.images[] | select(startswith("registry.k8s.io/kube-apiserver"))' build-info-$ARCH.json)
cosign verify "$IMG" \
--certificate-identity krel-trust@k8s-releng-prod.iam.gserviceaccount.com \
--certificate-oidc-issuer https://accounts.google.com
Other projects publish provenance in the SLSA format, which describes "where, when and how" an artifact was produced as an attestation in the in-toto framework. The in-toto project is also a CNCF graduated project. Whatever the format, check that the source commit and the builder it names match what the project documents.
Ask every distribution you run for the same files
If your clusters run a distribution or an engine that packages Kubernetes with etcd, containerd, networking, and DNS, the same checks apply to that distribution's releases. Ask for three files with every release: a signature you can verify, an SBOM for each architecture, and a record of the build. Ask for the identity and issuer to verify against, too. If a project you depend on doesn't publish one of them yet, open an issue and ask for it.
The CIQ Stratum source code, release files, and build scripts are on GitHub at github.com/ctrliq/stratum.




