Malicious Code Vulnerability in react-flex-tools - Security Risk Identified

react-flex-tools Updated 24 Dec 2025

Summary

23/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192855: Malicious code in react-flex-tools (npm). Affects react-flex-tools versions 2.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 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

react-flex-tools is a utility package in the npm ecosystem designed to facilitate the development of React applications by providing tools for layout management and styling. It is widely used by developers to streamline their workflow and enhance productivity. However, recent findings have revealed a significant security vulnerability that exposes users to potential malicious code execution.

Vulnerability Detail

The vulnerability identified in react-flex-tools is characterized by the presence of malicious code that can compromise the integrity of applications utilizing this package. This issue originated from a specific version (2.0.1) of the package, which has been flagged for containing harmful scripts that could lead to unauthorized access or data breaches. The ramifications of this vulnerability are severe, as it could allow attackers to execute arbitrary code within the context of the user's application, potentially leading to data theft or system compromise.

How To Fix

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

npm uninstall react-flex-tools

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, users can remove the affected version of react-flex-tools from their project and avoid using it until a secure version is confirmed. This can be done by executing the following command: npm uninstall react-flex-tools.

Conclusion

The discovery of malicious code in react-flex-tools poses a significant security risk to developers and their applications. It is essential to take immediate action by updating to a secure version and utilizing tools like Vulert to monitor for vulnerabilities continuously. By staying informed and proactive, developers can protect their applications from potential threats.

See every vulnerability recorded for react-flex-tools →

Share this vulnerability

FAQ

react-flex-tools is a utility package for React developers that aids in layout management and styling, enhancing the development process.

The vulnerability involves malicious code embedded in version 2.0.1 of react-flex-tools, which can lead to unauthorized code execution and potential data breaches.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Update react-flex-tools to the latest patched version using 'npm update react-flex-tools' and monitor your dependencies for vulnerabilities.

Yes, Vulert provides a service that monitors your package-lock.json file to alert you in real-time for any open-source vulnerabilities.

How To Fix

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

npm uninstall react-flex-tools

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