Critical Malicious Code Vulnerability in react-native-worklet-functions
Summary
MAL-2025-190857: Malicious code in react-native-worklet-functions (npm). Affects react-native-worklet-functions versions 3.3.3. 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
react-native-worklet-functions is an npm package designed to facilitate the execution of JavaScript functions in a worklet context, enhancing performance in React Native applications. However, this package has been compromised, embedding malicious code that poses significant security risks to any system using it.
Vulnerability Detail
The vulnerability originates from a malicious code injection in the react-native-worklet-functions package, specifically version 3.3.3. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications include potential data breaches and loss of control over the affected systems, as the malicious code may persist even after the package is removed.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-native-worklet-functions
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
Currently, the best workaround is to uninstall the react-native-worklet-functions package entirely. Use the following command to remove it: npm uninstall react-native-worklet-functions. Additionally, monitor your systems for any unusual activity that may indicate further compromise.
Conclusion
The react-native-worklet-functions package has been compromised with malicious code, posing severe security risks. Immediate action is required to remove the package and secure any sensitive information. Users are encouraged to monitor their systems and utilize tools like Vulert for real-time vulnerability alerts.
See every vulnerability recorded for react-native-worklet-functions →
FAQ
It is an npm package that allows JavaScript functions to run in a worklet context, improving performance in React Native applications.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors vulnerabilities without requiring installation.
Immediately uninstall the package and rotate any sensitive information stored on the affected system.
As of now, there is no patched version available, and the best course of action is to remove the package.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete compromise of the affected system.