Critical Malicious Code Vulnerability in react-devtools-extensions
Summary
MAL-2025-192971: Malicious code in react-devtools-extensions (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
react-devtools-extensions is a popular npm package that provides developers with tools to debug and inspect React applications. It allows for real-time inspection of component hierarchies, state, and props, enhancing the development experience. However, this package has been compromised, introducing malicious code that can lead to severe security breaches.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the react-devtools-extensions package. This code can fully compromise any computer where the package is installed or running, allowing unauthorized access to sensitive information such as secrets and keys. The origin of this issue is linked to a malicious actor who has inserted harmful code into the package, making it a significant threat to developers and their environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-devtools-extensions
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 are no effective workarounds for this vulnerability. The best course of action is to remove the package entirely and ensure that all sensitive information is secured.
Conclusion
The react-devtools-extensions package has been compromised with malicious code, posing a significant threat to users. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring for updates and using tools like Vulert can help maintain security in your development environment.
See every vulnerability recorded for react-devtools-extensions →
FAQ
You should remove the package immediately and rotate any sensitive information stored on the affected machine.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Currently, there is no patched version available. It is essential to remove the package and secure your environment.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete compromise of your development environment.
No, it is highly recommended to stop using this package until a safe version is released and all necessary security measures are taken.