# npm provenance public beta

DevFeed: [npm provenance public beta](<https://devfeed.tech/articles/npm-provenance-public-beta-73555.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2023-04-19-npm-provenance-public-beta>)

Author: Kevin Duck

Published: 2023-04-19T16:11:34Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [npm](<https://devfeed.tech/topics/npm.md>), [npm packages](<https://devfeed.tech/topics/npm-packages.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [slsa levels](<https://devfeed.tech/topics/slsa-levels.md>), [software artifact signing](<https://devfeed.tech/topics/software-artifact-signing.md>), [certificates](<https://devfeed.tech/topics/certificates.md>)

Tags: [beta](<https://devfeed.tech/tags/beta.md>), [certificate](<https://devfeed.tech/tags/certificate.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [instructions](<https://devfeed.tech/tags/instructions.md>), [jwt](<https://devfeed.tech/tags/jwt.md>), [npm](<https://devfeed.tech/tags/npm.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [provenance](<https://devfeed.tech/tags/provenance.md>), [registry](<https://devfeed.tech/tags/registry.md>), [sigstore](<https://devfeed.tech/tags/sigstore.md>), [source-code](<https://devfeed.tech/tags/source-code.md>)

## AI overview

npm packages built on cloud CI/CD systems can publish verifiable links to their source code and build instructions. The CI/CD system sends provenance in a signed OIDC JWT to Sigstore's public-good servers, which return a signing certificate that accompanies the package to the registry. The excerpt's GitHub Actions example publishes with `npm publish --provenance`; it requires `id-token: write` permission and an npm token. Published provenance appears on the registry website, and dependencies with provenance can be checked using `npm audit signatures`.

## Source excerpt

npm packages built on a cloud CI/CD system (like GitHub Actions) can now publish with provenance, meaning the package has verifiable links back to its source code and build instructions....