Introducing even more security enhancements to npm
Blog post from GitHub
GitHub has announced enhancements to the npm registry, focusing on improving security and developer trust by introducing a streamlined two-factor authentication (2FA) experience, linking npm accounts with GitHub and Twitter for verified identity, and a new command for auditing package integrity. The improvements include a more user-friendly 2FA process in npm CLI version 8.15.0, allowing login and publish authentication via the web browser and offering features like "remember me for 5 minutes" to reduce friction. Additionally, developers can now officially link their GitHub and Twitter accounts to npm, ensuring verified account data and enhancing account recovery processes. All npm packages have been re-signed using a secure ECDSA algorithm, with the ability to verify package integrity through the newly introduced "audit signatures" command in npm CLI version 8.13.0. These measures aim to bolster the security of the npm ecosystem, with plans to enforce 2FA for high-impact accounts and further improve account recovery through automated identity verification.