Malicious Code in react-native-latest (npm)

react-native-latest Updated 02 Oct 2025

Summary

12/07/2024
CRITICAL
No i
Critical
Not published

MAL-2024-7730: Malicious code in react-native-latest (npm). Affects react-native-latest versions 200.0.0 – 200.0.1. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The 'react-native-latest' package is an npm package that is used in React Native applications. It provides the latest version of React Native for development purposes. This package is widely used by developers to stay up-to-date with the latest features and improvements in React Native. However, the package has been identified as malicious by the OpenSSF Package Analysis project.

Vulnerability Detail

The 'react-native-latest' package has been flagged as malicious due to the following reasons:

  • The package communicates with a domain associated with malicious activity.
  • The package executes one or more commands associated with malicious behavior.

This indicates that the package may perform unauthorized actions or compromise the security of the application in which it is used. It is important to take immediate action to mitigate the risk associated with this vulnerability.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall react-native-latest

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

There is no specific workaround mentioned for this vulnerability. However, removing the 'react-native-latest' package and replacing it with a trusted alternative is the recommended solution.

Conclusion

The 'react-native-latest' package has been identified as malicious due to its communication with a domain associated with malicious activity and execution of commands associated with malicious behavior. To ensure the security of your application, it is recommended to remove this package and replace it with a trusted alternative. Regularly reviewing and updating your project's dependencies is crucial to prevent such vulnerabilities.

See every vulnerability recorded for react-native-latest →

Share this vulnerability

FAQ

Using the 'react-native-latest' package can potentially expose your application to malicious activities and compromise its security. It is important to take immediate action to remove this package and mitigate the risk.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it in real-time.

Yes, there are several alternative packages available for React Native development. Some popular options include 'react-native-cli', 'expo-cli', and 'create-react-native-app'. It is recommended to choose a package that is actively maintained and has a good reputation in the community.

To ensure the security of your React Native application, it is important to follow best practices such as regularly updating dependencies, using secure and trusted packages, implementing proper authentication and authorization mechanisms, and conducting regular security audits and vulnerability scans.

Yes, there are several steps you can take to prevent such vulnerabilities in the future. These include conducting thorough security assessments of all dependencies before adding them to your project, monitoring for security alerts and updates, and staying informed about the latest security practices and vulnerabilities in the ecosystem.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall react-native-latest

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback