Critical Malicious Code Vulnerability in @asyncapi/dotnet-rabbitmq-template
Summary
MAL-2025-190797: Malicious code in @asyncapi/dotnet-rabbitmq-template (npm). Affects @asyncapi/dotnet-rabbitmq-template versions 1.0.1 – 1.0.2. 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/dotnet-rabbitmq-template is an npm package designed to facilitate the development of applications using the AsyncAPI specification with RabbitMQ. It provides templates and tools to streamline the integration of messaging systems in .NET applications. However, this package has been compromised, embedding malicious code that poses significant security risks to users.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the @asyncapi/dotnet-rabbitmq-template package. Any system running this package is considered fully compromised, as it may allow unauthorized access to sensitive information, including secrets and keys stored on the machine. The malicious code can lead to severe ramifications, including 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 @asyncapi/dotnet-rabbitmq-template
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. The only safe course of action is to remove the package entirely and rotate any compromised secrets.
Conclusion
The @asyncapi/dotnet-rabbitmq-template package has been compromised with malicious code, posing significant security risks. Immediate action is required to uninstall the package and secure any sensitive information. Regular monitoring for vulnerabilities using tools like Vulert is recommended to maintain application security.
See every vulnerability recorded for @asyncapi/dotnet-rabbitmq-template →
FAQ
Immediately uninstall the package and rotate any secrets or keys stored on the affected machine.
You can use Vulert to monitor and alert for vulnerabilities in your application. Visit Vulert Scanner to check if your application is affected without requiring any signup.
Failure to address this vulnerability may lead to unauthorized access to sensitive data, potential data breaches, and loss of control over your systems.
No patch is available for the affected versions of the package. The recommended action is to uninstall the package.
It is highly discouraged to continue using the package, as it may still pose risks even if sensitive information is not stored.