Malicious Code Detected in @zalastax/nolb-nodebb Package
Summary
MAL-2025-12711: Malicious code in @zalastax/nolb-nodebb (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-nodebb package is an npm library designed for integration with NodeBB, a forum software based on Node.js. This package aims to enhance the functionality of NodeBB by providing additional features or modifications. However, it has been found to contain malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the @zalastax/nolb-nodebb package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of the code 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-nodebb
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, you can avoid using the @zalastax/nolb-nodebb package until a secure version is released. Consider looking for alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the @zalastax/nolb-nodebb package underscores the importance of vigilance when using third-party libraries. Users are advised to uninstall the package immediately and monitor for updates or alternatives to ensure the security of their applications.
See every vulnerability recorded for @zalastax/nolb-nodebb →
FAQ
The malicious code can potentially compromise the security of applications, leading to unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If you have installed the package, it is crucial to uninstall it immediately and look for alternatives or wait for a patched version.
While specific exploits have not been detailed, the presence of malicious code indicates a high risk of exploitation.
Regularly audit your dependencies, utilize tools like Vulert for monitoring, and stay informed about vulnerabilities in the packages you use.