npm Provenance Attestations with Sigstore & SLSA v1 Verification
Publish verifiable npm packages with --provenance on GitHub Actions or GitLab CI, inspect DSSE in-toto SLSA statements, and enforce npm audit signatures in CI.
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.
Pass: 8 · Warnings: 0 · Errors: 0
# 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"}'
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.
| 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 |
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
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
Publish verifiable npm packages with --provenance on GitHub Actions or GitLab CI, inspect DSSE in-toto SLSA statements, and enforce npm audit signatures in CI.
Eliminate long-lived PYPI_API_TOKEN secrets with GitHub/GitLab OIDC Trusted Publishers, emit PEP 740 Sigstore attestations, and inspect wheel provenance offline.
Side-by-side comparison of CycloneDX 1.6 and SPDX 2.3 JSON schemas: PURL encoding, SHA-256 digests, SPDX license expressions, dependency graphs, and NTIA minimum elements.
Understand how Rekor's append-only Merkle tree, canonicalizedBody, signedEntryTimestamp (SET), and checkpoint envelopes enable tamper-evident offline attestation verification.
Attach CycloneDX/SPDX SBOMs and SLSA provenance to container images using docker buildx --sbom=true --provenance=true and enforce digest-pinned verification in Kubernetes/CI.
← Back to SBOM & Sigstore Validator Hub · VendorReady SBOM ($39 SOC 2 Dossier) → · CORS & Webhook HMAC Debugger → · 14×14 License Matrix →
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.
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.
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}.