Malicious Code Detected in @zalastax/nolb-node-cn Package
Summary
MAL-2025-12611: Malicious code in @zalastax/nolb-node-cn (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-cn package is an npm library designed for Node.js applications, providing specific functionalities related to load balancing. However, it has been identified to contain malicious code, posing significant security risks to applications that utilize it. This vulnerability can compromise the integrity and security of the software relying on this package.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the @zalastax/nolb-node-cn package. This code can lead to unauthorized access, data breaches, or the execution of harmful actions within the affected applications. The malicious nature of this code makes it imperative for developers to address this issue promptly to safeguard their applications and users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @zalastax/nolb-node-cn
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, consider using alternative packages that offer similar functionalities without the associated risks. Always ensure to review the package's security history before integrating it into your application.
Conclusion
The discovery of malicious code in the @zalastax/nolb-node-cn package highlights the importance of vigilance in managing open-source dependencies. Developers are urged to take immediate action to protect their applications from potential threats.
See every vulnerability recorded for @zalastax/nolb-node-cn →
FAQ
The malicious code can lead to unauthorized access and potential data breaches within applications using this package.
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.
It is recommended to uninstall the package immediately and look for alternative solutions until a safe version is released.
Currently, there is no patched version available. Users should uninstall the package until further notice.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.