Malicious Code Detected in facedect Package - Immediate Action Required
Summary
MAL-2025-20144: Malicious code in facedect (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 facedect package is an npm library designed for facial detection functionalities in applications. It is utilized by developers to integrate facial recognition features into their software. 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 facedect package originates from the inclusion of malicious code that can compromise the integrity of applications using this library. This malicious code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue affects all versions starting from the initial release, making it critical 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 facedect
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 facedect package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall facedect'. This will help mitigate the risk of exposure to the malicious code.
Conclusion
The facedect package has been identified as containing malicious code, which poses a significant threat to applications utilizing it. Immediate action is required to mitigate risks, including updating or removing the package. Stay informed about updates and utilize tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for facedect →
FAQ
facedect is an npm package used for facial detection in applications, allowing developers to implement facial recognition features.
The malicious code in facedect can lead to unauthorized access and potential data breaches, posing serious security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner without needing to sign up.
As of now, there is no patched version available. Users are advised to monitor the package repository for updates.
If removal is not an option, ensure to implement strict security measures and monitor your application closely for any suspicious activity.