News for hackers. Stuff that matters.
Re:Self Propagating NPM Malware Compromises over 40 Packages by skybrian on Tuesday September 16, 2025 @04:25PM (#45267489)
When using Go, you don't get updated indirect dependencies until you update a direct dependency. It seems like a good system, though it depends on your direct dependencies not updating too quickly.
Re:Self Propagating NPM Malware Compromises over 40 Packages by silverwind on Tuesday September 16, 2025 @09:35PM (#45270538)
The auto-updating behaviour dependencies because of the `^` version prefix is the root problem.

It's best to never use `^` and always specify exact version, but many maintainers apparently can't be bothered with updating their dependencies themselves so it became the default.