Debate over whether npm should mandate hardware keys or phishing-resistant 2FA for popular package maintainers, and how to handle CI/CD publishing
← Back to Axios compromised on NPM – Malicious versions drop remote access trojan
The debate centers on whether npm should mandate phishing-resistant hardware keys for popular maintainers, with many arguing that traditional TOTP is an obsolete defense against modern supply chain attacks. While proponents suggest scaling security requirements alongside a package’s popularity through multi-signature approvals and cooling-off periods for account changes, others caution that manual verification can become a "velocity blocker" that developers will inevitably bypass. To resolve the tension between automation and security, participants advocate for "Trusted Publishing" models and cryptographic attestations that verify releases directly from source code rather than relying on potentially compromised long-lived tokens. Ultimately, the consensus highlights a need for the ecosystem to shift from simple password-based discipline toward more robust, hardware-backed primitives that protect the integrity of the software supply chain.
45 comments tagged with this topic