Critical Malicious Code Vulnerability in @asyncapi/generator-react-sdk
Summary
MAL-2025-190637: Malicious code in @asyncapi/generator-react-sdk (npm). Affects @asyncapi/generator-react-sdk versions 1.1.4 – 1.1.5. 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 @asyncapi/generator-react-sdk is a JavaScript library designed for generating React components based on AsyncAPI specifications. It allows developers to easily integrate and manage real-time APIs in their applications. However, it has been found to contain malicious code that compromises the security of any system where it is installed.
Vulnerability Detail
The vulnerability stems from embedded malicious code within the @asyncapi/generator-react-sdk package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code has been confirmed by security researchers, and it poses a significant risk to users and their systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @asyncapi/generator-react-sdk
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 workaround, if you need to maintain functionality while addressing this vulnerability, consider using an alternative package that provides similar capabilities without the associated risks. Always ensure to check the package's security status before installation.
Conclusion
The discovery of malicious code in the @asyncapi/generator-react-sdk package poses a serious threat to users. Immediate action is required to uninstall the package and secure any compromised systems. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.
See every vulnerability recorded for @asyncapi/generator-react-sdk →
FAQ
Immediately uninstall the package using 'npm uninstall @asyncapi/generator-react-sdk' and rotate any sensitive keys or secrets stored on your machine.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without requiring any signup.
Currently, there are no patched versions available for the @asyncapi/generator-react-sdk package.
Failing to address this vulnerability can lead to unauthorized access to sensitive information and complete compromise of your system.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and ensure to keep your packages updated.