Malicious Code Detected in launchdarkly-cpp-networking Package
Summary
MAL-2026-637: Malicious code in launchdarkly-cpp-networking (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 launchdarkly-cpp-networking package is a library designed for C++ applications to integrate with LaunchDarkly's feature flagging service. It allows developers to manage feature flags and experiment with new features in a controlled manner. However, this package has been identified to contain malicious code, posing a significant risk to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the discovery of malicious code embedded within the launchdarkly-cpp-networking package. This code can potentially compromise the security of applications using this package, leading to unauthorized access, data breaches, or other malicious activities. The specific technical details of the malicious code have not been disclosed, but its presence in the package indicates a severe risk to users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall launchdarkly-cpp-networking
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 launchdarkly-cpp-networking package from your project until a secure version is released. You can do this by running the following command:
npm uninstall launchdarkly-cpp-networking
This will prevent any potential exploitation of the malicious code while you await a fix.
Conclusion
The launchdarkly-cpp-networking package has been found to contain malicious code, posing a significant risk to applications that utilize it. Users are advised to update or remove the package to mitigate potential security threats. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software.
See every vulnerability recorded for launchdarkly-cpp-networking →
FAQ
It is a C++ library used for integrating with LaunchDarkly's feature flagging service, allowing developers to manage feature flags in their applications.
The malicious code was identified through an analysis conducted by Amazon Inspector, which flagged the package for containing harmful code.
Using the compromised package can lead to unauthorized access, data breaches, and other security vulnerabilities in your application.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. It requires only the package-lock.json file for analysis.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.