news.volyx.in

Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps (bleepingcomputer.com)

924 points by curling_grad · 1713 days ago · 1063 comments on HN

Article summary

The developer of the NPM libraries 'colors' and 'faker' intentionally corrupted the code, causing issues for thousands of applications. The developer's GitHub account was suspended due to this action. The incident raises questions about the responsibility of open-source developers and the role of platforms like GitHub in regulating malicious behavior. The corruption was reportedly done to target large corporations that use the libraries without contributing back to the developer.

Main themes

  • Open-source responsibility
  • Malicious code
  • GitHub regulation
  • Developer intent
  • User responsibility
  • Open-source ethics

What commenters say

  • The developer's intentional corruption of the code constitutes malicious behavior and justifies GitHub's suspension of their account.
  • Open-source developers have no responsibility to ensure their code does not break downstream applications, as users should audit and test changes before updating.
  • GitHub has the right to regulate and remove malicious code from its platform, regardless of the license or intent of the developer.
  • The corruption of the code was an act of vandalism that damaged users and undermined trust in the open-source ecosystem.
  • Users who update dependencies without testing and auditing changes are responsible for any resulting issues, not the developer.
  • The incident highlights the need for better practices and communication between developers, users, and platforms to prevent similar issues in the future.
  • The developer's actions were a form of protest against large corporations that profit from open-source software without contributing back to the community.
  • GitHub's decision to suspend the account sets a precedent for regulating malicious behavior on the platform, which may be challenging to enforce consistently.