Malicious Code Detected in figcquery Package - Security Alert
Summary
MAL-2025-20518: Malicious code in figcquery (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 figcquery package is an npm library designed for querying and manipulating data structures in JavaScript applications. It offers various functionalities that enhance data handling capabilities. However, recent investigations have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the figcquery package originates from the inclusion of malicious code that can compromise user data and application integrity. This code can lead to unauthorized access, data theft, or even complete system takeover. The malicious nature of this vulnerability makes it critical for developers to address it immediately to safeguard their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall figcquery
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, users may consider removing the figcquery package from their project until a secure version is available. This can be achieved by executing the command: 'npm uninstall figcquery'.
Conclusion
The discovery of malicious code in the figcquery package highlights the importance of maintaining secure dependencies in software development. Users are strongly advised to update or remove the affected package to protect their applications from potential threats.
See every vulnerability recorded for figcquery →
FAQ
figcquery is an npm package used for querying and manipulating data structures in JavaScript applications.
The malicious code can compromise user data and application integrity, potentially leading to unauthorized access and data theft.
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.
As a temporary measure, you can uninstall the figcquery package from your project using the command 'npm uninstall figcquery'.
Utilizing tools like Vulert can help you monitor your dependencies for vulnerabilities in real-time, ensuring you are alerted to any issues promptly.