Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal...
by zokier on Tuesday September 09, 2025 @11:30AM
(#45183367)
You don't need complex token arrangements for this. You can just filter emails based on their from addresses.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal...
by JimDabell on Tuesday September 09, 2025 @12:40PM
(#45184576)
Unfortunately, it’s not that simple. It’s extremely common for the same organisation to send emails from different addresses, different domains, and different servers, for many different reasons.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal...
by waynesonfire on Tuesday September 09, 2025 @07:45PM
(#45191110)
You can just filter emails based on their from addresses.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal...
by JimDabell on Tuesday September 09, 2025 @08:19PM
(#45191431)
So if an organisation emails you from [email protected], [email protected], and [email protected], and the phisher emails you from [email protected], which filter based on their from addresses makes all the legitimate ones show up as the same sender while excluding the phishing email?
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal...
by artemisart on Tuesday September 09, 2025 @09:15PM
(#45191848)
Why should we expect companies to be able to reuse the correct token if they can't coordinate on using a single domain in the first place?
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal...
by JimDabell on Tuesday September 09, 2025 @09:29PM
(#45191964)
Your assumption that they use more than one domain by accident due to a lack of coördination is not correct. Separating, e.g. your product email from your mailing list email from your corporate email has a number of benefits.
Anyway, I already mentioned a solid incentive for them to use the correct token. Go back and read my earlier comment.
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal...
by cuu508 on Wednesday September 10, 2025 @01:03AM
(#45193504)
It is correct at least in some cases. https://news.ycombinator.com/item?id=45190323
Re:DuckDB NPM packages 1.3.3 and 1.29.2 compromised with mal...
by zahlman on Wednesday September 10, 2025 @01:38AM
(#45193730)
> which filter based on their from addresses makes all the legitimate ones show up as the same sender while excluding the phishing email?
This is the wrong question.
The right question is: what should we do about the fact that the organization has such terrible security practice?
And the answer is: call them on the phone, and tell them that you will not do business with them until they fix their shit.
I think there’s a fairly straightforward way of fixing this: contact requests for email. The first email anybody sends you has an attachment that requests a token. Mail clients sort these into a “friend request” queue. When the request is accepted, the sender gets the token, and the mail gets delivered to the inbox. From that point on, the sender uses the token. Emails that use tokens can skip all the spam filters because they are known to be sent by authorised senders.
This has the effect of separating inbound email into two collections: the inbox, containing trustworthy email where you explicitly granted authorisation to the sender; and the contact request queue.
If a phisher sends you email, then it will end up in the new request queue, not your inbox. That should be a big glaring warning that it’s not a normal email from somebody you know. You would have to accept their contact request in order to even read the phishing email.
I went into more detail about the benefits of this system and how it can be implemented in this comment:
https://news.ycombinator.com/item?id=44969726