News for hackers. Stuff that matters.
Re:Post-mortem of this weekend's NPM incident by colanderman on Thursday January 11, 2018 @12:29PM (#16125739)
Package signing by the author helps, but not if (a) the author's key is compromised, or (b) the author acts in bad faith. With npm-style package registries, the risk of such an event increases with the number of dependencies your project has.

Better to (a) ship your code with explicit version and content dependencies (e.g. a SHA-256 of the package you expect to exist), or (b) delegate trust in upstream packages to fewer, more well-vetted, authorities (i.e. distro-style).

There are no comments on this comment yet.