Malicious Code Detected in @zalastax/nolb-node-cb Package
Summary
MAL-2025-12599: Malicious code in @zalastax/nolb-node-cb (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 @zalastax/nolb-node-cb package is an npm library designed for Node.js applications, providing functionalities that may include callback handling for network load balancing. However, it has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the @zalastax/nolb-node-cb package. This code can lead to unauthorized access, data breaches, or other harmful actions within the applications that depend on this package. 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 @zalastax/nolb-node-cb
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 avoid using the @zalastax/nolb-node-cb package altogether until a secure version is released. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The @zalastax/nolb-node-cb package has been identified to contain malicious code, posing a serious threat to applications that utilize it. Users are urged to uninstall the package and monitor for updates regarding a secure version. Utilizing tools like Vulert can help in identifying vulnerabilities in your projects.
See every vulnerability recorded for @zalastax/nolb-node-cb →
FAQ
The malicious code can perform unauthorized actions within your application, potentially leading to data theft or system compromise.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Currently, there is no patched version available. It is recommended to uninstall the package until a secure version is released.
Immediately uninstall the package and review your application for any potential security issues that may have arisen from its use.
Yes, you can report vulnerabilities to the maintainers of the package or through platforms like GitHub to help improve the security of open-source software.