Malicious Code Detected in @zalastax/nolb-react-ai Package
Summary
MAL-2025-13668: Malicious code in @zalastax/nolb-react-ai (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-react-ai package is a JavaScript library designed for integrating artificial intelligence functionalities into React applications. It aims to simplify the implementation of AI features, making it easier for developers to enhance user experiences. However, this package has been found to contain malicious code, posing significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the @zalastax/nolb-react-ai package originates from the inclusion of malicious code that can compromise the security of applications using this library. This malicious code can lead to unauthorized access, data breaches, or even complete takeover of affected systems. The presence of such code is a severe threat, especially in production environments where sensitive data may be handled.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @zalastax/nolb-react-ai
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 libraries that provide similar functionalities without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring code access or installation.
Conclusion
The discovery of malicious code in the @zalastax/nolb-react-ai package highlights the importance of vigilant dependency management in software development. Developers should take immediate action to remove the affected package and consider using alternative solutions while keeping an eye on updates and patches.
See every vulnerability recorded for @zalastax/nolb-react-ai →
FAQ
The malicious code can potentially allow unauthorized access to sensitive data and compromise the security of applications using the package.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
You should immediately uninstall the package and look for alternative libraries or wait for a patched version to be released.
Yes, using this package poses significant security risks due to the presence of malicious code that can lead to data breaches and unauthorized access.
You can use tools like Vulert to monitor your dependencies for vulnerabilities in real-time, ensuring you are alerted to any issues as they arise.