Critical Malicious Code Vulnerability in @asyncapi/bundler Package

@asyncapi/bundler Updated 24 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190652: Malicious code in @asyncapi/bundler (npm). Affects @asyncapi/bundler versions 0.6.5 – 0.6.6. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The @asyncapi/bundler package is a tool designed for bundling AsyncAPI documents, facilitating the development of APIs by providing a structured way to describe and document them. It is widely used in the JavaScript ecosystem, particularly for projects that rely on npm packages. However, recent findings have revealed that certain versions of this package contain embedded malicious code, posing significant security risks to users and their systems.

Vulnerability Detail

The vulnerability originates from malicious code embedded within the @asyncapi/bundler package, specifically in versions 0.6.5 and 0.6.6. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The implications of this vulnerability are severe, as it can lead to complete control of the affected system by external entities. Users are advised to treat any system with this package installed as fully compromised.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @asyncapi/bundler

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 to mitigate the risks posed by this vulnerability other than removing the affected package. Users should ensure that they do not run any applications that depend on the compromised versions until they have been fully removed.

Conclusion

The discovery of malicious code in the @asyncapi/bundler package highlights the importance of vigilance in managing open-source dependencies. Users must act swiftly to remove affected versions and secure their systems to prevent potential exploitation.

See every vulnerability recorded for @asyncapi/bundler →

Share this vulnerability

FAQ

You should immediately remove the package and rotate any sensitive information stored on your system.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Versions 0.6.5 and 0.6.6 of the @asyncapi/bundler package are known to contain the malicious code.

While other versions may not be affected, it is advisable to stay updated with the latest releases and monitor for any further vulnerabilities.

Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @asyncapi/bundler

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback