Malicious Code Detected in @zalastax/nolb-hap- Package
Summary
MAL-2025-11914: Malicious code in @zalastax/nolb-hap- (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-hap- package is an npm library designed for handling HTTP requests in Node.js applications. It aims to provide developers with a simplified interface for managing load balancers and routing. However, this package has been flagged for containing malicious code, which poses a significant risk to applications that utilize it.
Vulnerability Detail
The vulnerability in the @zalastax/nolb-hap- 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 malicious nature of this vulnerability was identified by Amazon Inspector, highlighting the importance of scrutinizing third-party packages for security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @zalastax/nolb-hap-
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 provide similar functionality without the associated risks. Review your application's dependencies and ensure that you are not relying on compromised libraries.
Conclusion
The discovery of malicious code in the @zalastax/nolb-hap- package underscores the importance of vigilance when using third-party libraries. By promptly addressing this vulnerability and utilizing tools like Vulert, developers can enhance the security of their applications.
See every vulnerability recorded for @zalastax/nolb-hap- →
FAQ
The malicious code can lead to unauthorized access and potential data breaches in applications that use this package.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Immediately uninstall the package using 'npm uninstall @zalastax/nolb-hap-' and look for alternative solutions.
While specific exploits have not been detailed, the presence of malicious code indicates a high risk of exploitation.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories for the packages you use.