Critical Vulnerability in cortana-md-engine: Malicious Code Exposed

cortana-md-engine Updated 30 Sep 2026

Summary

30/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17323: Malicious code in cortana-md-engine (npm). Affects cortana-md-engine versions 1.4.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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

cortana-md-engine is a Baileys-based WhatsApp bot designed to automate interactions on the WhatsApp platform. It features bundled entry points that facilitate user engagement through various automated tasks. However, this package has been found to contain hardcoded MongoDB connection strings and malicious tooling aimed at exploiting WhatsApp users, making it highly vulnerable to abuse and unauthorized access.

Vulnerability Detail

The vulnerability originates from the hardcoded MongoDB connection strings embedded within the package's code. These strings allow the package author to maintain read access to the WhatsApp session states of all users who install the package. This access can lead to account hijacking, as the author can exploit the stored authentication states. Additionally, the package includes offensive tools designed for abuse, such as proxy pools and commands for mass reporting and account banning, further exacerbating the risk to users.

How To Fix

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

npm uninstall cortana-md-engine

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

As a temporary workaround, users should avoid using the cortana-md-engine package until a secure version is released. Additionally, consider using alternative WhatsApp automation tools that do not contain known vulnerabilities.

Conclusion

The cortana-md-engine package contains a critical vulnerability that exposes users to potential account hijacking and abuse. It is essential for users to update or remove the package and remain vigilant about their account security. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.

See every vulnerability recorded for cortana-md-engine →

Share this vulnerability

FAQ

cortana-md-engine is a WhatsApp bot that automates user interactions on the platform, but it has been found to contain malicious code.

The vulnerability allows the package author to access users' WhatsApp session states, potentially leading to account hijacking.

If you have installed this package, it is recommended to uninstall it immediately and monitor your WhatsApp account for any suspicious activity.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

The package includes tools for proxy management, mass reporting, and account banning, which can be used maliciously against other WhatsApp users.

How To Fix

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

npm uninstall cortana-md-engine

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