Live data from Hacker News

DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware

github.com

21–30 of 296 posts

Re: DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware

#22
post #4

> According to the npm statistics, nobody has downloaded these packages before they were deprecated Is this actually accurate? Packages with weekly downloads in the hundreds of thousands, yet in the 4+ hours that the malicious versions were up for, not a single person updated any of them to the latest patch release?

DuckDB maintainer here, thanks for flagging this. Indeed the npm stats are delayed. We will know in a day or so what the actual count was. In the meantime, I've removed that statement.

I think you should unpublish rather than deprecate... `npm unpublish package@version` ... It's possible within 72h. One reason is that the patched version contains -alpha... so tools like npm-check-updates would keep the 1.3.3 as the latest release for those who installed it

Re: DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware

#24

Earlier quoted context omitted.

DuckDB maintainer here, thanks for flagging this. Indeed the npm stats are delayed. We will know in a day or so what the actual count was. In the meantime, I've removed that statement.

I think you should unpublish rather than deprecate... `npm unpublish package@version` ... It's possible within 72h. One reason is that the patched version contains -alpha... so tools like npm-check-updates would keep the 1.3.3 as the latest release for those who installed it

Yes we tried, but npm would not let us because of "dependencies". We've reached out to them and are waiting for a response. In the meantime, we re-published the packages with newer versions so people won't accidentally install the compromised version.

Re: DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware

#25
post #12

So far, it seems to be a bog-standard phishing email, with not much novelty or sophistication, seems the people running the operation got very lucky with their victims though. I'm starting to think we haven't even seen the full scope of it yet, two authors confirmed as compromised, must be 10+ out there we haven't heard of yet?

>> So far, it seems to be a bog-standard phishing email

The fact this is NOT the standard phishing email shows how low the bar is:

1. the text of the email reads like one you'd get from npm in the tone, format and lack of obvious spelling & grammatical errors. It pushes you to move quicker than you might normally, without triggering the typical suspicions.

2. the landing domain and website copy seem really close to legit, no obfuscated massive subdomain, no uncanny login screen, etc.

All the talk of AI disrupting tech; this is an angle where generative AI can have a massive impact in democratizing the global phishing industry. I do agree with you that there's likely many more authors who have been tricked and we haven't seen the full fallout.

Re: DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware

#28

Comes with the territory considering that npm is defacto the number one enshittification dependency by now. But no worries - this will scale beautifully. downvotes appreciated but also happy to see one or two urls that would prove me wrong

In the spirit of a substantive discussion could you likewise share a couple that would prove you right?

Re: DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware

#29

Should enforce passkeys not 2FA

How is that different?

Passkeys are unphishable because there is nothing to type in. And they are locked to an origin by design, so you can’t accidentally use one on the wrong domain because the browser simply won’t do it.

Re: DuckDB NPM packages 1.3.3 and 1.29.2 compromised with malware

#30

Earlier quoted context omitted.

How is that different?

Passkey only works when you're on the correct website

Use a password manager (that isn't too buggy and/or suck) and you get the same thing for both TOTP and passwords.
Post reply on HN