Malicious Code Detected in facetjs-druid-requester Package
Summary
MAL-2025-20148: Malicious code in facetjs-druid-requester (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 facetjs-druid-requester package is an npm library designed to facilitate requests to Druid data sources. It is commonly used in data-driven applications for querying and retrieving data efficiently. However, recent findings have revealed that this package contains malicious code, posing significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the facetjs-druid-requester 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 this code was identified by security researchers and is documented in the Open Source Vulnerability database.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall facetjs-druid-requester
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, you can remove the facetjs-druid-requester package from your project until a secure version is released. You can do this by running the following command: npm uninstall facetjs-druid-requester.
Conclusion
The discovery of malicious code in the facetjs-druid-requester package highlights the importance of maintaining vigilance in open-source software. Users are encouraged to update their packages promptly and utilize tools like Vulert to monitor vulnerabilities in their applications.
See every vulnerability recorded for facetjs-druid-requester →
FAQ
It is an npm library used for making requests to Druid data sources, commonly utilized in data-driven applications.
The malicious code can lead to unauthorized access and potential data breaches in applications that use the package.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner.
Yes, it is recommended to update the facetjs-druid-requester package to the latest secure version to mitigate the risk.
As a temporary measure, you can uninstall the package to prevent any potential exploitation until a secure version is available.