Artifact Provenance Explorer

Verify npm build provenance: Sigstore signature, transparency log, source repo and commit.

Looks up registry.npmjs.org attestations and metadata. Leave empty when pasting.

The response of /-/npm/v1/attestations/<pkg>@<version>, or a single Sigstore bundle.

More options

When you run the tool, this file is uploaded to our server, processed and then deleted. The files the tool creates stay on our server for about 2 hours: download them to keep them, or save them to your Google Drive.

registry.npmjs.org/<pkg>/<version> document, used for the repository / gitHead / integrity cross-checks in paste mode.

Try an example:

More about this tool

Part of Provenance Security & supply-chain explorers

How it works

Fetches (or reads pasted) npm registry attestations for a package version, verifies the Sigstore bundles with node:crypto (DSSE signature, Fulcio certificate chain to the pinned Sigstore root, Rekor signed entry timestamp, Merkle inclusion proof and checkpoint), parses the SLSA provenance (builder, workflow, source repository, commit, trigger) and cross-checks it against the package metadata (repository field, gitHead, tarball integrity).

  • Attestations come from https://registry.npmjs.org/-/npm/v1/attestations/<name>@<version> (or your paste); package metadata from https://registry.npmjs.org/<name>/<version>.
  • Each Sigstore bundle is verified on our server with node:crypto: the DSSE signature over the pre-authentication encoding (PAE); for provenance the Fulcio leaf certificate must chain to the pinned public-good Sigstore intermediate and root and be valid at the Rekor integratedTime; the publish attestation must be signed by a pinned npm registry key.
  • Transparency: the Rekor signed entry timestamp (SET) and checkpoint are verified against the pinned rekor.sigstore.dev key, the RFC 6962 Merkle inclusion proof must recompute the logged root hash, and the log entry must record the SHA-256 of this exact payload.
  • Cross-checks: in-toto subject = pkg:npm/<name>@<version>; subject SHA-512 = the registry tarball integrity; provenance repository = package.json repository; provenance commit = gitHead; Fulcio certificate extensions (source repository, digest, workflow) = the provenance claims.
  • Trust roots (npm keys, Rekor key, Fulcio certificates) are pinned snapshots from 2026-10-14, not refreshed via Sigstore TUF; rotated keys therefore show as failures, not as forgeries.

Use this tool in an app

These free programs for your browser have this tool built in, next to everything else the task needs.

  • Provenance Software supply-chain security desk

    SBOMs, CVEs, containers and licences in one risk register — free.

    Open Provenance

Related tools

How to use the Artifact Provenance Explorer

Verify an npm package's Sigstore build provenance and see exactly which repository, commit and workflow produced it.

What it is for

Supply-chain attacks often work by publishing a package version that was never built from the public source: a stolen npm token, a maintainer's laptop, a typo-squatted name. npm provenance addresses this. When a package is published from a CI system like GitHub Actions with provenance enabled, the registry stores signed attestations saying this tarball was built by this workflow, from this repository, at this commit.

This tool fetches those attestations for a package@version (or reads them pasted or uploaded) and verifies them step by step: the DSSE signatures, the Fulcio certificate chain to the Sigstore root, the Rekor transparency-log timestamp, the Merkle inclusion proof and checkpoint. It then parses the SLSA provenance and cross-checks it against the package metadata: repository field, gitHead and tarball integrity.

What it can't tell you: whether the source code or the workflow is benign. Provenance proves where a package came from, not that it is safe. The tarball itself isn't downloaded; its hash is compared with the registry's published integrity value. Trust roots are pinned snapshots from 2026-10-14, so a key rotated since then shows as a failure, not a forgery.

Worked example

The page example pastes the attestations and version metadata for sigstore@3.0.0. The tool returned:

sigstore@3.0.0: 2 attestation(s) verified (16 cryptographic checks passed); built by .github/workflows/release.yml in github.com/sigstore/sigstore-js at commit 3a57a741bfb9.

The two attestations play different roles:

  • Publish attestation (npm's own): signed by the npm registry key SHA256:jl3bwswu…kzA, logged in Rekor at index 139985246. It confirms the registry accepted this exact version.
  • SLSA provenance: signed with a short-lived Fulcio certificate issued to https://github.com/sigstore/sigstore-js/.github/workflows/release.yml@refs/heads/main by GitHub's OIDC issuer. The certificate was valid for only ten minutes (16:13:45–16:23:45 UTC on 2024-10-14), and the Rekor entry was logged at 16:13:45, inside that window.

All seven cross-checks passed: the subject is pkg:npm/sigstore@3.0.0, its SHA-512 equals the registry integrity, the repository and commit match package.json and gitHead, and the certificate's repository, commit and workflow match the provenance claims. The build was triggered by a push to refs/heads/main on a GitHub-hosted runner.

How to read the result

  • Verdict: verified, or which checks failed.
  • Provenance: builder, build type, source repository, commit, ref, workflow path, trigger event and a link to the CI run.
  • Signing identity: the certificate's subject (which workflow signed), OIDC issuer, runner environment and log time.
  • Attestation checks: each cryptographic step with pass or fail and its evidence.
  • Cross-checks: provenance against package metadata and certificate.
  • Not verified: an explicit list of what the tool didn't check.

Tips and common mistakes

  • "No attestations" doesn't mean the package is malicious; many maintainers simply haven't enabled provenance. It does mean you can't verify the origin this way.
  • Open the CI run link and check that the run exists and was triggered as you'd expect, such as a release tag rather than a stray branch.
  • A provenance from a fork repository, or a workflow file you don't recognise, deserves a closer look even if every signature passes.
  • A self-hosted runner gives weaker guarantees than a GitHub-hosted one: the build machine is under the publisher's control.
  • To confirm the tarball you installed matches, use npm audit signatures or compare npm pack output with the integrity value.

FAQ

What's the difference between the two attestations?

The publish attestation is signed by npm and says the registry received the version. The SLSA provenance is signed by the CI workflow and says how it was built.

Why does a valid package show a failed check?

Most often a trust root changed after the pinned snapshot, such as a rotated npm key. The tool reports this as a failure rather than guessing.

Does this work for PyPI or container images?

This tool reads npm registry attestations only. Container images have their own explorer for signatures and labels.

Is the certificate's ten-minute validity a problem?

No, it's by design. Sigstore issues short-lived certificates; the Rekor timestamp proves the signature was made while it was valid.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://artifactprovenanceexplorer.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://artifactprovenanceexplorer.usefulweb.site/mcp · tool name artifact_provenance_explorer
Example request
curl -s -X POST https://artifactprovenanceexplorer.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{…see OpenAPI examples…}'
Feedback · ideas & bug reports welcome