Critical Malicious Code Vulnerability in docusaurus-plugin-launchdarkly
Summary
MAL-2026-735: Malicious code in docusaurus-plugin-launchdarkly (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
docusaurus-plugin-launchdarkly is an npm package designed to integrate LaunchDarkly's feature flagging capabilities into Docusaurus applications. It allows developers to manage feature releases and experiment with new functionalities seamlessly. However, this package has been compromised, leading to significant security risks for users.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the docusaurus-plugin-launchdarkly package. This code can fully compromise any computer that has the package installed or running, potentially allowing unauthorized access to sensitive information. Users are advised to treat any system with this package as compromised and to take immediate action to secure their data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall docusaurus-plugin-launchdarkly
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, avoid using the docusaurus-plugin-launchdarkly package until it has been confirmed safe. Monitor your systems for any unusual activity and consider using alternative feature flagging solutions.
Conclusion
The discovery of malicious code in the docusaurus-plugin-launchdarkly package poses a serious threat to users. Immediate action is required to mitigate risks, including uninstalling the package and monitoring systems for any signs of compromise. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for docusaurus-plugin-launchdarkly →
FAQ
Immediately uninstall the package and rotate any secrets or keys stored on the affected system.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Leaving the package installed can lead to unauthorized access to sensitive data and complete control of your system by malicious actors.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated.
Vulert is a service that monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. It helps ensure your applications remain secure.