News for hackers. Stuff that matters.
Re:NPM packages from Red Hat have been compromised by kylebebak on Monday June 01, 2026 @11:12AM (#48357915)
npm supports this now as well, with e.g. `min-release-age=7` in `.npmrc`
Re:NPM packages from Red Hat have been compromised by winrid on Monday June 01, 2026 @11:53AM (#48358542)
not if you have internal repos?
Re:NPM packages from Red Hat have been compromised by hedora on Monday June 01, 2026 @12:37PM (#48359169)
I think you can set it on internal repos, but then you need to allow-list internal code. People act like this is simple + solved, but it's not. It turns into 100K-1M's of LLM tokens on a semi-regular basis, or "just hire a build infra team for your side project" pretty quickly.
Re:NPM packages from Red Hat have been compromised by winrid on Wednesday June 03, 2026 @03:09AM (#48380888)
did you write this with an LLM? also, no, there are no docs for allow listing internal libraries or namespaces in NPM that I can find
Re:NPM packages from Red Hat have been compromised by bram98 on Monday June 01, 2026 @04:10PM (#48361959)
Why not the other way around, I man by default and can be changed.