Malicious Code Detected in react-is-builtin Package: Version 10.0.1
Summary
MAL-2025-6227: Malicious code in react-is-builtin (npm). Affects react-is-builtin versions >= 10.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
The react-is-builtin package is an npm module designed to provide utilities for working with React components. It is commonly used in various web applications to enhance the development process. However, version 10.0.1 of this package has been identified as malicious, posing significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the malicious behavior embedded within the react-is-builtin package version 10.0.1. This version communicates with a domain linked to malicious activities and executes commands that can compromise the integrity of the host system. Such actions can lead to unauthorized access, data breaches, and potential exploitation of the affected application.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall react-is-builtin
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 remove the react-is-builtin package from your project until a secure version is confirmed. This can be done using the command: npm uninstall react-is-builtin.
Conclusion
The discovery of malicious code in the react-is-builtin package version 10.0.1 highlights the importance of regularly monitoring and updating dependencies in software projects. By taking immediate action to update or remove the affected package, developers can safeguard their applications against potential threats.
See every vulnerability recorded for react-is-builtin →
FAQ
react-is-builtin is an npm package that provides utilities for working with React components.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor vulnerabilities without requiring any installation.
If an immediate update is not possible, consider removing the package from your project as a temporary measure to mitigate risks.
Using the malicious version can lead to unauthorized access, data breaches, and exploitation of your application, potentially compromising user data and application integrity.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.