Critical Malicious Code Vulnerability in @asyncapi/converter Package
Summary
MAL-2025-190654: Malicious code in @asyncapi/converter (npm). Affects @asyncapi/converter versions 1.6.3 – 1.6.4. 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/converter package is a tool used in the development of APIs, allowing developers to convert AsyncAPI documents into various formats. It is widely utilized in the JavaScript ecosystem, particularly within Node.js applications. However, this package has been identified to contain malicious code, posing significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @asyncapi/converter package, specifically in versions 1.6.3 and 1.6.4. This malicious code can compromise the entire system, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as any computer running this package should be considered fully compromised, necessitating immediate action to secure the system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @asyncapi/converter
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
Currently, there are no effective workarounds to mitigate the risks associated with this vulnerability other than removing the package entirely.
Conclusion
The discovery of malicious code in the @asyncapi/converter package underscores the importance of vigilance in managing open-source dependencies. Immediate action is required to mitigate risks associated with this vulnerability, including uninstalling the package and securing sensitive information.
See every vulnerability recorded for @asyncapi/converter →
FAQ
You should immediately uninstall the package and rotate any sensitive information that may have been compromised.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
No, there is currently no patched version available for this package. The only solution is to remove it.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential exploitation by malicious actors.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.