Malicious Code Injection in levvleys Package: Covert Channel Subscription Vulnerability

levvleys Updated 30 Sep 2026

Summary

30/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17397: Malicious code in levvleys (npm). Affects levvleys versions 2.0.10 – 2.1.0. 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 levvleys package is a part of a larger family of forks derived from the Baileys WhatsApp Web library. It is designed to facilitate interactions with WhatsApp through a web interface. However, this package has been identified as having a significant security flaw that allows malicious actors to exploit the user's authenticated WhatsApp session without their consent.

Vulnerability Detail

The vulnerability in the levvleys package stems from its ability to inject malicious code into the WhatsApp socket layer. Upon connection, this code executes an authenticated 'w:mex' FOLLOW query against attacker-controlled WhatsApp Channel/Newsletter JIDs. This action subscribes the victim's account to channels without their knowledge. The obfuscation techniques used to conceal the target JIDs make it difficult for users to detect the malicious behavior. Although the vulnerability does not exfiltrate credentials or execute arbitrary remote code, it compromises the user's account by subscribing them to unwanted channels.

How To Fix

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

npm uninstall levvleys

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 can avoid using the levvleys package until they have updated to the patched version. Additionally, users should review their installed packages and remove any versions of levvleys that are vulnerable.

Conclusion

The levvleys package has a serious vulnerability that allows malicious code to exploit users' WhatsApp sessions. It is crucial for users to update to the latest patched version to protect their accounts from unauthorized subscriptions. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for levvleys →

Share this vulnerability

FAQ

levvleys is an npm package that facilitates interactions with WhatsApp through a web interface, but it has been found to contain malicious code.

The vulnerability allows attackers to subscribe your WhatsApp account to channels without your consent, potentially leading to unwanted notifications and interactions.

You should immediately update to the patched version (2.1.1) using the command 'npm install levvleys@2.1.1' to mitigate the risk.

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 at Vulert Scanner without needing to sign up.

The malicious code uses various obfuscation techniques such as plain string literals, base64 encoding, and dynamic reconstruction of character arrays to hide the target JIDs from casual review.

How To Fix

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

npm uninstall levvleys

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