Malicious Code Detected in @zalastax/nolb-react-d3 Package
Summary
MAL-2025-13680: Malicious code in @zalastax/nolb-react-d3 (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-d3 package is a JavaScript library designed for creating interactive data visualizations using React and D3.js. It provides developers with tools to easily integrate complex data-driven graphics into their applications. However, this package has been identified to contain malicious code, posing a significant risk to users who incorporate it into their projects.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the @zalastax/nolb-react-d3 package. This code can potentially compromise the security of applications using the package, 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 take immediate action to mitigate the risks associated with this vulnerability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @zalastax/nolb-react-d3
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, users can isolate the affected package by using it in a controlled environment or sandbox. However, this does not eliminate the risk and should not be considered a long-term solution.
Conclusion
The discovery of malicious code in the @zalastax/nolb-react-d3 package poses a serious threat to developers and users. Immediate action is required to remove the package and mitigate potential risks. Users are encouraged to stay informed about updates and consider using alternative libraries for their projects.
See every vulnerability recorded for @zalastax/nolb-react-d3 →
FAQ
The malicious code can perform unauthorized actions within applications, potentially leading to data theft or system compromise.
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.
It is recommended to remove the @zalastax/nolb-react-d3 package immediately and replace it with a secure alternative.
Yes, consider using other well-maintained libraries for data visualization in React, such as Recharts or Victory.
Currently, there is no patched version available. Users should monitor the package repository for updates and security patches.