Critical Malicious Code Vulnerability in kinvey-flex-scripts Package
Summary
MAL-2025-191119: Malicious code in kinvey-flex-scripts (npm). Affects kinvey-flex-scripts versions 0.5.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
The kinvey-flex-scripts package is a tool used in the Kinvey platform for building and deploying serverless applications. It allows developers to create custom business logic and integrations. However, this package has been identified as containing malicious code, posing significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the kinvey-flex-scripts package, specifically version 0.5.1. This code can compromise the security of any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code means that simply removing the package may not eliminate all threats, as full control of the affected system may have been granted to an external entity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kinvey-flex-scripts
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 specific workarounds available for this vulnerability. The best course of action is to uninstall the affected package and monitor your system for any unusual activity.
Conclusion
The kinvey-flex-scripts package has been identified as containing malicious code that poses serious security risks. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring of dependencies is essential to prevent similar vulnerabilities in the future.
See every vulnerability recorded for kinvey-flex-scripts →
FAQ
You should immediately uninstall the kinvey-flex-scripts 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.
Failing to remove the package could lead to unauthorized access to your system, potentially compromising sensitive data and allowing malicious actors to control your environment.
Regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Given the current findings, it is advisable to avoid using this package until it has been thoroughly reviewed and confirmed to be free of malicious code.