Critical Malicious Code Vulnerability in react-native-kyc Package
Summary
MAL-2026-78: Malicious code in react-native-kyc (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 react-native-kyc package is a library used in React Native applications to facilitate Know Your Customer (KYC) processes. It provides functionalities that help developers integrate identity verification features into their apps. However, this package has been identified as containing malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the react-native-kyc package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The severity of this issue is underscored by the fact that removing the package may not eliminate all traces of the malicious software, leaving systems vulnerable even after the package is uninstalled.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-native-kyc
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 workaround, it is advisable to refrain from using the react-native-kyc package altogether and look for alternative libraries that provide similar KYC functionalities without the associated risks.
Conclusion
The react-native-kyc package has been identified as containing malicious code, posing a significant threat to any system that utilizes it. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring of dependencies is essential to maintain application security.
See every vulnerability recorded for react-native-kyc →
FAQ
Immediately uninstall the package using 'npm uninstall react-native-kyc' 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.
Currently, there is no patched version available for the react-native-kyc package, making it essential to remove it from your project.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, potentially compromising your application's security and user trust.
While many packages are safe, it is crucial to regularly monitor and assess the security of all dependencies in your project to mitigate risks.