Malicious Code Detected in druproid Package - Security Alert
Summary
MAL-2025-18842: Malicious code in druproid (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 druproid package is an npm library designed for facilitating interactions with Drupal-based applications. It provides developers with tools to streamline their workflow and enhance productivity. 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 druproid 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 introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall druproid
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 remove the druproid package from their project until a secure version is released. This can be done using the command: 'npm uninstall druproid'. Additionally, consider using alternative packages that provide similar functionality without the security risks.
Conclusion
The discovery of malicious code in the druproid package highlights the importance of maintaining vigilance regarding open-source dependencies. Users are urged to update their packages promptly and consider using tools like Vulert to monitor for vulnerabilities in real-time.
See every vulnerability recorded for druproid →
FAQ
druproid is an npm package designed to facilitate interactions with Drupal applications, providing tools for developers to enhance their workflow.
The malicious code found in druproid can lead to unauthorized access and potential data breaches, posing serious security risks to applications using this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you cannot update the package right away, consider uninstalling druproid and using alternative packages until a secure version is released.
More information about the vulnerability can be found on the GitHub repository of the malicious packages project, specifically at the URL provided in the vulnerability details.