logoalt Hacker News

stbenjam • today at 3:18 PM • 7 replies • view on HN

IMHO defaults for uv, npm, etc should all have a cooldown for 24 - 48 hours by default, you should have to go out of your way to install something newer.


Replies

sunbum • today at 6:41 PM

I use safechain for this, because there is always gonna be another package manager configured wrong. https://github.com/AikidoSec/safe-chain

robinhoodexe • today at 3:30 PM

We have 7d cooldown on packages on an internal pypi proxy but that blocks security updates also, which we now have to manually exclude from the cooldown.

I’m unsure how to automate this properly, maybe an LLM is the best starting point.

➕ show 2 replies
rcleveng • today at 3:19 PM

I didn't realize they've all such added that, this was a change we made to our own projects last year when these first started - glad to see it's common.

Risk is ensuring enough security researchers are finding these and quarantining these before that default cooldown lapses.

➕ show 1 reply
happyPersonR • today at 7:45 PM

I’d imagine there were probably fixes for critical CVEs that were included …. A lot of companies are on a 24 hour timeline to get them out.

0c3ca83 • today at 5:38 PM

The last time I looked for information, I remember seeing that the median supply chain attack was in place for multiple months to years before being discovered. Cooldowns shorter than that seem like snake oil.

➕ show 1 reply
giancarlostoro • today at 3:40 PM

I wonder if in some cases it's not so much that people are updating too quickly, but rather, their deployment pipelines do not have pinned / frozen versions attached to their builds.

galoisscobi • today at 5:47 PM

Then we’ll find out about malware 24 - 48 hours later.