Critical Malicious Code Vulnerability in @hover-design/react Package
Summary
MAL-2025-191227: Malicious code in @hover-design/react (npm). Affects @hover-design/react versions 0.2.1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The @hover-design/react package is a JavaScript library designed for building user interfaces in React applications. It provides various components and utilities to enhance the development experience. However, this package has been compromised, leading to severe security risks for users who have it installed.
Vulnerability Detail
The vulnerability originates from a malicious code injection by the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal tokens and credentials from affected systems and publish them to GitHub. It can also propagate itself to other NPM packages owned by the user and establish persistence through GitHub actions. The malicious payload poses a significant risk, as it may also delete the user's home directory, leading to data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @hover-design/react
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There are no effective workarounds for this vulnerability other than removing the package entirely. Users should ensure that they do not run any applications that depend on this compromised package until it has been removed.
Conclusion
The @hover-design/react package has been compromised, posing significant security risks to users. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring for vulnerabilities is essential to maintain the security of your applications.
See every vulnerability recorded for @hover-design/react →
FAQ
You should remove the package immediately and rotate any secrets or credentials stored on the affected system.
The vulnerability was introduced by the Sha1-Hulud: The Second Coming NPM worm, which injected malicious code into the package.
Yes, the worm can propagate itself to other NPM packages owned by the user, increasing the risk of compromise.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
The consequences include stolen tokens and credentials, potential data loss, and full compromise of the affected system.