CI/CD Provenance · OIDC + Fulcio + Rekor

GitHub Actions Keyless Signing & SBOM Attestation with Sigstore Cosign

Sign release artifacts and attach CycloneDX/SPDX SBOMs in GitHub Actions without long-lived private keys using OIDC id-token: write, Fulcio ephemeral certificates, and Rekor transparency logs.

100% Browser-Side · Zero Telemetry (connect-src 'none')

1. Paste SBOM or Sigstore / Rekor JSON

CycloneDX · SPDX · Sigstore
Sigstore Bundle
100 / 100
PASS

Pass: 8 · Warnings: 0 · Errors: 0

Artifact / Envelope
DSSE (application/vnd.in-toto+json)
in-toto DSSE
Fulcio OIDC Issuer
token.actions.githubusercontent.com
https://github.com/runglab/mcpdiet/.github/workflows/release.yml@refs/tags/v1.3.0
Rekor Log Index
#148293045
2026-11-26T14:22:30.000Z
Merkle Inclusion Proof
3 hashes
Tree 148293102
SIG-MEDIA-001: Sigstore Bundle mediaType: application/vnd.dev.sigstore.bundle.v0.3+json PASS
Valid Sigstore protobuf-JSON bundle envelope detected.
SIG-ENV-001: Valid in-toto DSSE attestation envelope PASS
Subject: pkg:npm/@runglab/[email protected] · Predicate: https://slsa.dev/provenance/v1
FULCIO-CERT-001: Fulcio OIDC Issuer: https://token.actions.githubusercontent.com PASS
SAN: https://github.com/runglab/mcpdiet/.github/workflows/release.yml@refs/tags/v1.3.0 · Validity: 10 min (2026-11-26T14:20:00.000Z → 2026-11-26T14:30:00.000Z)
FULCIO-TTL-001: Ephemeral keyless cert window (10 min) PASS
Short-lived Fulcio certificate (<60 min) confirms keyless OIDC signing at log integratedTime.
FULCIO-CI-001: CI Provenance Claims: github-hosted · refs/tags/v1.3.0 PASS
Repo: https://github.com/runglab/mcpdiet · Trigger: push
REKOR-TLOG-001: Rekor Log Index 148293045 · 2026-11-26T14:22:30.000Z PASS
Log ID: c0d23d6ad406973f9559f3ba2d1ca01f84147d8ffc5b8445c224f98b9591801d
REKOR-BODY-001: Decoded Rekor canonicalizedBody: kind=dsse (v0.0.1) PASS
Artifact/Envelope SHA-256: 8f4b2c7d1e9a0f3b6c5d4e2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c
REKOR-PROOF-001: Merkle Inclusion Proof verified (3 sibling hashes · Tree Size 148293102) PASS
Root Hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 · Signed Rekor checkpoint envelope present.
Actionable CLI, CI & RapidAPI Fix Commands
# Verify Sigstore bundle + Fulcio OIDC identity locally:
cosign verify-blob-attestation --bundle release.sigstore.json \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  --certificate-identity-regexp "https://github.com/runglab/mcpdiet/.github/workflows/release.yml@refs/.*" \
  artifact.tar.gz

# Query live Rekor log index / inclusion proof via RungLab RapidAPI v1.3.0:
curl -s 'https://runglab-developer-intelligence-api1.p.rapidapi.com/v1/rekor/entry/148293045' \
  -H 'x-rapidapi-key: <YOUR_KEY>'

# Lookup Rekor entries by artifact SHA-256 via RungLab RapidAPI v1.3.0:
curl -X POST 'https://runglab-developer-intelligence-api1.p.rapidapi.com/v1/rekor/lookup' \
  -H 'Content-Type: application/json' -H 'x-rapidapi-key: <YOUR_KEY>' \
  -d '{"sha256":"8f4b2c7d1e9a0f3b6c5d4e2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c"}'
VendorReady SBOM · Zero Upload $39 SOC 2 Procurement Dossier

Turn SBOMs & lockfiles into a 100-pt SOC 2 Procurement Dossier

