Re:What NPM should do to stop a new colors attack
by naikrovek on Monday January 10, 2022 @10:42PM
(#29887211)
yes, that is the other half of the coin: don't run code if you don't know what it does.
an extreme version of that: don't use libraries at all.
I am trending more and more to this extreme as I age, because people aren't learning their lesson, and the npm ecosystem keeps biting them over and over...
Some consumers of his project chose to use his 3rd party dependency in their code for free knowing full well that it could disappear or break at any time, and yet they still chose not to mitigate those risks they chose to take on.