Malicious Code Detected in bettermode-common Package - Version 9999.0.1
Summary
MAL-2025-192937: Malicious code in bettermode-common (npm). Affects bettermode-common versions 9999.0.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-common package is a library used in Node.js applications, primarily for enhancing user interface components and functionalities. It is designed to facilitate the development of web applications by providing reusable code. However, version 9999.0.1 has been flagged for malicious behavior, which poses a significant risk to applications utilizing this package.
Vulnerability Detail
The vulnerability in bettermode-common arises from its ability to communicate with a domain linked to malicious activities and execute commands that can compromise system security. This behavior can lead to unauthorized access, data breaches, and potential exploitation of the affected systems. The identification of this malicious code was made by the OpenSSF Package Analysis project, which has raised alarms regarding the integrity of this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bettermode-common
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, consider replacing bettermode-common with an alternative package that offers similar functionalities without the associated risks. Additionally, ensure that your application is monitored for any suspicious activities.
Conclusion
The bettermode-common package version 9999.0.1 has been identified as malicious, posing significant risks to applications that utilize it. It is crucial to take immediate action by uninstalling the affected version and monitoring for any suspicious activities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for bettermode-common →
FAQ
bettermode-common is a Node.js package used for enhancing web application functionalities.
This version communicates with a malicious domain and executes harmful commands, compromising system security.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If an update is not available, consider removing the package and using an alternative that does not pose security risks.
Utilize tools like Vulert, which can monitor your package-lock.json file for vulnerabilities and alert you in real-time.