Skip to main content

Malicious code in whalibmob (npm)

0
Medium
Source: GCVE Database
Product: whalibmob

Description

The whalibmob npm package contains malicious code that silently subscribes the installer's authenticated WhatsApp account to attacker-controlled channels without user consent. This is achieved by injecting a covert channel-subscription action into the WhatsApp socket layer, issuing authenticated FOLLOW queries to attacker-chosen WhatsApp Channel/Newsletter JIDs. The targeted JIDs are obfuscated or dynamically fetched to evade detection. The malicious behavior does not exfiltrate credentials, establish persistence, or execute arbitrary remote code.

Affected software

npmghsa
whalibmob
Affected versions
=5.33.5=5.33.4=5.33.3=5.33.2=5.32.2=5.32.1=5.32.0=5.30.0=5.29.6=5.29.5=5.29.4=5.29.3=5.29.2=5.29.1=5.29.0=5.28.0=5.25.0=5.24.2=5.24.1=5.24.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/30/2026, 16:00:18 UTC

Technical Analysis

The whalibmob package, part of a large family of near-identical Baileys WhatsApp Web library forks, injects code that modifies the WhatsApp socket connection routine. Upon connection, it issues an authenticated 'w:mex' FOLLOW query using the installer's own WhatsApp session to subscribe the victim's account to attacker-controlled channels. The targeted channel JIDs are hidden via obfuscation or fetched dynamically from attacker-controlled hosts, allowing runtime modification of targets without republishing the package. This behavior abuses the installer's authenticated session to increase reach for attacker channels but does not involve credential theft, persistence, or arbitrary code execution.

Potential Impact

Victims unknowingly subscribe their WhatsApp accounts to attacker-controlled channels or newsletters, potentially exposing them to unwanted content or spam. The attack leverages the victim's authenticated session to perform these subscriptions silently. There is no direct credential theft, remote code execution, or persistence established by this malicious code.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or updating to the affected whalibmob package versions listed. Review and verify package sources before installation. Monitor for suspicious WhatsApp channel subscriptions and remove any unauthorized subscriptions. Since this is a malicious package behavior rather than a traditional vulnerability, remediation depends on avoiding use of the compromised package versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17408
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6abd30852a4e24523d340116

Added to database: 09/30/2026, 15:53:41 UTC

Last enriched: 09/30/2026, 16:00:18 UTC

Last updated: 09/30/2026, 22:39:01 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses