News for hackers. Stuff that matters.
Re:Self Propagating NPM Malware Compromises over 40 Packages by EGreg on Tuesday September 16, 2025 @03:51PM (#45267101)
Exactly.

I always tried to keep the dependencies to a minimum.

Another thing you can do is lock versions to a year ago (this is what linux distros do) and wait for multiple audits of something, or lack of reports in the wild, before updating.

Re:Self Propagating NPM Malware Compromises over 40 Packages by gameman144 on Tuesday September 16, 2025 @04:03PM (#45267246)
I saw one of those word-substition browser plugins a few years back that swapped "dependency" for "liability", and it was basically never wrong.

(Big fan of version pinning in basically every context, too)

Re:Self Propagating NPM Malware Compromises over 40 Packages by j1elo on Tuesday September 16, 2025 @06:53PM (#45269333)
I'm re-reading all these previous comments, replacing "dependency" for "liability" in my mind, and it's being quite fun to see how well everything still keeps meaning the same, but better