This isn’t a story about NPM even though it’s inspired by NPM. Twice.
The maintainer of the “colors” NPM library intentionally changed the library’s behavior from its expected functionality to printing garbage messages. The library was exhibiting the type of malicious activity that typically comes from a compromised package. Only this time users of the library, which easily number in the thousands, discovered this was sabotage by the package maintainer himself.
This opens up a broader discussion on supply chain security than just provenance. How do we ensure open source tools receive the investments they need — security or otherwise? For that matter, how do we ensure internal tools receive the investments they need? Log4j was just one recent example of seeing old code appear in surprising places.
Investing in Open Source Security
Mike Shema – Security Partner at Square
Mike Shema is a Security Partner at Square.
Do you have a specific guest or topic that you want us to cover on one of the shows? Submit your suggestions for guests by visiting https://securityweekly.com/guests and completing the form! We review suggestions monthly and will reach out to you once reviewed!
We had an absolute blast putting together this year’s SW Unlocked virtual event! All presentations are now available on-demand for your viewing pleasure. Please visit https://securityweekly.com/unlocked to register and watch now!