logoalt Hacker News

cowltoday at 9:24 AM5 repliesview on HN

min release age to 7 days about patch releases exposes you to the other side of the coin, you have an open 7 days window on zero-day exploits that might be fixed in a security release


Replies

tythotoday at 12:26 PM

At least with pnpm, you can specify minimumReleaseAgeExclude, temporarily until the time passes. I imagine the other package managers have similar options.

[1]: https://pnpm.io/settings#minimumreleaseageexclude

n_etoday at 12:33 PM

I haven't checked, but it would be surprising that the min-release-age applies to npm audit and equivalent commands

freedombentoday at 12:11 PM

Exactly what I thought too when I read this...

Urgent fix, patch released, invisible to dev team cause they put in a 7 day wait. Now our app is vulnerable for up to 7 days longer than needed (assuming daily deploys. If less often, pad accordingly). Not a great excuse as to why the company shipped an "updated" version of the app with a standing CVE in it. "Sorry we were blinded to the critical fix because set an arbitrary local setting to ignore updates until they are 7 days old". I wouldn't fire people over that, but we'd definitely be doing some internal training.

aetherspawntoday at 12:16 PM

Not really an issue though right because virtually none of these have lasted more than 1-2 days before being discovered?

ksnssjsjsjtoday at 9:40 AM

Out of the frying pan and into the frier.....