Malicious Code Vulnerability in react-performance-suite: A Critical Security Concern
Summary
MAL-2026-1836: Malicious code in react-performance-suite (npm). Affects react-performance-suite versions 2.0.0 – 2.0.1. 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
react-performance-suite is an npm package designed to enhance the performance measurement capabilities of React applications. It provides developers with tools to analyze and optimize their applications' performance metrics. However, recent findings have revealed that certain versions of this package contain malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in react-performance-suite stems from the inclusion of malicious code in versions 2.0.0 and 2.0.1. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The origin of this vulnerability is linked to the package being tampered with, which raises concerns about the integrity of open-source software and the need for vigilant monitoring.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-performance-suite
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 versions of react-performance-suite from their project and refrain from using this package until a secure version is confirmed. To uninstall the package, use the command: npm uninstall react-performance-suite.
Conclusion
The discovery of malicious code in react-performance-suite highlights the importance of vigilance in managing open-source dependencies. Users are urged to update their packages promptly and utilize tools like Vulert to ensure their applications remain secure.
See every vulnerability recorded for react-performance-suite →
FAQ
Versions 2.0.0 and 2.0.1 of react-performance-suite are known to contain malicious code.
You can use Vulert to monitor and alert for vulnerabilities in your application. By analyzing your package-lock.json file, Vulert provides real-time alerts for open-source vulnerabilities.
If you have installed versions 2.0.0 or 2.0.1, it is recommended to uninstall these versions and update to the latest patched version of the package.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to their latest versions to minimize the risk of vulnerabilities.
Detailed information about this vulnerability can be found on the GitHub repository of the malicious packages, specifically at the provided source link.