Malicious Code Injection in whalibmob: Covert Channel Subscription Vulnerability

whalibmob Updated 30 Sep 2026

Summary

30/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17408: Malicious code in whalibmob (npm). Affects whalibmob versions 5.24.0 – 5.33.5. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The 'whalibmob' package is a fork of the Baileys WhatsApp Web library, designed to facilitate interactions with the WhatsApp API. It is part of a larger family of similar packages that have been identified as potentially harmful. The package allows developers to integrate WhatsApp functionalities into their applications, but it has been compromised to include malicious code that exploits users' authenticated sessions.

Vulnerability Detail

The vulnerability in 'whalibmob' arises from malicious code that injects a covert channel-subscription action into the WhatsApp socket layer. Upon connection, this code executes an authenticated 'w:mex' FOLLOW query against attacker-controlled WhatsApp Channel/Newsletter JIDs, using the victim's own authenticated session. This results in the victim's account being silently subscribed to channels without their consent. The malicious code employs various obfuscation techniques to hide the target JIDs, making it difficult for users to detect the threat. Although it does not exfiltrate credentials or execute arbitrary remote code, it compromises user privacy and control over their WhatsApp subscriptions.

How To Fix

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

npm uninstall whalibmob

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 measure, avoid using the 'whalibmob' package until it has been updated to a secure version. Consider using alternative libraries that do not exhibit these vulnerabilities. Additionally, regularly audit your package-lock.json file to monitor for any malicious dependencies.

Conclusion

The 'whalibmob' package contains a significant vulnerability that allows for the covert subscription of users to attacker-controlled WhatsApp channels. It is crucial for developers and users to update the package to the latest version and monitor their applications for any signs of compromise. Utilizing tools like Vulert can help in identifying such vulnerabilities in real-time.

See every vulnerability recorded for whalibmob →

Share this vulnerability

FAQ

The 'whalibmob' package is a library that allows developers to interact with the WhatsApp API, enabling functionalities such as messaging and notifications.

The vulnerability allows attackers to subscribe users to unwanted WhatsApp channels, compromising their privacy and control over their account.

Users may notice unexpected subscriptions to WhatsApp channels they did not join or receive notifications from channels they did not authorize.

Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you are affected, immediately update the 'whalibmob' package to the latest version and review your WhatsApp subscriptions for any unauthorized channels.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

npm uninstall whalibmob

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