Malicious Code Detected in eui-react-scripts Package
Summary
MAL-2025-19902: Malicious code in eui-react-scripts (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
The eui-react-scripts package is a tool used in the development of React applications, providing scripts and configurations for building and testing. It simplifies the setup process for developers by offering a standardized environment. However, it has been identified to contain malicious code, posing a significant risk to users who rely on it for their projects.
Vulnerability Detail
The vulnerability in the eui-react-scripts package stems from the introduction of malicious code within its codebase. This malicious code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eui-react-scripts
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 eui-react-scripts package from their project until a secure version is released. This can be done using the command: 'npm uninstall eui-react-scripts'. Alternatively, consider using an alternative package that provides similar functionalities without the associated risks.
Conclusion
The eui-react-scripts package has been found to contain malicious code, posing a serious security risk to applications that utilize it. Users are advised to update to a patched version or remove the package until a secure version is available. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for eui-react-scripts →
FAQ
eui-react-scripts is a package that provides scripts and configurations for building and testing React applications, streamlining the development process.
The malicious code was introduced in version 0 of the eui-react-scripts package, affecting all subsequent versions.
The risks include unauthorized access to applications, potential data breaches, and other malicious activities that could compromise user security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If immediate updates are not possible, consider removing the package or using an alternative that does not carry the same risks.