Being 'used by many big companies', the developer manually broke the NPM colors.js and faker.js libraries
Initially, some people surmised that these two NPM libraries were hacked. But in the end the story is much more complicated than that.
It turned out that the developers of the above libraries created an infinite loop that caused thousands of projects that depended on colors and faker to hang, or render meaningless things.
The colors library is downloaded more than 20 million times per week and on npm alone, nearly 19,000 projects depend on it. Meanwhile, faker has 2.8 million downloads per week on npm and has over 2,500 dependent projects.
What is the root cause of this incident?
The developer behind the popular open-source libraries colors (aka colors.js on GitHub) and faker (aka faker.js on GitHub) has intentionally included in them bizarre commits. As a result, thousands of applications that depend on these libraries have been affected.
For example, Amazon's Cloud Development Kit (aws-cdk) displayed meaningless messages on the console. The message begins with three lines of LIBERTY LIBERTY LIBERTY followed by lines of non-ASCII characters. Liberty means freedom.
Why do developers manually sabotage the libraries they create? The most appropriate reason is to retaliate. The developers behind colors.js and faker.js are frustrated with the fact that large corporations and consumer businesses "use" free and community-provided software but do not support it. What support for the community.
In November 2020, developer Marak Squires - one of the people behind the colors.js project - shared that he will no longer support large corporations for free. Instead, Marak advises corporations to consider fork the project and get someone else to work on it or pay him a 6-figure salary a year (in USD).
Mixed feedback from the community
Some people support Mark's actions while others say it is irresponsible behavior.
"If you don't want others to use the temple, don't give it away for free. Your self-destruction of the library not only harms your business, but also affects anyone who uses it. It's irresponsible," said the expert with the nickname. InfoSec's VesOnSecurity shares.
Immediately after the controversy broke out, GitHub temporarily locked Marak's account. This also caused mixed reactions.
"Deleting your own code from (GitHub) also counts as a violation of GitHub's Terms of Service? WTF?" complained software engineer Sergio Gómez.
The case is still controversial and it is still unclear how things will be settled in the end. In the meantime, if you're using the colors and faker libraries for your projects, make sure not to use unsafe versions. Downgrading to older colors (e.g. 1.4.0) and faker versions (e.g. 5.5.3) can be a useful solution.
You should read it
- What is the difference between open source software and closed source software?
- 10 best open source web browsers
- How to Become an Open Source Enthusiast
- Warning: The number of vulnerabilities in open source software are increasing rapidly
- Cisco Linksys WRT160NL - 'toy' specifically for open source people
- 10 things to know about open source software
- Facebook turns Fizz - a library that enhances security protocols - into open source
- Microsoft unexpectedly shared 60,000 free software patents
May be interested
- How to become a good software developer?becoming a software developer is a lucrative career plan. let's tipsmake.com think and start step by step to become a good software developer. we believe you can absolutely do it!
- How to turn on developer mode on Galaxy S9 / Galaxy S9 +developer mode on galaxy s9 / galaxy s9 + will help users to further interfere with the device, with more advanced customizations.
- 12 Most Tweakable Developer Options on Androidunlocking the hidden menu is easy, but which developer options are worth tweaking? find out in the following article!
- Is the data structure and algorithm necessary for a Web Developer?is the data structure and algorithm necessary for a web developer? let's tipsmake.com find out in the article below!
- 13 books of indispensable Developeris developer without knowing these books is thrown!
- 12 valuable tips of a successful Developer at age 4012 sharing from a man who became developer after 6.776 days this effort will be the guideline for all who are fostering the dream of becoming a professional software developer.
- How to Enable Developer Mode in Windows 10the windows 10 developer mode allows developers to access special development features like the ubuntu bash shell environment along with other developer-focused settings. this makes it possible for developers to test apps that they're...
- Qualcomm unveils Developer Kit for Windows developersnamed snapdragon developer kit, this toolkit is expected to help programmers check whether their applications run stably on windows 10 arm.
- How to enable developer options and disable it on Androiddeveloper options on android devices will be hidden by default, to avoid changes affecting the system. the article below will guide you how to enable developer mode on android, illustrated on samsung galaxy s9 and how to turn off this option if you no longer use it.
- How to enable Developer Mode on Chromebookdeveloper mode on chromebooks allows you to perform a series of advanced tasks.