Malicious Code Detected in broker-web Package - MAL-2025-16184
Summary
MAL-2025-16184: Malicious code in broker-web (npm). Affected versions are not published. 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 broker-web package is a Node.js library designed for building web applications that facilitate broker-client interactions. It is widely used in various projects due to its ease of integration and functionality. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the broker-web package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall broker-web
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, users may consider removing the broker-web package from their project until a secure version is released. This can be done using the command: npm uninstall broker-web. Alternatively, consider using a different package that offers similar functionality without the associated risks.
Conclusion
The broker-web package has been identified to contain malicious code, posing serious security risks to applications. Users are urged to update or remove the package to mitigate potential threats. Regular monitoring for updates and utilizing tools like Vulert can help maintain application security.
See every vulnerability recorded for broker-web →
FAQ
broker-web is a Node.js library used for building web applications that facilitate broker-client interactions.
The malicious code can potentially lead to unauthorized access and data breaches within applications using the broker-web package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
As of now, there is no specific patched version available. Users are advised to monitor the package repository for updates.
If immediate updates are not possible, consider uninstalling the package or using an alternative library until a secure version is released.