Malicious Code Detected in @zalastax/nolb-nodebb-b Package
Summary
MAL-2025-12714: Malicious code in @zalastax/nolb-nodebb-b (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-b package is an npm library designed for integration with NodeBB, a popular forum software. This package provides functionalities that enhance the user experience and streamline operations within NodeBB. However, it has been identified to contain malicious code, posing significant security risks to applications utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the @zalastax/nolb-nodebb-b package. This code can compromise the integrity of applications that depend on this package, potentially leading 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-nodebb-b
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 measure, you can replace the functionality provided by the @zalastax/nolb-nodebb-b package with alternative libraries that do not contain malicious code. Ensure to review the alternatives thoroughly before implementation.
Conclusion
The discovery of malicious code in the @zalastax/nolb-nodebb-b package poses a significant threat to applications that utilize it. Users are urged to uninstall the package immediately and explore secure alternatives. Utilizing tools like Vulert can aid in identifying and managing vulnerabilities effectively.
See every vulnerability recorded for @zalastax/nolb-nodebb-b →
FAQ
The malicious code can lead to unauthorized access and potential data breaches, compromising the security of applications using this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected without any signup.
If immediate removal is not feasible, consider implementing security measures such as restricting access to sensitive data and monitoring application behavior for any unusual activity.
Currently, there is no patched version available for the @zalastax/nolb-nodebb-b package. It is recommended to uninstall the package until a secure alternative is found.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities, ensuring that your applications remain secure.