Critical Malicious Code Vulnerability in react-native-view-finder Package
Summary
MAL-2025-191005: Malicious code in react-native-view-finder (npm). Affects react-native-view-finder versions 1.2.1 – 1.2.2. 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-view-finder package is a tool designed for creating view finders in React Native applications. It is commonly used by developers to enhance user interfaces by providing visual guides. However, this package has been compromised, containing malicious code that poses significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability originates from the discovery of embedded malicious code within the react-native-view-finder package. This code can fully compromise any computer that has the package 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 contains code that appears to be harmful. Users are advised to treat any system running this package as compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-native-view-finder
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 only effective workaround is to uninstall the react-native-view-finder package from your project and rotate any compromised credentials. There are no alternative packages recommended at this time.
Conclusion
The react-native-view-finder package has been identified as containing malicious code that compromises system security. Immediate action is required to uninstall the package and secure any exposed information. Users should remain vigilant and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for react-native-view-finder →
FAQ
Immediately uninstall the package and rotate any sensitive information that may have been compromised.
You can use Vulert, which monitors and alerts for open-source vulnerabilities using your package-lock.json file. Check your application at Vulert Scanner without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
The best mitigation is to uninstall the package and ensure that all secrets and keys are rotated. There are no temporary fixes available.
While removing the package is essential, there is no guarantee that all malicious software installed as a result will be removed. A thorough security audit of your system is recommended.