npm's release cooldown is security theater | Re:LinkedSkip to main contentnpm's release cooldown is security theater<br>2026/7/21 · #tech · ~2.5k words · Views: ...<br>Due to many ecosystem attack incidents, package managers (and packagers, and managers) are apparently falling in love with cooldowns these days (npm, pnpm, yarn and so on). As a result, their upstream registry is time-gated for some 7 days or 24 hours.<br>Sounds sweet as honey. Except that it is not going to work. I'll say it's not honey, but a honeypot that traps.<br>Waiting for security, or Godot #<br>Some are waiting for the community to "vet" the package before installing it. However, people don't know what's the appropriate cooldown time (e.g. 7 days for yarn, 3 days for pnpm). Also, a spoiler: people have no idea who would vet, either.<br>The implicit assumption is that someone out there (in the community) will:<br>install every package early (because they are warmhearted)<br>notice something wrong (because they are smart)<br>and raise the alarm before the crowd gets to it (because they have the best cyber loudspeaker)<br>all for free!<br>But the reality isn't that generous. If everyone sets a cooldown, there will be no early adopter. Everyone is waiting for everyone else to be the canary, and the canary does not exist.<br>So they are waiting for Godot, and... Godot is not coming.<br>Leaning on CI/CD, which is either useless or too late #<br>Some others use a pipeline or some CI/CD (yes, not necessarily human) that pulls the latest package through some dependabot PR.<br>When there is malicious code, one of the two results will happen (depending on whether the CI is exploitable/valuable):<br>the exploit either gets unnoticed<br>or succeeds<br>And the PR gets merged and devs hit npm install without a second thought. Since nobody and nothing looks at the still-untrusted code (reading package-lock.json does not count!), people and machines are unaware of the issue before installing, and malicious code is only found when the impact starts to show. Needless to say it would be too late.<br>So, I'd say DYOR matters indeed #<br>In a word, waiting without taking action doesn't work. But what to do instead? I would suggest "Do Your Own Research":<br>Treat vendored code like some random Windows EXE downloaded from the Internet. Bring the static analysis tools. Bring SASTs. Bring the sandboxes. Bring your hips HIPS.<br>Run LLM-assisted audit on vendored code.<br>Of course, before the dependabot PRs get merged or devs install them on their boxes.<br>Stop cooling down or laying flat. Instead, start active scanning, so it's no longer a movie in the security theater.
➡️ [Opinion Card] What's an Opinion Card?
Comments<br>You may optionally provide your email address to receive email notifications about comment replies.