Malicious Code Detected in faircore Package - Security Alert
Summary
MAL-2025-20164: Malicious code in faircore (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 faircore package is a JavaScript library available in the npm ecosystem, designed to facilitate various functionalities in web applications. It is widely used due to its ease of integration and robust features. However, recent findings have revealed that the package contains malicious code, posing significant security risks to applications that rely on it.
Vulnerability Detail
The vulnerability in the faircore package stems from the inclusion of malicious code that can compromise the security of applications using it. This code may lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions. Users of the package are advised to take immediate action to mitigate potential risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall faircore
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 faircore package from your project until a secure version is released. You can do this by executing: npm uninstall faircore. Additionally, review your application for any dependencies that may rely on faircore and assess their security.
Conclusion
The discovery of malicious code in the faircore package highlights the importance of regularly monitoring and updating dependencies in software projects. Users are urged to take immediate action to protect their applications from potential threats.
See every vulnerability recorded for faircore →
FAQ
The faircore package is a JavaScript library used in web development, providing various functionalities for applications.
The malicious code can lead to unauthorized access and potential data breaches in applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If you cannot update the package right away, consider uninstalling it and reviewing your application for any dependencies that may be affected.
Detailed information about the vulnerability can be found in the GitHub repository of the malicious packages project.