B42/100
Supply-chain attack · high
Malicious fork of Baileys WhatsApp library reviewed as malware
Tier B · Patch this week – Put it in the sprint
Who’s exposed: Projects installing the @xzvbailss/baileys fork
Tier B because: Full takeover OR secrets exposed OR supply chain
Reach
Attack
Damage
Fix
Supply chain
What to do
- Search your projects and lockfiles for @xzvbailss/baileys and remove it if present
- Replace it with the official Baileys package
The Brief
- On 16 November 2026, GitHub's Advisory Database reviewed @xzvbailss/baileys as malware.
- The package is a fork of Baileys, a WebSocket library that most WhatsApp automation tools in Node.js are built on.
- The fork performs Baileys' normal functions and also auto-follows a WhatsApp channel on every connection, without telling the user.
Why it matters
Projects that install this fork run code that secretly subscribes their WhatsApp account to a channel, so any integration using it can behave in ways the developer did not choose.
The checklist behind the tier
Checklist · 2 of 10 yes
| Yes | Hits tech teams | Judgment: Baileys is a Node.js library developers use to build WhatsApp automation tools. |
| No | Core infrastructure | Judgment: a single WhatsApp library fork, not software nearly every team runs. |
| No | Popular tool | Judgment: the affected package is a five-day-old fork, not a widely used tool. |
| No | Exploited in the wild | DEV Community: fork reviewed as malware and still live; no observed attacks stated. |
| No | Public exploit | DEV Community: the package is malware; no exploit code or PoC mentioned. |
| No | Remote, no login | DEV Community: users must install the fork; no unauthenticated network attack described. |
| No | Full takeover | DEV Community: fork auto-follows a channel without telling users; no code execution or takeover stated. |
| No | Secrets exposed | DEV Community: no theft or exposure of credentials, tokens or user data mentioned. |
| Yes | Supply chain | GitHub Advisory Database: malicious package @xzvbailss/baileys, a fork of Baileys, reviewed as malware. |
| No | No fix yet | Malicious fork, not a vulnerability; no fix applies. |
Timeline
Source
A five-day-old fork of a real WhatsApp library, still live, that auto-follows a channel on every connection ↗ DEV Community: javascript · 2d ago
First seen · 1 source · Full story page · How tiers are decided