Malicious Code Detected in dragro Package - MAL-2025-18766
Summary
MAL-2025-18766: Malicious code in dragro (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 dragro package is an npm library designed for specific functionalities within JavaScript applications. It is utilized for various purposes, including drag-and-drop features. However, this package has been identified to contain malicious code, posing significant risks to users and their applications. The vulnerability affects all versions of the package starting from its introduction.
Vulnerability Detail
The vulnerability in the dragro package arises 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 this code makes it imperative for users to address this issue promptly to mitigate potential risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dragro
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 can avoid using the dragro package and implement alternative libraries that provide similar functionalities without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The dragro package has been identified to contain malicious code, posing significant risks to users. It is crucial to remove this package from your projects and monitor for any updates or patches. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for dragro →
FAQ
The dragro package is an npm library used for implementing drag-and-drop features in JavaScript applications.
The malicious code in dragro can lead to unauthorized access and potential data breaches within applications that utilize this package.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
You should remove the dragro package from your project and consider using a secure alternative. If a patched version is released, update the package accordingly.
Vulert uses just the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities in your software, ensuring you stay informed about potential risks.