Malicious Code Vulnerability in build-react-wrapper Package
Summary
MAL-2025-5074: Malicious code in build-react-wrapper (npm). Affects build-react-wrapper versions 1.0.0. 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 build-react-wrapper package is a tool designed for building React applications, providing developers with a streamlined way to manage their build processes. It is widely used in the JavaScript ecosystem, particularly among developers who rely on npm for package management. However, this package has been identified as having a serious vulnerability that could potentially compromise the integrity of applications that depend on it.
Vulnerability Detail
The vulnerability in the build-react-wrapper package stems from the presence of malicious code within version 1.0.0. This code can lead to unauthorized access or manipulation of the application, posing significant risks to the security of the software and its users. The malicious code was identified by ReversingLabs, highlighting the importance of scrutinizing third-party packages for hidden threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall build-react-wrapper
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 measure, you can remove the build-react-wrapper package from your project until a secure version is released. This can be done using the command: npm uninstall build-react-wrapper. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The build-react-wrapper package has been found to contain malicious code in version 1.0.0, posing significant security risks. It is essential for developers to take immediate action by updating or removing the package to protect their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for build-react-wrapper →
FAQ
The build-react-wrapper package is a tool used for building React applications, simplifying the build process for developers.
You can check if your application is affected by this vulnerability using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without any signup.
If you are using version 1.0.0 of build-react-wrapper, it is recommended to uninstall the package or update it to a patched version as soon as it is available.
The vulnerability was identified by ReversingLabs, a company specializing in threat detection and analysis.
Using the compromised package can lead to unauthorized access, data breaches, and manipulation of your application, which can have severe consequences for both developers and users.