Critical Malicious Code Vulnerability in @asyncapi/multi-parser Package
Summary
MAL-2025-190661: Malicious code in @asyncapi/multi-parser (npm). Affects @asyncapi/multi-parser versions 2.2.1 – 2.2.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/multi-parser package is an npm library designed to facilitate the parsing of AsyncAPI documents. It is widely used in applications that require the integration of APIs, enabling developers to work with API specifications efficiently. However, this package has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the @asyncapi/multi-parser 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 malicious nature of this code has been confirmed by security researchers, and it poses a severe 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/multi-parser
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 specific workarounds available for this vulnerability. The best course of action is to remove the package entirely and ensure that your system is secure.
Conclusion
The @asyncapi/multi-parser package has been identified as containing malicious code that poses a significant security risk. Users are advised to uninstall the package immediately and take necessary precautions to secure their systems. Regular monitoring for vulnerabilities using tools like Vulert can help prevent such issues in the future.
See every vulnerability recorded for @asyncapi/multi-parser →
FAQ
You should uninstall the package immediately and rotate any sensitive information stored on your system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
No, there are currently no patched versions available for this package. The only solution is to remove it.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and potential control over your system by malicious actors.
Vulert monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file, providing an easy way to stay informed.