Malicious Code Detected in @zalastax/nolb-hapi-k Package
Summary
MAL-2025-11934: Malicious code in @zalastax/nolb-hapi-k (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-hapi-k package is a Node.js library designed for use with the Hapi framework, providing various functionalities for building web applications. However, it has been identified to contain malicious code, posing significant security risks to applications that utilize it. Users of this package should be aware of its vulnerabilities and take necessary precautions.
Vulnerability Detail
The vulnerability in the @zalastax/nolb-hapi-k package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code can lead to unauthorized access, data breaches, or other malicious activities. 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-hapi-k
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 workaround, consider using alternative packages that provide similar functionalities without the associated risks. Always review the security status of any package before integrating it into your project.
Conclusion
The discovery of malicious code in the @zalastax/nolb-hapi-k package highlights the importance of vigilance when using open-source libraries. Users are advised to uninstall the package and monitor for updates or alternatives to ensure the security of their applications.
See every vulnerability recorded for @zalastax/nolb-hapi-k →
FAQ
The malicious code can lead to unauthorized access and potential data breaches, compromising the security of applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Currently, there is no patched version available for the @zalastax/nolb-hapi-k package. It is recommended to uninstall the package until a secure version is released.
You should immediately uninstall the package and consider using alternative libraries that do not have known vulnerabilities.
Vulert uses your package-lock.json file to monitor and alert you in real-time for open-source vulnerabilities without requiring access to your code or installation.