Critical Malicious Code Vulnerability in wac-react-relay Package
Summary
MAL-2026-335: Malicious code in wac-react-relay (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 wac-react-relay package is a JavaScript library used in web development, particularly for integrating React applications with Relay, a framework for managing and querying data. This package is designed to streamline data fetching and state management in React applications. However, it has been compromised, leading to severe security risks for any application that utilizes it.
Vulnerability Detail
The vulnerability originates from the presence of malicious code embedded within the wac-react-relay package. This code can fully compromise any computer that has the package installed or running, allowing unauthorized access to sensitive information such as secrets and keys. The implications of this vulnerability are significant, as it can lead to data breaches and loss of control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wac-react-relay
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 other than removing the package entirely. Ensure that you monitor your system for any signs of compromise after removal.
Conclusion
The wac-react-relay package has been identified as containing malicious code that poses a significant security risk. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring of dependencies is recommended to prevent future vulnerabilities.
See every vulnerability recorded for wac-react-relay →
FAQ
You should immediately uninstall the wac-react-relay package and rotate any sensitive information stored on the affected machine.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
While many open-source packages are reliable, it is essential to regularly audit and monitor them for vulnerabilities, as they can be compromised.