Malicious Code Detected in @zalastax/nolb-react-sg Package
Summary
MAL-2025-13762: Malicious code in @zalastax/nolb-react-sg (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-sg package is an npm library designed for React applications, providing specific functionalities that enhance user interface components. 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 potential vulnerabilities and take immediate action to safeguard their projects.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the @zalastax/nolb-react-sg package. This code can compromise the integrity of applications using the package, potentially leading to unauthorized access, data breaches, or other malicious activities. The issue affects all versions of the package starting from version 0, 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-react-sg
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-react-sg package in your project until a secure version is released. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the @zalastax/nolb-react-sg package highlights the importance of vigilance in managing open-source dependencies. Users are urged to take immediate action to mitigate risks by uninstalling the affected package and monitoring for updates.
See every vulnerability recorded for @zalastax/nolb-react-sg →
FAQ
The malicious code can lead to unauthorized access and potential data breaches in applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Immediately uninstall the package using 'npm uninstall @zalastax/nolb-react-sg' and look for alternative solutions.
Currently, there is no patched version available. Users should monitor the package repository for updates.
Vulert uses your package-lock.json to monitor for vulnerabilities in real-time, providing alerts without requiring code access or installation.