Malicious Code Injection in buyerdashboard Package
Summary
MAL-2026-17893: Malicious code in buyerdashboard (npm). Affects buyerdashboard versions 45.3.4. 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 buyerdashboard package, version 45.3.4, is designed to provide users with IP information through a dashboard interface. It is part of the npm ecosystem and is intended for use in web applications. However, this package has been found to contain malicious code that executes during the installation process, posing significant security risks to users who install it.
Vulnerability Detail
The vulnerability originates from a preinstall hook in the buyerdashboard package that executes a script (node index.js) during the npm install process. This script makes an unauthorized request to a remote server (https://realwbx.com/ip.php?ip=8.8.8.8) with a hardcoded Authorization token. This behavior indicates that the package is designed to exfiltrate user data, which can lead to data breaches and unauthorized access to sensitive information. The malicious nature of this code is classified under CWE-506, which highlights the presence of embedded malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall buyerdashboard
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 workaround, you can prevent the preinstall script from executing by using the following command when installing the package: npm install --ignore-scripts. However, this may limit the functionality of the package.
Conclusion
The buyerdashboard package has been identified as containing malicious code that poses significant security risks. Users are advised to update or remove the package to mitigate these risks. Utilizing tools like Vulert can help in monitoring for future vulnerabilities.
See every vulnerability recorded for buyerdashboard →
FAQ
The vulnerability involves malicious code that executes during the installation of the package, which can lead to unauthorized data access.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
If you have installed buyerdashboard@45.3.4, it is crucial to remove the package and update to a secure version if available.
The risks include potential data breaches, unauthorized access to sensitive information, and compromise of user privacy.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.