News for hackers. Stuff that matters.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by XYen0n on Tuesday March 31, 2026 @12:39AM (#47582818)
If everyone avoids using packages released within the last 7 days, malicious code is more likely to remain dormant for 7 days.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by otterley on Tuesday March 31, 2026 @12:42AM (#47582838)
What do you base that on? Threat researchers (and their automated agents) will still keep analyzing new releases as soon as they’re published.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by mike_hearn on Tuesday March 31, 2026 @04:33AM (#47584335)
Their analysis was triggered by open source projects upgrading en-masse and revealing a new anomalous endpoint, so, it does require some pioneers to take the arrows. They didn't spot the problem entirely via static analysis, although with hindsight they could have done (missing GitHub attestation).
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by narrator on Tuesday March 31, 2026 @05:14AM (#47584668)
A security company could set up a honeypot machine that installs new releases of everything automatically and have a separate machine scan its network traffic for suspicious outbound connections.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by mike_hearn on Tuesday March 31, 2026 @10:16AM (#47587747)
The problem is what counts as suspicious. StepSecurity are quite clear in their post that they decide what counts as anomalous by comparing lots of open source runs against prior data, so they can't figure it out on their own.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by staticassertion on Tuesday March 31, 2026 @07:01AM (#47585545)
> What do you base that on?

The entire history of malware lol

Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by otterley on Tuesday March 31, 2026 @10:04AM (#47587576)
Can you elaborate? Why do you believe that motivated threat hunters won’t continue to analyze and find threats in new versions of open source software in the first week after release?
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by staticassertion on Tuesday March 31, 2026 @10:08AM (#47587630)
Attackers going "low and slow" when they know they're being monitored is just standard practice.

> Why do you believe that motivated threat hunters won’t continue to analyze and find threats in new versions of open source software in the first week after release?

I'm sure they will, but attackers will adapt. And I'm really unconvinced that these delays are really going to help in the real world. Imagine you rely on `popular-dependency` and it gets compromised. You have a cooldown, but I, the attacker, issue "CVE-1234" for `popular-dependency`. If you're at a company you now likely have a compliance obligation to patch that CVE within a strict timeline. I can very, very easily pressure you into this sort of thing.

I'm just unconvinced by the whole idea. It's fine, more time is nice, but it's not a good solution imo.

Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by otterley on Tuesday March 31, 2026 @10:23AM (#47587842)
What, in your view, is a better solution?
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by staticassertion on Tuesday March 31, 2026 @11:12AM (#47588535)
There are many options. Here's a post just briefly listing a few of the ones that would be handled by package managers and registries, but there are also many things that would be best done in CI pipelines as well.

https://news.ycombinator.com/item?id=47586241

Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by PunchyHamster on Tuesday March 31, 2026 @08:25AM (#47586308)
The fact threat researchers and especially their automated agents are not all that good at their jobs
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by zwily on Tuesday March 31, 2026 @09:19AM (#47586970)
Those threat researchers and their autonomous agents caught this axios release.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by cozzyd on Tuesday March 31, 2026 @12:41AM (#47582835)
that's why people are telling others to use 7 days but using 8 days themselves :)
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by porridgeraisin on Tuesday March 31, 2026 @03:34AM (#47583928)
Genius
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by wongarsu on Tuesday March 31, 2026 @06:33AM (#47585286)
brb, switching everything to 9 days
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by johnisgood on Tuesday March 31, 2026 @09:18AM (#47586947)
That is 3D chess level type shit. xD
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by MetaWhirledPeas on Tuesday March 31, 2026 @11:18AM (#47588637)
You don't have to be faster than the bear, you just have to be faster than the other guy.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by jmward01 on Tuesday March 31, 2026 @12:43AM (#47582846)
I suspect most packages will keep a mix of people at 7 days and those with no limit. That being said, adding jitter by default would be good to these features.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by Barbing on Tuesday March 31, 2026 @02:16AM (#47583389)
>adding jitter by default would be good

This became evident, what, perhaps a few years ago? Probably since childhood for some users here but just wondering what the holdup is. Lots of bad press could be avoided, or at least a little.

Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by DimmieMan on Tuesday March 31, 2026 @12:41AM (#47582832)
They’re usually picked up by scanners by then.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by Aurornis on Tuesday March 31, 2026 @12:55AM (#47582902)
Most people won’t.

7 days gives ample time for security scanning, too.

Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by bakugo on Tuesday March 31, 2026 @12:46AM (#47582863)
> If everyone avoids using packages released within the last 7 days

Which will never even come close to happening, unless npm decides to make it the default, which they won't.

Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by 3abiton on Tuesday March 31, 2026 @01:27AM (#47583078)
This highly depends on the detection mechanism.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by shreyssh on Tuesday March 31, 2026 @05:31AM (#47584797)
Worth noting this attack was caught because people noticed anomalous network traffic to a new endpoint. The 7-day delay doesn't just give scanners time, it gives the community time to notice weird behavior from early adopters who didn't have the delay set.

It's herd immunity, not personal protection. You benefit from the people who DO install immediately and raise the alarm

Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by sersi on Tuesday March 31, 2026 @05:38AM (#47584842)
But wouldn't the type of people that notifes anomalous network activity be exactly the type of people who add a 7 day delay because they're security conscious?
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by DrewADesign on Tuesday March 31, 2026 @09:57AM (#47587495)
And I’ll bet a chunk of already-compromised vibe coders are feeling really on-top-of-shit because they just put that in their config, locking in that compromised version for a week.