GitHub Actions Attest: Das fehlende Glied in der Lieferkettensicherheit für CI/CD

GitHub May 2026
⭐ 116
Source: GitHubArchive: May 2026
GitHub Actions hat eine native Attestierungsaktion für Workflow-Artefakte eingeführt, die OIDC nutzt, um manipulationssichere Herkunftsnachweise ohne Schlüsselverwaltung zu erstellen. Dieser Schritt schließt eine kritische Lücke im CI/CD-Sicherheitsstack, wirft jedoch Fragen zur Unterstützung selbst gehosteter Runner und zur Ökosystembindung auf.
The article body is currently shown in English by default. You can generate the full version in this language on demand.

GitHub Actions has introduced `actions/attest`, a first-party action designed to generate cryptographic attestations for build artifacts directly within CI/CD pipelines. The action leverages GitHub's OpenID Connect (OIDC) identity system to bind each artifact to the specific workflow run that produced it, creating a verifiable chain of custody without requiring developers to manage or store signing keys. This is a significant step forward for software supply chain security, addressing a long-standing gap where GitHub Actions lacked a native, integrated mechanism for artifact signing. The attestation is formatted as an in-toto statement, compatible with the broader SLSA (Supply-chain Levels for Software Artifacts) framework, and can be verified using tools like `gh attestation verify`. However, the current implementation only supports GitHub-hosted runners; self-hosted runners require additional configuration to enable OIDC token issuance, which may limit adoption in enterprise environments with strict networking or compliance requirements. Early benchmarks show the action adds approximately 5-10 seconds to build times, a negligible overhead for most pipelines. The action has already garnered 116 stars on GitHub, indicating strong community interest. AINews sees this as a foundational building block for a new generation of verifiable software supply chains, but cautions that the real value will depend on ecosystem adoption and the resolution of self-hosted runner limitations.

Technical Deep Dive

The `actions/attest` action operates on a simple but powerful principle: bind a cryptographic digest of the build artifact to a signed token that proves the artifact was produced by a specific GitHub Actions workflow run. Under the hood, the action uses GitHub's OIDC provider to obtain a signed JWT (JSON Web Token) that contains claims about the workflow run—such as the repository, branch, commit SHA, and workflow name. This JWT is then used to create an in-toto attestation, a standardized format for describing the provenance of software artifacts.

The attestation includes:
- Subject: The digest (SHA256) of the artifact being attested.
- Predicate: A statement about how the artifact was built, including the workflow run ID, trigger event, and builder identity.
- Signature: A cryptographic signature over the attestation, generated using the OIDC token as the signing identity.

The verification process uses `gh attestation verify`, which contacts GitHub's attestation API to validate the signature and check that the attestation's claims match the expected workflow run. This eliminates the need for a separate public key infrastructure (PKI) or key management system.

For developers wanting to inspect the code, the action is open source on GitHub at `actions/attest` (116 stars, daily +0). The repository contains the action's TypeScript source, along with tests and documentation. The underlying verification logic is also available in the GitHub CLI (`gh`), which is written in Go.

Performance Benchmarks

| Metric | Value |
|---|---|
| Average build time increase | 5-10 seconds |
| Attestation size | ~2-5 KB |
| Verification latency (gh CLI) | < 1 second |
| Supported artifact types | Any file (binary, container image, SBOM, etc.) |

Data Takeaway: The performance overhead is minimal, making attestation feasible for even latency-sensitive pipelines. The small attestation size ensures it can be stored alongside artifacts without significant storage cost.

The action currently supports only GitHub-hosted runners because the OIDC token is automatically provisioned by the GitHub Actions environment. For self-hosted runners, administrators must configure the runner to request an OIDC token from GitHub's OIDC provider, which requires network access to `https://token.actions.githubusercontent.com` and proper firewall rules. This is a non-trivial barrier for air-gapped or highly restricted environments.

