Check that the artifact type is supported
Start by identifying whether the release item is a binary, container image, or SBOM attestation. GitHub documents GitHub CLI validation for binary and container image artifact attestations, as well as SBOM attestations. Keep the artifact and its intended source repository in view as you review the result. This check establishes that the documented CLI workflow covers the artifact category; it does not by itself make an acceptance decision.
Source: GitHub Docs: using artifact attestations.
Verify the attestation with the CLI
Run the GitHub CLI verification flow for the artifact you intend to review, using the repository context associated with its build. Keep the output with the release review. When reviewing an SBOM attestation, request JSON output so its details can be examined. Treat the verification output as evidence to inspect, rather than as a substitute for checking that it matches the artifact and repository expected for this release.
Source: GitHub Docs: using artifact attestations.
Confirm whether an offline path is needed
If verification must happen without internet access, use the documented offline flow. It begins by obtaining the attestation bundle from the attestation API, then makes the bundle available in the offline environment together with the trusted root. GitHub documents that artifact attestations can be verified without an internet connection. Keep the bundle and trusted root associated with the review so the verification inputs can be identified.
Source: GitHub Docs: verifying attestations offline.
Check the trusted root's revocation limit
Before relying on an offline trusted root, record when it was generated and whether it is current for your review process. GitHub warns that a trusted root file does not show key material revoked after that file was generated. The offline result therefore cannot establish the absence of later revocation using a stale root alone. Decide whether the root is suitable under your release procedure before treating the check as complete.
Source: GitHub Docs: verifying attestations offline.
Verify the repository ID before acceptance
Compare the repository ID in the verification output with the ID recorded in the initial repository check. GitHub's offline guidance says to check that each output ID matches the ID from the first step. This matters because a repository keeps its ID after a rename, while a newly created repository using the old name receives a different ID. If the IDs do not match, pause acceptance and resolve the discrepancy through the release process.
Source: GitHub Docs: verifying attestations offline.
Handoff and limits
For the release record, note the artifact reviewed, the verification path, the bundle and trusted root used when working offline, and the repository ID comparison. Proceed only when the evidence meets the release's acceptance criteria. GitHub's cited guidance establishes CLI validation, an offline verification flow, a trusted root revocation limitation, and an ID comparison. It does not establish how often trusted roots rotate or define the expected output for a failed verification. This method does not establish that any particular artifact has passed or that a release should be accepted.
Source: GitHub Docs: using artifact attestations; GitHub Docs: verifying attestations offline.
Questions
Can attestations be verified without internet access?
Yes. GitHub documents an offline flow that uses an attestation bundle and trusted root.
Does an offline trusted root show later revocations?
No. GitHub warns that a trusted root file does not reveal revocations made after it was generated.