News for hackers. Stuff that matters.
Re:We All Dodged a Bullet by dherls on Tuesday September 09, 2025 @12:20PM (#45184241)
A solution could be enforcing hardware keys for 2FA for all maintainers if a package has more than XX thousand weekly downloads.

No hardware keys, no new releases.

Re:We All Dodged a Bullet by ozim on Tuesday September 09, 2025 @05:21PM (#45189368)
Passkeys - no need for hardware key.

They have it implemented.

I created NPM account today and added passkey from my laptop and hardware key as secondary. As I have it configured it asked my for it while publishing my test package.

So the guy either had TOTP or just the pw.

Seems like should be easy to implement enforcement.

Re:We All Dodged a Bullet by winkelmann on Tuesday September 09, 2025 @09:13PM (#45191840)
Crucially, it would have to be set up so they need to use the hardware key when pushing any changes. Just requiring a hardware key as a login method does nothing to protect against token stealing, which I believe is the most common form of supply chain attack right now.