Critical Malicious Code Vulnerability in @immuta/flag-providers-web Package
Summary
MAL-2026-1382: Malicious code in @immuta/flag-providers-web (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 @immuta/flag-providers-web package is an npm library designed to facilitate the management of feature flags in web applications. It allows developers to control the visibility of features based on various conditions. However, this package has been identified as malicious, posing significant risks to users due to its ability to exfiltrate data and execute commands on affected systems.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the @immuta/flag-providers-web package. This code is capable of gathering sensitive system information and transmitting it to a remote server, leading to potential data breaches and unauthorized command execution. The presence of suspicious install scripts further exacerbates the risk, making it imperative for users to address this issue promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @immuta/flag-providers-web
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 using alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your system's security measures are up to date to mitigate potential threats from malicious code.
Conclusion
The @immuta/flag-providers-web package has been compromised with malicious code that poses significant risks to users. Immediate action is required to remove the package and safeguard your systems. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for @immuta/flag-providers-web →
FAQ
The malicious code is designed to exfiltrate sensitive data and execute commands on the user's system without consent.
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.
Immediately uninstall the @immuta/flag-providers-web package and monitor your system for any unusual activity.
Yes, the malicious code can lead to data breaches and unauthorized command execution, making it a critical security concern.
Regularly audit your dependencies, use tools like Vulert for monitoring vulnerabilities, and keep your packages updated to the latest secure versions.