Malicious Code Detected in @zalastax/nolb-nodebb-plugin-j - Security Alert
Summary
MAL-2025-12735: Malicious code in @zalastax/nolb-nodebb-plugin-j (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 package @zalastax/nolb-nodebb-plugin-j is an npm plugin designed for integration with NodeBB, a popular forum software. It allows users to enhance their NodeBB experience with additional functionalities. However, this package has been identified to contain malicious code, posing significant security risks to users who have integrated it into their applications.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the @zalastax/nolb-nodebb-plugin-j package. This code can potentially compromise the security of applications using this plugin, leading to unauthorized access, data breaches, or other malicious activities. The malicious nature of the code was confirmed by security researchers, highlighting the importance of vigilance when using third-party packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @zalastax/nolb-nodebb-plugin-j
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 disable the functionality provided by the @zalastax/nolb-nodebb-plugin-j package until a fix is implemented. This can be done by commenting out any references to the plugin in your NodeBB configuration.
Conclusion
The discovery of malicious code in the @zalastax/nolb-nodebb-plugin-j package highlights the critical need for developers to be vigilant when integrating third-party libraries. By following the recommended steps to remove or update the package, and utilizing tools like Vulert for ongoing monitoring, developers can better protect their applications from potential threats.
See every vulnerability recorded for @zalastax/nolb-nodebb-plugin-j →
FAQ
The malicious code is designed to exploit vulnerabilities in applications using the plugin, potentially leading to unauthorized access or 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 no patched version is available, consider removing the package entirely and looking for alternative plugins that provide similar functionality without security risks.
Regularly update your dependencies and utilize tools like Vulert to monitor for vulnerabilities in your open-source packages.
Yes, you can report vulnerabilities to the package maintainers through their official repository, typically found on platforms like GitHub.