{"id":35330,"date":"2022-03-21T16:29:30","date_gmt":"2022-03-21T20:29:30","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=35330"},"modified":"2022-03-21T16:29:30","modified_gmt":"2022-03-21T20:29:30","slug":"npm-packages-sabotaged","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/03\/21\/npm-packages-sabotaged\/","title":{"rendered":"NPM Packages Sabotaged"},"content":{"rendered":"<p><a href=\"https:\/\/www.bleepingcomputer.com\/news\/security\/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps\/\">Ax Sharma<\/a>, in January:<\/p>\n<blockquote cite=\"https:\/\/www.bleepingcomputer.com\/news\/security\/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps\/\"><p>The developer behind popular open-source NPM libraries &lsquo;colors&rsquo; (aka colors.js on <a href=\"https:\/\/github.com\/Marak\/colors.js\">GitHub<\/a>) and &lsquo;faker&rsquo; (aka faker.js on <a href=\"https:\/\/github.com\/marak\/Faker.js\/\">GitHub<\/a>) intentionally introduced mischievous commits in them that are impacting thousands of applications relying on these libraries.<\/p><p>Yesterday, users of popular open-source projects, such as <a href=\"https:\/\/github.com\/aws\/aws-cdk\/issues\/18323\">Amazon&rsquo;s Cloud Development Kit<\/a> (aws-cdk) were left stunned on seeing their applications print gibberish messages on their console.<\/p><p>[&#8230;]<\/p><p>The reason behind this mischief on the developer&rsquo;s part appears to be retaliation&mdash;against mega-corporations and commercial consumers of open-source projects who extensively rely on cost-free and community-powered software but do not, according to the developer, give back to the community.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/www.bleepingcomputer.com\/news\/security\/big-sabotage-famous-npm-package-deletes-files-to-protest-ukraine-war\/\">Ax Sharma<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.bleepingcomputer.com\/news\/security\/big-sabotage-famous-npm-package-deletes-files-to-protest-ukraine-war\/\"><p>This month, the developer behind the popular npm package &lsquo;node-ipc&rsquo; released sabotaged versions of the library in protest of the ongoing Russo-Ukrainian War.<\/p><p>Newer versions of the &lsquo;node-ipc&rsquo; package began deleting all data and overwriting all files on developer&rsquo;s machines, in addition to creating new text files with &ldquo;peace&rdquo; messages.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/daringfireball.net\/linked\/2022\/03\/20\/node-ipc-protest-ukraine\">John Gruber<\/a>:<\/p>\n<blockquote cite=\"https:\/\/daringfireball.net\/linked\/2022\/03\/20\/node-ipc-protest-ukraine\">\n<p>The way the Node community works, just <a href=\"https:\/\/www.theregister.com\/2016\/03\/23\/npm_left_pad_chaos\/\">blindly slurping in other people&rsquo;s package updates<\/a> without knowing what&rsquo;s in them, continues to boggle my mind.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/www.schneier.com\/blog\/archives\/2022\/03\/developer-sabotages-open-source-software-package.html\">Bruce Schneier<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.schneier.com\/blog\/archives\/2022\/03\/developer-sabotages-open-source-software-package.html\">\n<p>It constantly surprises non-computer people how much critical software is dependent on the whims of random programmers who inconsistently maintain software libraries. Between log4j and this new protestware, it&rsquo;s becoming a serious vulnerability. The White House tried to start addressing this problem last year, <a href=\"https:\/\/www.whitehouse.gov\/briefing-room\/presidential-actions\/2021\/05\/12\/executive-order-on-improving-the-nations-cybersecurity\/\">requiring<\/a> a &ldquo;software bill of materials&rdquo; for government software[&#8230;]<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/03\/02\/apple-halts-sales-in-russia\/\">Apple Halts Sales in Russia<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/12\/10\/log4shell-log4j-remote-code-execution\/\">Log4Shell: Log4j Remote Code Execution<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/11\/24\/githubs-commitment-to-npm-ecosystem-security\/\">GitHub&rsquo;s Commitment to npm Ecosystem Security<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2019\/09\/17\/the-internet-relies-on-people-working-for-free\/\">The Internet Relies on People Working for Free<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/11\/27\/popular-npm-package-compromised\/\">Popular NPM Package Compromised<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2016\/03\/23\/how-one-developer-broke-node-babel-and-thousands-of-projects\/\">How One Developer Broke Node, Babel, and Thousands of Projects<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Ax Sharma, in January: The developer behind popular open-source NPM libraries &lsquo;colors&rsquo; (aka colors.js on GitHub) and &lsquo;faker&rsquo; (aka faker.js on GitHub) intentionally introduced mischievous commits in them that are impacting thousands of applications relying on these libraries.Yesterday, users of popular open-source projects, such as Amazon&rsquo;s Cloud Development Kit (aws-cdk) were left stunned on seeing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2022-03-21T20:29:32Z","apple_news_api_id":"8499bc8a-2e54-438f-b9cb-50a6badf0a8b","apple_news_api_modified_at":"2022-03-21T20:29:32Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AhJm8ii5UQ4-5y1Cmut8Kiw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1016,346,1136,991,71,1676,2177],"class_list":["post-35330","post","type-post","status-publish","format-standard","hentry","category-technology","tag-datacide","tag-javascript","tag-node-js","tag-open-source-software","tag-programming","tag-russia","tag-ukraine"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/35330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=35330"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/35330\/revisions"}],"predecessor-version":[{"id":35331,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/35330\/revisions\/35331"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=35330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=35330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=35330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}