The libraries infected with malware included four JavaScript projects: Chalk with approximately 300 million downloads per week, Strip-ansi - 261 million, Color-convert - 193 million, and Color-name - 191 million. Although most of the infected versions have already been removed, Security Alliance experts warn that the risk of cryptocurrency theft still exists, since malicious code could have survived in individual assemblies.
According to experts, hacking the account of a developer whose packages are used by billions of users can give attackers access to a huge number of workstations. “This time, the hackers received only a small profit, but the consequences could have been much more serious,” the experts note. They advise developers to conduct a thorough audit of their projects and especially carefully check all cryptocurrency transactions.
Earlier, cybersecurity company PeckShield reported a major loss of one of its Venus Protocol clients. As a result of a phishing attack, the user lost $13.5 million in vUSDT, vUSDC tokens, wrapped XRP and ETH. This case highlights the vulnerability of even experienced crypto market participants to modern types of attacks.
Experts emphasize that the distribution of malicious code through popular libraries poses a particular threat, since millions of developers automatically integrate infected packages into their projects. This means that not only individual wallets, but also entire corporate networks can be potentially compromised.
In this regard, experts strongly recommend regularly updating dependencies, using trusted library sources and implementing multi-level security systems. It is also important to inform development teams about possible threats and scenarios for their prevention in order to minimize risks in the future.
The JavaScript library case once again shows how critical it is to monitor the security of not only your projects, but also the entire software environment that you use in your work. Even minor vulnerabilities can lead to large-scale financial losses and undermine user trust in platforms and developers.
The risks of cyberattacks on popular software packages are becoming increasingly visible, and industry experts believe it is necessary to join forces to prevent such incidents. Companies and individual developers should consider cybersecurity as an integral part of their workflow, not an additional option.