Manage npm dist-tags with Trusted Publishing, without keeping a separate token for the job. Opt in per configuration, including staging-only workflows. Existing permissions stay unchanged unless you enable it. Learn more ⬇️
npm
npm
@npmjs.com
The package manager for JavaScript Problems? Visit http://npmjs.com/support or https://github.com/npm/feedback
183 followers2 following11 posts
Automate preparation, keep approval with a maintainer. npm’s stage-only granular access tokens let CI stage new versions, while publication requires maintainer approval with 2FA. Get started ⬇️
npm now has broader account protection. A temporary 72-hour security hold will be placed on any account after a successful recovery-code sign-in. Applicable to all npm accounts.
Learn more recent improvements and what’s next. Tell us what would make publishing and consuming packages safer and easier.
npm is making safer publishing easier to adopt. Now generally available: • Multiple trusted publishing configurations per package • Staged packages can only be approved after malware scanning is complete • Maintainers can see their staged history in the package versions tab
npm Granular Access Tokens that bypass 2FA can no longer manage your account, org, or packages—those actions now require an interactive 2FA challenge, closing a major credential-based attack surface. github.blog/changelog/20...
npm is rotating write-scoped npm Granular Access Tokens that bypass 2FA as a precaution following a now-contained security incident. This doesn't affect GitHub personal access tokens. Maintainers should upgrade the npm CLI to v12+ and consider Trusted Publishing. docs.npmjs.com/trusted-publ...
Strengthening npm supply-chain security: packages are now scanned for malware at publish time, before they can be installed. We're also introducing disclosure for legitimate dual-use tools so they aren't blocked by default. gh.io/npm-publish-...
npm v12 is now generally available. npm install now makes install scripts, Git, and remote-URL dependencies opt-in by default. We're also retiring npm 2FA-bypass GAT: no account management (early Aug 2026), no direct publishing (~Jan 2027). More info at github.blog/changelog/20...
You are up to date.