A project may use AI to write code, then offer you a binary to download. Before running the file, you can check a specific claim: which repository and build produced it. GitHub’s artifact attestations are designed to make that claim verifiable.
The signed claim describes the build
An artifact attestation is a cryptographically signed claim associated with a built file. GitHub says its provenance includes the workflow, repository, organization, environment, commit, and event that triggered the build. The signature applies to that claim. For a downloader, those details provide a route back to the source and build instructions associated with the binary. GitHub explains the fields in its attestation overview.
The project must generate an attestation for the binary during its build workflow. GitHub’s setup guide shows how to do this and how a consumer can verify the resulting file. Publishing an attestation alone gives consumers no benefit until they verify it.
Verification connects your file to a source
The GitHub CLI verification command takes the file you downloaded and checks its integrity and provenance against a signed attestation. You must specify at least the expected repository or owner. The manual also recommends checking the signer workflow when you know which workflow should have produced the file.
A successful check gives you evidence about the file in hand and the build identity you asked the command to enforce. Inspect the reported source and workflow. A valid attestation from an unexpected repository would fail your own trust decision, even if its signature verifies.
Provenance has a limit
GitHub warns that an attestation does not guarantee an artifact is secure. Its listed provenance fields describe the build; they do not establish how carefully each line of code was reviewed. For an AI-built binary, verification helps answer where the file came from. Whether that source and its build process deserve your trust remains a separate judgment. GitHub places that decision with the consumer.
What to do
- Download the binary and identify the publisher’s expected repository.
- Run
gh attestation verify ./program -R OWNER/REPO, replacing the path and repository with the real ones. GitHub documents this command. - Check the reported commit and workflow against the source you intended to use. If the publisher specifies a signer workflow, enforce it with
--signer-workflowas described in the CLI manual.

The Campfire
No commentsNobody has pulled up a log by this one yet. Be the first to say what you make of it.
Held for the desk. It appears after a look.