Critical Malicious Code Vulnerability in react-native-log-level Package

react-native-log-level Updated 25 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191000: Malicious code in react-native-log-level (npm). Affects react-native-log-level versions 1.2.1 – 1.2.2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The react-native-log-level package is a logging utility designed for React Native applications, enabling developers to manage log levels and output effectively. It is widely used in the React Native ecosystem for debugging and monitoring application behavior. However, recent findings have revealed that this package contains malicious code, posing significant security risks to any application utilizing it.

Vulnerability Detail

The vulnerability originates from the discovery of embedded malicious code within the react-native-log-level package. This code can compromise any system where the package is installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code means that systems running this package should be considered fully compromised, necessitating immediate action to mitigate risks.

How To Fix

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

npm uninstall react-native-log-level

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

As a temporary workaround, you can replace the react-native-log-level package with an alternative logging library that does not have known vulnerabilities. Ensure to thoroughly test your application after making this change to confirm that logging functionality remains intact.

Conclusion

The discovery of malicious code in the react-native-log-level package poses a serious threat to applications using it. Immediate action is required to uninstall the package and secure any compromised secrets. Utilizing tools like Vulert can help monitor for vulnerabilities in your software effectively.

See every vulnerability recorded for react-native-log-level →

Share this vulnerability

FAQ

You should immediately uninstall the package and rotate any secrets or keys that may have been compromised.

You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.

Currently, there are no patched versions available. The best course of action is to uninstall the package.

Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete system compromise.

Yes, but you will need to implement an alternative logging solution to maintain logging functionality.

How To Fix

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

npm uninstall react-native-log-level

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