npm Supply-Chain Attacks Hit Chalk and Shai-Hulud: What App Teams Should Know
In September 2025, attackers compromised a phished npm maintainer account and published malicious versions of 18 widely used packages, including chalk and debug, which are downloaded billions of times weekly. The injected code attempted to intercept and redirect cryptocurrency wallet transactions in browsers, and although the bad versions were pulled within hours, projects that installed them during that window were affected. A week later, the self-replicating Shai-Hulud worm spread by harvesting GitHub and cloud keys from infected developer machines and using them to infect other packages. On September 23, 2025, the US Cybersecurity and Infrastructure Security Agency reported more than 500 compromised packages, and GitHub, which runs npm, removed the infected packages and blocked uploads bearing the malware's signatures. GitHub has since announced stricter publishing measures, including two-factor-protected publishing, short-lived tokens and trusted publishing from CI.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in