News for hackers. Stuff that matters.
Re:How to build an NPM worm by pfg on Friday July 13, 2018 @02:34PM (#17525529)
In this attack, the maintainer's primary device was not owned. The maintainer's npm account was breached due to a reused password. Code signing would mitigate this because the attacker would be unable to release/sign a malicious version of the package.

Building a system that is immune against the maintainer's device being compromised puts you into "Reflections on trusting trust" territory. Just sticking two-factor authentication into that process won't change much (though it would of course also mitigate the password reuse vector).

There are no comments on this comment yet.