{"id":593077,"date":"2026-05-19T19:59:14","date_gmt":"2026-05-19T19:59:14","guid":{"rendered":"https:\/\/www.newsbeep.com\/uk\/593077\/"},"modified":"2026-05-19T19:59:14","modified_gmt":"2026-05-19T19:59:14","slug":"shai-hulud-keeps-burrowing-314-npm-packages-infected-after-another-account-compromise","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/uk\/593077\/","title":{"rendered":"Shai-Hulud keeps burrowing: 314 npm packages infected after another account compromise"},"content":{"rendered":"<p class=\"kicker \" style=\"\">Cyber-crime<\/p>\n<p class=\"subtitle \" style=\"\">Popular JavaScript modules including size-sensor and echarts-for-react hit as hijacked account closed GitHub warnings<\/p>\n<p>An npm account compromise infected 314 npm packages with malware, including size-sensor, echarts-for-react, timeago.js,<br \/>\nand packages scoped to @antv, in a 22-minute burst of activity in the early hours of Tuesday morning.<\/p>\n<p>The most popular impacted package is size-sensor, downloaded<br \/>\n4.2 million times per month, followed by echarts-for-react (3.8 million), @antv\/scale<br \/>\n(2.2 million) and timeago.js (1.15 million).<\/p>\n<p>The compromised account, i@hust.cc, belongs to a developer based in<br \/>\nHangzhou, China. Security researcher Nicholas Carlini\u00a0<a href=\"https:\/\/github.com\/hustcc\/echarts-for-react\/issues\/622\" aria-label=\"GitHub issue describing compromise\" target=\"_blank\" rel=\"nofollow noopener\">reported the malware on GitHub<\/a>, and the the hust.cc account closed the issues and marked them as &#8220;fixed&#8221; within an hour.\u00a0This means the malware report on this<br \/>\nand other repositories is hidden unless a developer looks for closed issues.\u00a0<\/p>\n<p> Some malicious package versions have been deprecated on npm with the message &#8220;this<br \/>\nversion was published in error, please use the latest version instead,&#8221;<br \/>\nwhile others have been removed.<\/p>\n<p> Security biz SafeDep <a href=\"https:\/\/safedep.io\/mini-shai-hulud-strikes-again-314-npm-packages-compromised\/\" aria-label=\"Analysis of latest attack by SafeDep\" target=\"_blank\" rel=\"nofollow noopener\">reported<\/a><br \/>\non the malware and analyzed the payload, which uses the same structure as that<br \/>\nused to <a href=\"https:\/\/www.theregister.com\/security\/2026\/05\/01\/ongoing-supply-chain-attacks-worm-into-sap-npm-packages\/5228837\" aria-label=\"Article on recent SAP package malware\" target=\"_blank\" rel=\"nofollow noopener\">compromise SAP packages<\/a> three weeks ago.<\/p>\n<p>The malware reads environment variables and scans files to<br \/>\nfind credentials for GitHub, npm, cloud platforms including AWS, Microsoft<br \/>\nAzure, and Google Cloud, Docker, Stripe, and more. The code also<br \/>\nattempts to escape container boundaries. Stolen secrets are exfiltrated to a<br \/>\nnew GitHub repository.\u00a0<\/p>\n<p>The malware injects settings files into other local<br \/>\nprojects on a developer machine, for execution by Claude Code or Codex, and further abuses GitHub as a C2\u00a0(command-and-control) backdoor via malicious<br \/>\nrepositories and Python code that downloads and executes content from them.<\/p>\n<p>According to SafeDep, &#8220;the attacker automated the<br \/>\nentire wave using a stolen token.&#8221;<\/p>\n<p> Developers who have installed compromised package versions are advised to rotate all credentials accessible<br \/>\nfrom the build environment, check for unauthorized GitHub repositories, and<br \/>\nremove malicious systemd services on Linux. Maintainers and package publishers<br \/>\nare at greatest risk as they may find further malicious packages published via<br \/>\ntheir own credentials.<\/p>\n<p>This attack comes shortly after <a href=\"https:\/\/www.theregister.com\/cyber-crime\/2026\/05\/18\/shai-hulud-copycat-hits-another-npm-package\/5242180\" aria-label=\"Another Shai-Hulud attack\" target=\"_blank\" rel=\"nofollow noopener\">another<\/a> Shai-Hulud incident reported yesterday, and more can be expected.<\/p>\n<p>Although<br \/>\nother package repositories such as PyPI and RubyGems have also seen malware published to them, npm remains the biggest target and, for now, appears to be the worst affected. npm, owned by Microsoft subsidiary GitHub, has said little about the current wave.<\/p>\n<p>In September last<br \/>\nyear, a post outlining a <a href=\"https:\/\/github.blog\/security\/supply-chain-security\/our-plan-for-a-more-secure-npm-supply-chain\/\" aria-label=\"NPM post on plans for improving supply chain security\" target=\"_blank\" rel=\"nofollow noopener\">plan<br \/>\nfor a more secure npm supply chain<\/a> was intended to &#8220;address a<br \/>\nsurge in package registry attacks,&#8221; during what now looks like the early phase of Shai-Hulud, but the actions taken so far have not prevented further incidents.\u00a0<\/p>\n<p>The Register asked GitHub to comment.\u00ae<\/p>\n","protected":false},"excerpt":{"rendered":"Cyber-crime Popular JavaScript modules including size-sensor and echarts-for-react hit as hijacked account closed GitHub warnings An npm account&hellip;\n","protected":false},"author":2,"featured_media":593078,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[84,59,56,54,55],"class_list":["post-593077","post","type-post","status-publish","format-standard","has-post-thumbnail","category-business","tag-business","tag-gb","tag-uk","tag-united-kingdom","tag-unitedkingdom"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/593077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/comments?post=593077"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/593077\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media\/593078"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media?parent=593077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/categories?post=593077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/tags?post=593077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}