GitHub Implements Stricter npm Security Measures Following Major Supply-Chain Attacks
8 sources · Updated 5mo ago · First seen Sep 23, 2025

GitHub is rolling out enhanced security controls for the npm registry after a series of high-profile supply-chain attacks. Key changes include mandatory two-factor authentication, deprecation of legacy tokens, shorter token lifetimes, and the adoption of trusted publishing workflows. These measures aim to mitigate risks from recent incidents that compromised thousands of accounts and packages.


