Top
Best
New

Posted by WhyNotHugo 9/9/2025

We all dodged a bullet(xeiaso.net)
Related: NPM debug and chalk packages compromised - https://news.ycombinator.com/item?id=45169657
830 points | 484 commentspage 6
keyle 9/10/2025|
"saved by procrastination!" made me smile.

One of the common cases of being offline first, disconnected etc. pays off.

Don't rush. Work on Hawaiian clock!

jongjong 9/9/2025||
My open source projects were not affected but close call. I was using 2 of the dependencies (as sub-dependencies) but older versions. Seems that my philosophy of minimizing the number of dependencies and looking up dependency authors is paying off.

I saw this kind of thing coming years ago. I never understood why people were obsessed with using tiny dependencies to save them 4 lines of code. These useless dependencies getting millions of weekly downloads always seemed very suspicious to me.

zamalek 9/9/2025||
WebAuthN/fido/passkey should be mandatory to publish a package with >N downloads. Email and TOTP codes can be MITMd.
umvi 9/10/2025||
"A little duplication is better than a little dependency"

- Golang Proverb (also applies to any other programming language...)

dzogchen 9/9/2025||
Lazy conclusion. People can and have been validating dependencies. We need an npm proxy with validated dependencies.
arunc 9/10/2025||
Trying to read this on Brave on Android and I couldn't get past Anubis. Does anyone else observe the same?
mayhemducks 9/9/2025||
`Object.getPrototypeOf(obj)[Symbol.iterator] !== undefined`

There I fixed it. Now I don't even need the package array-ish!

junon 9/9/2025|
`Symbol` wasn't supported when I wrote `is-arrayish`. Neither were spreads. It was meant to be used with DOM lists or the magical `arguments` variable.
empathy_m 9/9/2025||
How much money did the attackers make?
ruuda 9/9/2025||
I'm not sure whether the compromised packages were the source of Kiln's API compromise, but it's plausible. It lead to theft of $41M worth of SOL. https://cointelegraph.com/news/swissborg-hacked-41m-sol-api-...
junon 9/10/2025||
These were different. The vulnerable packages wouldn't have caused an API exploit vector except in the most bizarre of edge cases I suppose.
zahlman 9/9/2025|||
According to a crypto tracking site linked indirectly via the other popular submission, about $500 worth of crypto.
gazaim 9/9/2025||
5 cents of eth and $20 of a meme coin.
beefnugs 9/10/2025||
We didn't dodge anything, this is just 1 of 1000 publicly found and reported on
thefifthsetpin 9/9/2025|
Allowing just anybody to rent npmjs.help feels like aiding and abetting.
ameliaquining 9/9/2025|
Who should have stopped this from happening and how should they have gone about doing so?
More comments...