Critical Malicious Code Vulnerability in @vietmoney/react-native-image-transformer Package
Summary
MAL-2025-192997: Malicious code in @vietmoney/react-native-image-transformer (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-image-transformer package is a utility for transforming images in React Native applications. It is designed to provide developers with tools to manipulate image data efficiently. However, this package has been identified as containing malicious code, posing significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @vietmoney/react-native-image-transformer package. This code can 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 means that simply removing the package may not eliminate all traces of the compromise, as full control of the affected system may have been granted to an external entity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @vietmoney/react-native-image-transformer
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 associated with this vulnerability other than removing the package and rotating any compromised credentials.
Conclusion
The @vietmoney/react-native-image-transformer package has been identified as containing malicious code that poses significant security risks. Immediate action is required to uninstall the package and secure any compromised credentials. Regular monitoring and using tools like Vulert can help in identifying such vulnerabilities in the future.
See every vulnerability recorded for @vietmoney/react-native-image-transformer →
FAQ
You should immediately uninstall the package using the command 'npm uninstall @vietmoney/react-native-image-transformer' and rotate any sensitive credentials stored on the affected machine.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Keeping this package installed can lead to unauthorized access to your system, potentially compromising sensitive information and allowing malicious actors to control your computer.
While removing the package is essential, there is no guarantee that all malicious software will be eliminated. It is advisable to perform a thorough security audit and possibly reinstall the operating system.
Currently, there is no patched version available for the @vietmoney/react-native-image-transformer package. It is recommended to avoid using this package until a secure version is released.