Marak Squires, the developer of popular open source npm libraries "faker" and "colors" decided to intentionally introduce an infinite loop that bricked thousands of projects that depend on the libraries:
https://www.bleepingcomputer.com/news/security/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps/
The decision to break his own code appears to have been driven by anger that companies that depended on his code didn't provide sufficient financial support for him:
https://web.archive.org/web/20210704022108/https://github.com/Marak/faker.js/issues/1046
https://web.archive.org/web/20220105101202/https://twitter.com/marak/status/1320465599319990272
https://web.archive.org/web/20210609195556/https://twitter.com/marak/status/1325612104808886274
Amongst the discussion, there were several links to projects intended to make it easier for companies to support open source projects:
https://xscode.com/
https://maintainer.io/
https://tidelift.com/
https://gitcoin.co/grants/
https://blog.xscode.com/736/the-right-sponsor-for-your-open-source-project/
http://techrights.org/index/
http://hook.io/
https://www.bleepingcomputer.com/news/security/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps/
The decision to break his own code appears to have been driven by anger that companies that depended on his code didn't provide sufficient financial support for him:
https://web.archive.org/web/20210704022108/https://github.com/Marak/faker.js/issues/1046
https://web.archive.org/web/20220105101202/https://twitter.com/marak/status/1320465599319990272
https://web.archive.org/web/20210609195556/https://twitter.com/marak/status/1325612104808886274
Amongst the discussion, there were several links to projects intended to make it easier for companies to support open source projects:
https://xscode.com/
https://maintainer.io/
https://tidelift.com/
https://gitcoin.co/grants/
https://blog.xscode.com/736/the-right-sponsor-for-your-open-source-project/
http://techrights.org/index/
http://hook.io/