News for hackers. Stuff that matters.
Re:NPM debug and chalk packages compromised by dboreham on Monday September 08, 2025 @02:42PM (#45172119)
OP entered their credentials and TOTP code, which the attacker proxied to the real npmjs.com

FWIW npmjs does support FIDO2 including hard tokens like Yubikey.

They do not force re-auth when issuing an access token with publish rights, which is probably how the attackers compromised the packages. iirc GitHub does force re-auth when you request an access token.

Re:NPM debug and chalk packages compromised by osa1 on Monday September 08, 2025 @04:44PM (#45173739)
> They do not force re-auth when issuing an access token with publish rights, which is probably how the attackers compromised the packages

I'm surprised by this. Yeah, GitHub definitely forces you to re-auth when accessing certain settings.