Critical Malicious Code Vulnerability in babel-preset-kinvey-flex-service
Summary
MAL-2025-191069: Malicious code in babel-preset-kinvey-flex-service (npm). Affects babel-preset-kinvey-flex-service versions 0.1.1. 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
babel-preset-kinvey-flex-service is an npm package designed to facilitate the integration of Kinvey services in JavaScript applications. It provides a set of presets that streamline the configuration and usage of Kinvey's backend services. However, this package has been compromised, embedding malicious code that poses significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the babel-preset-kinvey-flex-service package. This code can fully compromise any computer that has the package installed or running, allowing unauthorized access to sensitive information such as secrets and keys. The origin of this vulnerability is linked to the package being flagged as malicious by security researchers, indicating that it contains embedded code designed to exploit the system. The ramifications of this vulnerability are severe, as it may lead to data breaches and unauthorized control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall babel-preset-kinvey-flex-service
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
There are no direct workarounds for this vulnerability other than removing the package. If your application relies on this package, consider looking for alternative packages that provide similar functionality without the associated risks.
Conclusion
The babel-preset-kinvey-flex-service package has been identified as containing malicious code that compromises the security of any system using it. Immediate action is required to remove the package and secure any sensitive information. Users are encouraged to monitor their applications for vulnerabilities using tools like Vulert.
See every vulnerability recorded for babel-preset-kinvey-flex-service →
FAQ
Immediately uninstall the babel-preset-kinvey-flex-service package and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
No, there is currently no patched version available for babel-preset-kinvey-flex-service. The only solution is to remove the package.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete control of your system by malicious actors.
Yes, you can report vulnerabilities to the maintainers of the package or through security platforms that track open-source vulnerabilities.