Skip to main content

Malicious code in xzvexpzcbailey (npm)

0
Medium
Source: GCVE Database
Product: xzvexpzcbailey

Description

The npm package xzvexpzcbailey is part of a large family of malicious forks of the Baileys WhatsApp Web library. These packages inject code that silently subscribes the victim's authenticated WhatsApp account to attacker-controlled channels without user consent. The target channels are obfuscated or dynamically fetched, allowing attackers to change targets post-installation. The malicious behavior abuses the installer's own WhatsApp session but does not steal credentials, maintain persistence, or execute arbitrary code.

Affected software

npmghsa
xzvexpzcbailey
Affected versions
=2.5.0=2.1.0=2.0.0=1.0.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, 15:59:49 UTC

Technical Analysis

The xzvexpzcbailey npm package (versions 1.0.0, 2.0.0, 2.1.0, and 2.5.0) is one of over 100 near-identical malicious forks of the Baileys WhatsApp Web library. These forks inject a covert channel-subscription action into the WhatsApp socket layer. Upon connection, the injected code issues an authenticated 'w:mex' FOLLOW query using the victim's WhatsApp session to subscribe them to attacker-chosen WhatsApp Channel/Newsletter JIDs. The target JIDs are hidden via obfuscation techniques or dynamically fetched from attacker-controlled remote sources, enabling runtime changes without republishing the package. The underlying mechanism involves patching the socket-connect routine to trigger the FOLLOW query shortly after connection. This abuse leverages the victim's authenticated session to increase subscribers for attacker channels but does not exfiltrate credentials, establish persistence, or allow arbitrary code execution.

Potential Impact

The impact is limited to unauthorized subscription of the victim's WhatsApp account to attacker-controlled channels, potentially exposing the victim to unwanted content or spam. There is no credential theft, persistence, or arbitrary code execution reported. The attack leverages the victim's authenticated session to perform these subscriptions silently.

Mitigation Recommendations

No official patch or remediation guidance is provided. Users should avoid installing or using the affected xzvexpzcbailey package versions (1.0.0, 2.0.0, 2.1.0, 2.5.0). Since this is a malicious package published on npm, users should verify package authenticity and source before installation. Consider removing the package if already installed and monitor for suspicious WhatsApp channel subscriptions. Patch status is not yet confirmed — check the vendor or npm advisories for current remediation guidance.

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-17412
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6abd30852a4e24523d340112

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

Last enriched: 09/30/2026, 15:59:49 UTC

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

Views: 2

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