Critical Malicious Code Vulnerability in @vietmoney/react-native-smart-gallery Package
Summary
MAL-2025-192998: Malicious code in @vietmoney/react-native-smart-gallery (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 @vietmoney/react-native-smart-gallery package is a library designed for integrating a smart gallery feature into React Native applications. It allows developers to easily implement image galleries with various functionalities. 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 originates from the presence of embedded malicious code within the @vietmoney/react-native-smart-gallery package. This code can fully compromise any computer that has the package installed, leading to unauthorized access to sensitive information, including secrets and keys. The malicious nature of the code poses significant risks, as it may allow external entities to gain control over the affected systems, making it imperative for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @vietmoney/react-native-smart-gallery
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 this vulnerability other than removing the package entirely.
Conclusion
The @vietmoney/react-native-smart-gallery package has been identified as containing malicious code that compromises system security. Immediate action is required to uninstall the package and secure any sensitive information. Regular monitoring of dependencies is essential to prevent future vulnerabilities.
See every vulnerability recorded for @vietmoney/react-native-smart-gallery →
FAQ
You should immediately uninstall the package and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
No, there is currently no patched version available for this package.
Keeping the package installed poses significant risks, including unauthorized access to sensitive data and potential control over your system by malicious actors.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure to keep your packages updated.