Re:What NPM should do to stop a new colors attack
by fault1 on Monday January 10, 2022 @11:14PM
(#29887454)
Did he own this code? Colors.js had plenty of other contributors, and there was no CLA involved.
github user "DABH" actually had more lines of code than marak did: https://github.com/Marak/colors.js/graphs/contributors
npm and github both have terms of service that you agree to when you choose to distribute something over those systems. npm in particular has had a long policy of unrolling malicious changes to the registry of packages ever since left-pad.
Because that is the precedent we are setting here.