Malicious Code Detected in data-logic Package - MAL-2025-17991
Summary
MAL-2025-17991: Malicious code in data-logic (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 data-logic package is a JavaScript library commonly used in Node.js applications for data manipulation and logic processing. It provides developers with tools to manage and transform data efficiently. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the data-logic package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of the code was identified by security researchers from Amazon Inspector, highlighting the importance of vigilance in dependency management.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall data-logic
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
If you cannot update the package immediately, consider removing the data-logic package from your project and replacing it with an alternative library that offers similar functionality without the security risks.
Conclusion
The discovery of malicious code in the data-logic package underscores the importance of maintaining secure dependencies in software development. By updating to the latest version or finding alternatives, developers can protect their applications from potential threats.
See every vulnerability recorded for data-logic →
FAQ
data-logic is a JavaScript library used for data manipulation and logic processing in Node.js applications.
The malicious code found in the data-logic package can potentially lead to unauthorized access and data breaches.
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.
If updating is not possible, consider removing the data-logic package and using an alternative library that provides similar features.
The vulnerability was discovered by security researchers from Amazon Inspector.