{"id":59723,"date":"2024-01-07T14:28:24","date_gmt":"2024-01-07T19:28:24","guid":{"rendered":"http:\/\/pappp.net\/?guid=a34ae3bf0f3bac5f9002c2a7f773ece2"},"modified":"2024-01-07T14:28:24","modified_gmt":"2024-01-07T19:28:24","slug":"when-everything-becomes-too-much-the-npm-package-chaos-of-2024","status":"publish","type":"post","link":"https:\/\/pappp.net\/?p=59723","title":{"rendered":"When \u201ceverything\u201d becomes too much: the npm package chaos of 2024"},"content":{"rendered":"<p class=\"syndicated-attribution\">Source: <a href=\"https:\/\/www.osnews.com\/story\/138219\/when-everything-becomes-too-much-the-npm-package-chaos-of-2024\/\">OSNews<\/a><\/p>\n<div style=\"background-color : #fff7d5;\n\t\t\tborder-width : 1px; padding : 5px; border-style : dashed; border-color : #e7d796;margin-bottom : 1em; color : #9a8c59;\">Article note: Every time I read about the Node ecosystem I remember that I thought it was a joke about bad software design for for the first several _years_ I was hearing about it. \nI'm still not entirely convinced it isn't, but there sure are a lot of people who didn't realize.<\/div><blockquote>\n<p>Happy 2024, folks! Just when we thought we&rsquo;d seen it all, an npm user named PatrickJS, aka <a href=\"https:\/\/socket.dev\/npm\/user\/gdi2290\" rel=\"noopener noreferrer\">gdi2290<\/a>, threw us a curveball. He (<a  rel=\"noopener noreferrer\" href=\"https:\/\/uncenter.dev\/posts\/npm-install-everything\/\">along with a group of contributors<\/a>) kicked off the year with a bang, launching a troll campaign that uploaded an npm package aptly named <a href=\"https:\/\/socket.dev\/npm\/package\/everything\" rel=\"noopener noreferrer\"><code>everything<\/code><\/a>. This package, true to its name, depends on every other public npm package, creating millions of transitive dependencies.<\/p>\n\n\n\n<p>The <code>everything<\/code> package and its 3,000+ sub-packages have caused a <a href=\"https:\/\/socket.dev\/glossary\/denial-of-service-dos\" rel=\"noopener noreferrer\">Denial of Service (DOS)<\/a> for anyone who installs it. We&rsquo;re talking about storage space running out and system resource exhaustion.<\/p>\n\n\n\n<p>But that&rsquo;s not all. The creator took their prank to the next level by setting up http:\/\/everything.npm.lol, showcasing the chaos they unleashed. They even included a meme from Skyrim, adding some humor (or mockery, depending on your perspective) to the situation.<\/p>\n<cite><a href=\"https:\/\/socket.dev\/blog\/when-everything-becomes-too-much\" rel=\"noopener noreferrer\">&#8619; Feross Aboukhadijeh<\/a><\/cite><\/blockquote>\n\n\n\n<p>I know this is a bad thing, you shouldn&rsquo;t do this, it harms a lot of people, etc., etc., but let&rsquo;s be honest here &ndash; this is a hilarious prank that showcased a weakness in a rather playful way. Sure, there were real consequences, but it doesn&rsquo;t seem like any of them caused any permanent damage, data loss, or compromised systems. What&rsquo;s worse, it seems this isn&rsquo;t even the first time stuff like this happened, so I find it baffling people can still do this. What are they doing over there?<\/p>","protected":false},"excerpt":{"rendered":"<p>Happy 2024, folks! Just when we thought we\u2019d seen it all, an npm user named PatrickJS, aka g&#8230;<\/p>\n<p> <a href=\"https:\/\/pappp.net\/?p=59723\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[226],"tags":[],"class_list":["post-59723","post","type-post","status-publish","format-standard","hentry","category-news-2"],"_links":{"self":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/59723","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=59723"}],"version-history":[{"count":0,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/59723\/revisions"}],"wp:attachment":[{"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=59723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=59723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}