Need CVE/CISA KEV risk scoring, directional SPDX copyleft checks, and buyer-ready SOC 2 security questionnaire evidence? Scan package-lock.json, requirements.txt, go.mod, CycloneDX or SPDX locally on VendorReady SBOM, export the $39 6-file SOC 2 Procurement Dossier, or call RungLab RapidAPI v1.3.0 (/v1/rekor/entry/{uuidOrIndex}, /v1/rekor/lookup, /v1/supply-chain/audit), Apify actors & MCP.

Specification & CI Field Reference

Field / Flag Expected Value Verification Purpose
permissions.id-token write Mints short-lived GitHub Actions OIDC JWT for Fulcio
Fulcio OIDC Issuer (1.3.6.1.4.1.57264.1.8) https://token.actions.githubusercontent.com Embedded in ephemeral ~10-minute X.509 signing certificate
SAN Identity (OID 2.5.29.17) https://github.com/<org>/<repo>/.github/workflows/<file>@refs/tags/<tag> Pinned during cosign verify-blob --certificate-identity
Bundle Format *.sigstore.json (v0.3) Self-contained Fulcio cert + Rekor inclusionProof + DSSE/signature

GitHub Actions Workflow — Keyless Sign + CycloneDX Attestation

release-attestation.yml
name: Release & Supply-Chain Attestation
on:
  push:
    tags: ["v*"]

permissions:
  contents: read
  id-token: write
  attestations: write

jobs:
  sign-and-attest:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: sigstore/[email protected]
      - run: npx @cyclonedx/cdxgen --spec-version 1.6 -o sbom.cdx.json .
      - run: |
          cosign sign-blob --yes \
            --bundle dist/app.tar.gz.sigstore.json \
            dist/app.tar.gz
          cosign attest-blob --yes \
            --predicate sbom.cdx.json \
            --type cyclonedx \
            --bundle dist/app.sbom.sigstore.json \
            dist/app.tar.gz

Zero-Secret Verification Command (Pinned Issuer & Workflow)

verify-cosign.sh
cosign verify-blob \
  --bundle dist/app.tar.gz.sigstore.json \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  --certificate-identity-regexp "^https://github\.com/org/repo/\.github/workflows/release\.yml@refs/tags/v.*" \
  dist/app.tar.gz

Key Security & Architecture Takeaways

  • Keyless Cosign signing replaces brittle CI secrets with a 10-minute ephemeral Fulcio certificate bound to GitHub Actions OIDC claims (issuer, workflow path, ref, and runner environment).
  • Emitting a v0.3 .sigstore.json bundle embeds both the Fulcio certificate and Rekor Merkle inclusion proof so downstream consumers can verify offline without hitting live Rekor.
  • Pair cosign verify-blob with --certificate-identity-regexp pinned to a specific workflow file and tag ref — never trust the OIDC issuer alone, or any GitHub repo could verify.

Common Production Pitfalls to Avoid

  • Forgetting permissions: id-token: write causes cosign sign-blob to fail in CI or prompt interactively when COSIGN_EXPERIMENTAL isn't needed in Cosign v2+.
  • Passing --certificate-identity-regexp '.*' disables identity verification and lets any public GitHub Actions workflow forge a valid signature.
  • Uploading legacy .sig + .crt files instead of a unified .sigstore.json bundle omits the Rekor inclusionProof required by offline verifiers.

More Supply-Chain Attestation & SBOM Guides

← Back to SBOM & Sigstore Validator Hub · VendorReady SBOM ($39 SOC 2 Dossier) → · CORS & Webhook HMAC Debugger → · 14×14 License Matrix →

Frequently Asked Questions

Why does a Fulcio signing certificate expire after 10 minutes?

Keyless signing proves the ephemeral key existed at the exact Rekor integratedTime timestamp. Once logged in Rekor with a signed entry timestamp and Merkle inclusion proof, the signature remains permanently verifiable even after the 10-minute certificate expires.

Should I pin --certificate-oidc-issuer AND --certificate-identity?

Yes. Fulcio encodes the OIDC provider in OID 1.3.6.1.4.1.57264.1.8 and the exact workflow URI + git ref in the X.509 SAN extension. Verifying both ensures only your release workflow produced the artifact.

How do I inspect an existing .sigstore.json bundle before running cosign?

Paste the .sigstore.json contents into the validator above to decode the ASN.1 Fulcio OIDC claims, Rekor logIndex, and inclusionProof offline, or query RungLab RapidAPI /v1/rekor/entry/{uuidOrIndex}.