Malicious Code Detected in react-devtools-raycast: Version 9.9.9 Vulnerability
Summary
MAL-2026-1039: Malicious code in react-devtools-raycast (npm). Affects react-devtools-raycast versions 9.9.9. 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-raycast is a package used within the React ecosystem, primarily for debugging and enhancing the development experience of React applications. It provides tools that allow developers to inspect and manipulate React component hierarchies in real-time. However, the version 9.9.9 of this package has been flagged for malicious behavior, raising concerns about the security of applications relying on it.
Vulnerability Detail
The vulnerability stems from the malicious code embedded in the react-devtools-raycast package version 9.9.9. This code executes commands that can lead to unauthorized actions within the user's environment, potentially compromising sensitive data or system integrity. The OpenSSF Package Analysis project has classified this package as malicious due to its ability to perform harmful operations without user consent.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-devtools-raycast
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, consider removing the react-devtools-raycast package from your project until a secure version is confirmed. You can do this by running: npm uninstall react-devtools-raycast.
Conclusion
The react-devtools-raycast package version 9.9.9 has been identified as malicious, posing significant risks to applications that utilize it. Developers are urged to update or remove the package to safeguard their projects. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for react-devtools-raycast →
FAQ
react-devtools-raycast is a debugging tool for React applications that allows developers to inspect and manipulate component hierarchies.
The malicious code executes commands that can lead to unauthorized actions, potentially compromising user data and system security.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Yes, it is advisable to update to the latest version of react-devtools-raycast to mitigate the risk associated with this vulnerability.
If immediate updates are not possible, consider removing the package as a temporary measure to protect your application.