Key Players & Case Studies

The primary player here is GitHub (Microsoft), which is positioning `actions/attest` as a native alternative to third-party signing tools like Sigstore and cosign. Sigstore, developed by the Linux Foundation and supported by Google, Red Hat, and others, has been the de facto standard for open-source software signing. Cosign, part of the Sigstore project, allows signing container images and blobs using keyless signatures backed by Fulcio (a certificate authority) and Rekor (a transparency log).

Comparison: actions/attest vs. Sigstore/cosign

| Feature | actions/attest | Sigstore/cosign |
|---|---|---|
| Key management | None (OIDC-based) | None (keyless via Fulcio) |
| Transparency log | GitHub's attestation API | Rekor (public, immutable) |
| Supported formats | in-toto attestation | in-toto, DSSE, raw signatures |
| Verification tool | `gh attestation verify` | `cosign verify` |
| Ecosystem lock-in | Tightly coupled to GitHub | Platform-agnostic |
| Self-hosted support | Limited (requires OIDC config) | Full (any CI/CD system) |

Data Takeaway: actions/attest offers superior integration for GitHub-only workflows, but Sigstore/cosign remains the more portable choice for multi-platform or hybrid environments.

A notable early adopter is the OpenSSF (Open Source Security Foundation), which has been advocating for SLSA compliance. The `actions/attest` action directly supports SLSA Build Level 2 by providing signed provenance. Companies like Google and Chainguard have also been pushing for similar attestation mechanisms in their own CI/CD systems.

Industry Impact & Market Dynamics

The introduction of `actions/attest` is a direct response to growing regulatory and industry pressure for software supply chain security. The U.S. Executive Order on Cybersecurity (EO 14028) and the EU Cyber Resilience Act both mandate software provenance and SBOMs for critical software. GitHub's move makes it easier for developers to comply without additional tooling.

Market Adoption Projections

| Year | Estimated % of GitHub Actions workflows using attestation |
|---|---|
| 2025 | 5-10% (early adopters) |
| 2026 | 20-30% (mainstream, driven by compliance) |
| 2027 | 50%+ (default for public repos) |

Data Takeaway: Adoption will likely follow a compliance-driven curve, with a significant uptick once major cloud providers or government agencies mandate attestation for procurement.

The action also threatens the business models of third-party signing services like Sigstore (which relies on donations and grants) and commercial offerings from Chainguard and Anchore. However, because `actions/attest` is GitHub-specific, these companies can still differentiate by offering cross-platform solutions and advanced policy engines.

Risks, Limitations & Open Questions

1. Vendor Lock-in: By deeply integrating attestation into GitHub's ecosystem, Microsoft creates a moat that makes it harder for users to migrate to GitLab, Bitbucket, or self-hosted solutions. This is a strategic move to increase stickiness.

2. Self-Hosted Runner Gap: Enterprises running self-hosted runners (common in finance, healthcare, and defense) face significant friction. The OIDC token request requires outbound HTTPS to GitHub, which may violate security policies. GitHub has not announced a timeline for offline or proxy-based solutions.

3. Transparency and Auditability: Unlike Sigstore's Rekor, which is a public, immutable transparency log, GitHub's attestation API is a centralized service. This raises questions about long-term availability, auditability, and the ability to verify attestations years later if GitHub changes its API or goes offline.

4. Key Compromise Scenarios: While keyless signing eliminates private key management, it introduces reliance on the OIDC provider's security. If GitHub's OIDC infrastructure is compromised, an attacker could forge attestations for any repository. This is a single point of failure.

5. SBOM Integration: The action supports attesting SBOMs, but the SBOM itself must be generated separately (e.g., using Syft or Trivy). There is no native SBOM generation in the action, which limits its out-of-the-box value for compliance.

AINews Verdict & Predictions

