Malicious Code Detected in distnumpy Package - Security Alert
Summary
MAL-2025-18502: Malicious code in distnumpy (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 distnumpy package is a Node.js library designed for numerical computations and data manipulation, often utilized in data science and machine learning applications. It provides various functionalities for handling numerical data efficiently. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the distnumpy package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was identified in version 0 and has been flagged for immediate attention to prevent exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall distnumpy
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 measure, users are advised to remove the distnumpy package from their projects until a secure version is released. You can uninstall the package using the following command: npm uninstall distnumpy.
Conclusion
The distnumpy package has been found to contain malicious code that poses serious security risks. Users are urged to take immediate action by updating or uninstalling the package until a secure version is released. Regular monitoring and vulnerability management are crucial to maintaining application security.
See every vulnerability recorded for distnumpy →
FAQ
The malicious code can potentially allow unauthorized access to systems and data, leading to security breaches.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Currently, there is no patched version available. Users should monitor the package repository for updates.
As a workaround, consider uninstalling the distnumpy package until a secure version is released.
The vulnerability was identified by Amazon Inspector, a security tool that helps in finding and mitigating vulnerabilities in software.