Critical Malicious Code Vulnerability in react-native-expofp Package
Summary
MAL-2026-647: Malicious code in react-native-expofp (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-expofp package is a library designed for integrating fingerprint authentication in React Native applications. It provides developers with tools to implement secure biometric authentication features. However, this package has been compromised, leading to severe security risks for any application utilizing it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the react-native-expofp package. This code can fully compromise any computer where the package is installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code is classified under CWE-506, indicating that it embeds harmful functionalities that can lead to significant security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-native-expofp
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, there are no effective workarounds to mitigate the risks posed by the malicious code in the react-native-expofp package. The only solution is to remove the package entirely.
Conclusion
The react-native-expofp package has been identified as containing malicious code that poses a significant security risk. Immediate action is required to uninstall the package and secure any sensitive information. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for react-native-expofp →
FAQ
You should immediately uninstall the package and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors open-source vulnerabilities in your software. Simply upload your package-lock.json file to the Vulert playground at Vulert Scanner to check for vulnerabilities.
No, there is currently no patched version available for the react-native-expofp package.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, compromising the security of your application and its users.
Yes, you can explore alternative libraries for fingerprint authentication that are not compromised.