News for hackers. Stuff that matters.
Re:Self Propagating NPM Malware Compromises over 40 Packages by hedora on Tuesday September 16, 2025 @08:07PM (#45269945)
I recently started using npm for an application where there’s no decent alternative ecosystem.

The signal desktop app is an electron app. Presumably it has the same problem.

Does anyone know of any reasonable approaches to using npm securely?

“Reduce your transitive dependencies” is not a reasonable suggestion. It’s similar to “rewrite all the Linux kernel modules you need from scratch” or “go write a web browser”.

Re:Self Propagating NPM Malware Compromises over 40 Packages by umpalumpaaa on Tuesday September 16, 2025 @08:22PM (#45270039)
Most big tech companies maintain their own NPM registry that only includes approved packages. If you need a new package available in that registry you have to request it. A security team will then review that package and its deps and add it to the list of approved packages…

I would love to have something like that "in the open"…

Re:Self Propagating NPM Malware Compromises over 40 Packages by skydhash on Tuesday September 16, 2025 @09:08PM (#45270334)
A debian version of NPM? I've seen a lot of hates on Reddit and other places about Debian because the team focuses on stability. When you look at the project, it's almost always based on Rust or Python.
Re:Self Propagating NPM Malware Compromises over 40 Packages by wolvesechoes on Wednesday September 17, 2025 @03:29AM (#45272896)
> “Reduce your transitive dependencies” is not a reasonable suggestion. It’s similar to “rewrite all the Linux kernel modules you need from scratch” or “go write a web browser”.

Oh please, do not compare writing bunch of utilities for you "app" with writing a web browser.