GitHub Launches Artifact Attestations for Secure Software Builds

May 8, 2024
GitHub has unveiled a new feature aimed at enhancing the security of software builds through their Actions workflows. Dubbed “Artifact Attestations,” it’s a software signing and verification tool that leverages the capabilities of Sigstore. With its introduction to the public beta phase on May 2, Artifact Attestations promises to foster a tamper-proof and indisputable linkage between software artifacts and their creation process.The utility of Artifact Attestations is not to be underestimated. By offering developers the ability to establish a verifiable record, it empowers downstream users to conduct rigorous security and validity checks. These checks are facilitated through the use of policy evaluation tools such as Rego and Cue. GitHub anticipates initial verification support through the GitHub CLI, with plans to expand these functionalities to support the Kubernetes ecosystem within the calendar year.

Step One: Initiating Attestation Creation

GitHub’s approach to security with Artifact Attestations is remarkably innovative. Unlike traditional methods that depend on long-term keys associated with human identities, GitHub’s strategy relies on temporary key pairs signed with the trusted security of a GitHub account. During this process, a public key is generated and linked to a certificate that represents the build system’s identity. Conversely, the private key is confined to the process memory and is discarded immediately after its use in signing, which significantly reduces the potential risks associated with key management.

Step Two: Verifying the Attestation

GitHub Actions has introduced a key security enhancement: the ability to generate attestations through the incorporation of specific YAML snippets into workflow files. These attestations serve as credible evidence of the integrity of software builds, bolstering trust within the developer community. To validate these attestations, developers must set up the GitHub CLI, underscoring GitHub’s commitment to making robust software security practices more accessible.This advancement not only makes it easier to validate the build process but also aligns with GitHub’s ongoing efforts to support developers in protecting their creations. As security becomes increasingly critical in software development, the integration of Artifact Attestations into GitHub Actions represents a crucial step in reassuring developers and users about the software’s trustworthiness. The deployment of this feature emphasizes GitHub’s vision of providing developers with tools that are powerful yet secure by design, thereby reinforcing confidence in the open-source ecosystem.

Subscribe to our weekly news digest.

Join now and become a part of our fast-growing community.

Invalid Email Address
Thanks for Subscribing!
We'll be sending you our best soon!
Something went wrong, please try again later