npm Adds 2FA-Gated Publishing and Package Install Controls Against Supply Chain Attacks
The Hacker News | #1 Trusted Source for Cybersecurity News [Uno…
May 23, 2026
GitHub has rolled out new controls for npm to improve the security of the software supply chain, giving maintainers the ability to explicitly approve a release prior to the packages becoming publicly available for installation.
Called staged publishing, the feature is now generally available on npm. It mandates that a human maintainer pass a two-factor authentication (2FA) challenge to approve
Discussion in the ATmosphere