The package manager for JavaScript Problems? Visit npmjs.com/support or github.com/npm/feedback

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 ⬇️ github.blog/changelog/2026-0…
3
10
5,077
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 ⬇️ github.blog/changelog/2026-0…
1
7
4,612
Coming next: bypass-2FA tokens will also lose direct publish (~Jan 2027). Move automated publishing to trusted publishing (OIDC) or staged publishing.
2
7
1,868
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-publi…
20
122
516
67,614
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-time-scann…
5
3
30
8,036
npm v12 is here. npm install now blocks lifecycle scripts, git, and remote-URL dependencies by default — a more secure baseline out of the box. We're also starting to phase out npm 2FA-bypass tokens for account changes and direct publishing. Details 👇 github.blog/changelog/2026-0…
3
19
114
14,971
1/ To prevent supply chain attacks following the pattern of Mini Shai Hulud, we invalidated npm granular access tokens with write access that bypass 2FA. Update the stored token and rerun the workflow for your automations.
54
188
1,523
268,203
starting today, developers building npm projects on @GitHub Actions can request a provenance statement to be published alongside their package, giving consumers a verifiable way to link a package back to its source repository and build instructions. github.blog/2023-04-19-intro…
15
74
261
137,372
Now you can create tokens with fine-grained permissions for automating your publishing and org management workflows. And a new code explorer allows you to view content of a package directly in the npm portal. github.blog/2022-12-06-new-n…
3
11
44
⚡️ #7: Use npm query and jq to dig into your dependencies piped.video/watch?v=h_ZpixOg… You can use the new "npm query" command and jq to answer interesting questions about your package's dependencies #terminalrocks
8
17
45
🚀 we just shipped npm v8.16.0 with the new `npm query` command 📦 this new feature allows developers to quickly ask & answer questions about their project's dependencies. you can learn more here: github.blog/changelog/2022-0… ⬇️ to get it now, run: $ npm install -g npm
4
29
77
We've launched a number of security enhancements to npm including: * Improved login and publish experience /w CLI * Connecting GitHub + Twitter accounts * All packages have been resigned and a new command `npm audit signatures` Read more at: github.blog/2022-07-26-intro…
3
56
190