Critical Malicious Code Vulnerability in community-pass-react-native-wrapper Package
Summary
MAL-2025-6155: Malicious code in community-pass-react-native-wrapper (npm). Affects community-pass-react-native-wrapper versions 0.0.2 – 1.0.0. 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 community-pass-react-native-wrapper is an npm package designed for integrating community pass functionalities into React Native applications. It provides developers with tools to streamline user interactions and manage community-related features. However, this package has been identified to contain malicious code that compromises the security of any system it is installed on.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the community-pass-react-native-wrapper package. This code can lead to full system compromise, allowing unauthorized access to sensitive information such as secrets and keys stored on the affected computer. The malicious nature of this code indicates that any system running this package should be considered at risk, and immediate action is necessary to mitigate potential damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall community-pass-react-native-wrapper
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 community-pass-react-native-wrapper package from your application. You can do this by running the following command in your terminal: npm uninstall community-pass-react-native-wrapper. After removal, ensure to rotate any secrets or keys that may have been compromised.
Conclusion
The community-pass-react-native-wrapper package has been identified as containing malicious code that poses a significant risk to any system it is installed on. Immediate removal of the package and rotation of sensitive information is essential to mitigate potential damage. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities in your projects.
See every vulnerability recorded for community-pass-react-native-wrapper →
FAQ
It is an npm package used for integrating community pass functionalities into React Native applications.
The malicious code can lead to full system compromise, allowing unauthorized access to sensitive information.
You should immediately uninstall the package and rotate any sensitive information stored on your system.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.