Malicious Code Detected in facetjs-mysql-requester: A Critical Vulnerability
Summary
MAL-2025-20150: Malicious code in facetjs-mysql-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 package 'facetjs-mysql-requester' is an npm library designed for facilitating MySQL requests in JavaScript applications. It aims to streamline database interactions, making it easier for developers to manage data retrieval and manipulation. However, this package has been identified to contain malicious code, posing significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the 'facetjs-mysql-requester' package. This code can potentially compromise the security of applications, leading to unauthorized access, data breaches, or other malicious activities. The issue is particularly concerning as it affects all versions of the package starting from its introduction, making it imperative for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall facetjs-mysql-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, consider removing the 'facetjs-mysql-requester' package from your project until a secure version is released. You can do this by running: npm uninstall facetjs-mysql-requester. Additionally, review your codebase for any dependencies that may rely on this package.
Conclusion
The discovery of malicious code in the 'facetjs-mysql-requester' package highlights the importance of vigilance in managing open-source dependencies. Users are urged to take immediate action by updating or removing the package to safeguard their applications.
See every vulnerability recorded for facetjs-mysql-requester →
FAQ
The malicious code can lead to unauthorized access and potential data breaches in applications using this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Consider removing the package from your project as a temporary measure until a secure version is available.
Currently, all versions of the 'facetjs-mysql-requester' package are affected. It is crucial to monitor for updates from the package maintainers.
Vulert uses just package-lock.json to monitor and alert in real-time for open-source vulnerabilities, ensuring your applications remain secure.