Critical Malicious Code Vulnerability in @ownbackup/data-chart Package
Summary
MAL-2025-192701: Malicious code in @ownbackup/data-chart (npm). Affects @ownbackup/data-chart versions 25.0.0. 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 @ownbackup/data-chart package is a JavaScript library used in web applications for creating data visualizations and charts. It is widely utilized in the npm ecosystem for its ease of integration and functionality. However, this package has been found to contain malicious code that poses significant security risks to applications relying on it.
Vulnerability Detail
The vulnerability stems from the introduction of malicious code in version 25.0.0 of the @ownbackup/data-chart package. This code can potentially compromise the integrity of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The origin of this vulnerability is linked to a malicious actor who has tampered with the package, making it imperative for users to take immediate action to protect their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @ownbackup/data-chart
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 remove the @ownbackup/data-chart package from their project until a secure version is released. This can be done using the command: npm uninstall @ownbackup/data-chart. Consider using alternative charting libraries that are known to be secure.
Conclusion
The discovery of malicious code in the @ownbackup/data-chart package highlights the importance of regularly monitoring and updating dependencies in software projects. Users must take immediate action to mitigate risks associated with this vulnerability by updating or removing the affected package.
See every vulnerability recorded for @ownbackup/data-chart →
FAQ
The malicious code can lead to unauthorized access and potential data breaches in applications using the affected package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Yes, users are advised to update to the latest secure version of the @ownbackup/data-chart package as soon as it is released.
As a workaround, consider uninstalling the @ownbackup/data-chart package until a secure version is available.
Detailed information can be found in the vulnerability report on GitHub and through security advisories related to the @ownbackup/data-chart package.