Malicious Code Detected in bettermode-icons Package - npm Vulnerability Alert
Summary
MAL-2025-192938: Malicious code in bettermode-icons (npm). Affects bettermode-icons versions 999.1.0 – 999.1.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 bettermode-icons package is a popular npm library used for providing a collection of icons for web applications. It is designed to enhance user interfaces by offering a variety of visual elements. However, the package version 999.1.0 has been identified as malicious, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the bettermode-icons package arises from its malicious behavior, which includes communicating with a domain linked to harmful activities and executing commands that can compromise the security of the host system. This behavior can lead to unauthorized access, data breaches, and potential exploitation of the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bettermode-icons
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
As a temporary measure, you can remove the bettermode-icons package from your project until a secure version is confirmed. Use the following command to uninstall: npm uninstall bettermode-icons.
Conclusion
The bettermode-icons package has been identified as malicious, posing significant security threats to applications using it. Users are advised to update to a patched version or remove the package until a secure alternative is available. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for bettermode-icons →
FAQ
bettermode-icons is an npm package that provides a collection of icons for web applications, enhancing user interfaces.
The package has been flagged for communicating with a malicious domain and executing harmful commands, posing security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
As a workaround, you can uninstall the bettermode-icons package until a secure version is available.
Detailed information can be found in the OpenSSF Package Analysis report and on the GitHub repository for malicious packages.