Enhanced 2FA experience for your npm account
Blog post from GitHub
In response to a rise in account takeovers due to compromised developer accounts lacking two-factor authentication (2FA), a series of enhancements have been implemented to facilitate easier 2FA adoption on the npm registry. A public beta has been launched, offering an improved 2FA experience with features such as support for multiple security factors, a new configuration menu, and complete CLI support for login and publishing using physical security keys and biometric devices. Mandatory 2FA enrollment began with maintainers of the top-100 npm packages and will expand to include maintainers of the top-500 packages and high-impact maintainers with significant weekly downloads or dependents. Future plans include refining the WebAuthn login and publishing process and enhancing the account recovery process with secure identity verification methods.