Malicious Code Detected in figstack Package - Security Alert
Summary
MAL-2025-20522: Malicious code in figstack (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 figstack package is an npm library designed to facilitate various functionalities within JavaScript applications. It is commonly used for its ease of integration and utility features. However, recent findings have revealed that the package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the figstack 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 issue was introduced in version 0 and affects all subsequent versions, making it critical for users to be aware of its implications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall figstack
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 measure, consider removing the figstack package from your project until a safe version is released. You can do this by executing: npm uninstall figstack. This will help mitigate any immediate risks associated with the malicious code.
Conclusion
The figstack package has been identified as containing malicious code, posing serious security threats to applications that utilize it. Users are urged to update or remove the package to safeguard their systems. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for figstack →
FAQ
figstack is an npm library used in JavaScript applications for various functionalities, but it has been found to contain malicious code.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
It is recommended to update the figstack package to a patched version or remove it from your project until a safe version is available.
Using the compromised figstack package can lead to unauthorized access, data breaches, and other security vulnerabilities in your application.
Yes, Vulert allows you to monitor vulnerabilities using just your package-lock.json file, providing alerts without requiring code access or installation.