`actions/attest` is a watershed moment for CI/CD security, but it is not a silver bullet. Our editorial judgment is that this action will become the default signing mechanism for GitHub-hosted workflows within 18 months, driven by compliance mandates and GitHub's marketing muscle. However, the self-hosted runner limitation will create a two-tier ecosystem: GitHub-hosted users get frictionless security, while self-hosted users are left to cobble together workarounds or stick with Sigstore.

Predictions:
- By Q3 2026, GitHub will release an update supporting attestation for self-hosted runners via a proxy agent, similar to how GitHub Actions already supports self-hosted runners with OIDC tokens.
- The `actions/attest` action will be bundled into GitHub's default `actions/checkout` and `actions/upload-artifact` workflows, making attestation automatic for all new repositories.
- A competing standard will emerge from GitLab and Bitbucket, likely based on Sigstore, to counter GitHub's lock-in. This will fragment the attestation landscape, forcing developers to support multiple verification methods.
- We predict a security incident within 12 months where a forged attestation is used to distribute malware via a popular open-source project, highlighting the risks of centralized attestation without a transparency log.

What to Watch Next:
- The star count and issue tracker on `actions/attest` for community feedback on self-hosted support.
- Announcements from Sigstore regarding deeper integration with GitHub Actions (e.g., native cosign support).
- Regulatory updates from the EU and U.S. that specifically require attestation for CI/CD pipelines.

In summary, `actions/attest` is a bold and necessary step forward, but its success hinges on GitHub's ability to address the self-hosted runner gap and provide transparency guarantees that match or exceed Sigstore's. Developers should adopt it for new GitHub-hosted projects immediately, but maintain fallback signing mechanisms for cross-platform or self-hosted workflows.

More from GitHub

UntitledThe Android automation tool GKD (搞快点) has carved a niche for users seeking to bypass intrusive ads, pop-ups, and unnecesUntitledInfisical has emerged as the leading open-source platform for managing secrets, certificates, and privileged access, boaUntitledThe Flet framework has long been a bridge between Python's simplicity and Flutter's expressive UI capabilities, enablingOpen source hub2275 indexed articles from GitHub

Archive

May 20262939 published articles

Further Reading

Zizmor: Das statische Analysetool, das Ihre GitHub Actions vor der Katastrophe bewahren könnteZizmor, ein neues Open-Source-Tool zur statischen Analyse, gewinnt schnell an Bedeutung, da es automatisch SicherheitslüHarden-Runner: Das EDR für GitHub Actions, das CI/CD-Sicherheit für immer verändertHarden-Runner von Step Security bringt Endpunkt-Erkennungs- und Reaktionsfähigkeiten (EDR) auf GitHub Actions-Runner undRust schreibt Supply-Chain-Sicherheit neu: In-Toto-rs bringt Speichersicherheit in CI/CDDas in-toto-Framework, lange ein Python-basierter Standard zur Überprüfung der Integrität von Software-Lieferketten, hatIn-Toto: Das Open-Source-Framework, das Software-Lieferketten retten könnteIn-toto, ein von der CNCF inkubiertes Open-Source-Framework zur Überprüfung der Integrität von Software-Lieferketten, ge

常见问题

GitHub 热点“GitHub Actions Attest: The Missing Link in Supply Chain Security for CI/CD”主要讲了什么?

GitHub Actions has introduced actions/attest, a first-party action designed to generate cryptographic attestations for build artifacts directly within CI/CD pipelines. The action l…

这个 GitHub 项目在“How to use actions/attest with self-hosted runners”上为什么会引发关注?

The actions/attest action operates on a simple but powerful principle: bind a cryptographic digest of the build artifact to a signed token that proves the artifact was produced by a specific GitHub Actions workflow run.…

从“actions/attest vs cosign vs Sigstore comparison”看,这个 GitHub 项目的热度表现如何?

当前相关 GitHub 项目总星标约为 116,近一日增长约为 0,这说明它在开源社区具有较强讨论度和扩散能力。