Malicious Code Detected in @zalastax/nolb-react-sc Package
Summary
MAL-2025-13758: Malicious code in @zalastax/nolb-react-sc (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-sc package is an npm library designed for React applications, providing various functionalities for seamless integration and user interface enhancements. However, it has been identified as containing malicious code, posing significant security risks to applications that utilize this package.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the @zalastax/nolb-react-sc package. This code can potentially compromise the security of applications, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced from 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-react-sc
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 packages that provide similar functionalities without the associated risks. Review your project's dependencies and assess if you can replace @zalastax/nolb-react-sc with a safer option.
Conclusion
The discovery of malicious code in the @zalastax/nolb-react-sc package highlights the importance of maintaining secure dependencies in software development. Users are urged to take immediate action to remove the affected package and consider alternatives to safeguard their applications.
See every vulnerability recorded for @zalastax/nolb-react-sc →
FAQ
The malicious code can perform unauthorized actions within your application, potentially leading to data theft or system compromise.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in real-time. By analyzing your package-lock.json file, Vulert can identify if your application is at risk.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
If immediate removal is not feasible, consider isolating the affected code and monitoring your application closely for any suspicious activity until you can implement a permanent fix.
Yes, there are several alternative packages available that offer similar functionalities. Research and evaluate these options to find a suitable replacement.