A sophisticated malware attack named 'ChainDrop' has compromised over 1,300 npm packages, accounting for approximately 2 billion monthly downloads on the Node Package Manager registry. Key packages affected include popular caching utilities like Keyv and Cacheable. The attack originated from the compromise of Keyv’s maintainer’s GitHub account and rapidly spread to packages linked to major companies such as Deliveroo and Picsart. Several application security firms identified the deployment of a worm named ChainDrop, which is based on Shai-Hulud. Aikido's report highlights that the attacker inserted malicious files into the main branches of projects, leading to new package releases that carried seemingly legitimate provenance data. The affected packages contain a payload dropper and a script for data theft, which are executed during installation. These scripts download the Bun JavaScript runtime to execute a malicious payload that steals sensitive credentials, encrypts them, and sends them to a GitHub repository. The malware is capable of self-propagating to other packages using compromised ones, further spreading the attack. This incident threatens developer supply chains and the integrity of downstream applications, with security experts recommending urgent action. Developers and organizations are advised to rebuild systems from secure backups, rotate credentials, and scrutinize logs for unauthorized activities. As the situation develops, security companies are providing lists of compromised packages and indicators of compromise to help mitigate the impact.
ChainDrop Attack Compromises Over a Thousand npm Packages
ChainDrop poisoned 1,300+ npm packages, threatening developer supply chains and downstream applications.
Executive Summary
The ChainDrop malware attack has compromised over 1,300 npm packages, threatening software supply chains and developer environments by stealing sensitive credentials. Urgent actions are required to mitigate risks as the attack continues to evolve.
Actionable Insights
- Rebuild compromised systems from secure backups or from scratch.
- Rotate all credentials and tokens exposed in the affected environment.
- Implement and enforce dependency allowlisting and integrity checks.
- Regularly review logs for unauthorized access and unexpected changes.
- Monitor security updates for lists of compromised packages and indicators of compromise.
The actions above are free on Wednesday stories. On Monday and Friday stories they come with Premium: €2 a month. New to Premium? The first 7 days are free.
Original source
bleepingcomputer.com

