Critical Malicious Code Vulnerability in @asyncapi/markdown-template Package

@asyncapi/markdown-template Updated 24 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190659: Malicious code in @asyncapi/markdown-template (npm). Affects @asyncapi/markdown-template versions 1.6.8 – 1.6.9. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The @asyncapi/markdown-template package is an npm library designed to facilitate the generation of markdown documentation for AsyncAPI specifications. It is widely used by developers to streamline the documentation process for APIs. However, this package has been compromised, leading to significant security concerns for users who have it installed.

Vulnerability Detail

The vulnerability stems from the presence of malicious code within the @asyncapi/markdown-template 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 the code has been confirmed by security researchers, and it poses a severe risk to users who may unknowingly expose their systems to external threats.

How To Fix

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

npm uninstall @asyncapi/markdown-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 other than removing the package entirely. Users should also monitor their systems for any unusual activity after the package has been uninstalled.

Conclusion

The @asyncapi/markdown-template package has been identified as containing malicious code that poses a significant security threat. Users are advised to uninstall the package immediately and take necessary precautions to secure their systems. Continuous monitoring for vulnerabilities is essential to maintain the integrity of your applications.

See every vulnerability recorded for @asyncapi/markdown-template →

Share this vulnerability

FAQ

You should uninstall the package immediately using the command 'npm uninstall @asyncapi/markdown-template' and rotate any exposed secrets or keys.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The risks include unauthorized access to sensitive information, potential data breaches, and complete compromise of your system.

Currently, there is no patched version available. The only recommendation is to uninstall the package.

You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.

How To Fix

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

npm uninstall @asyncapi/markdown-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 →

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