International
The Morning Dev

Only the news worth knowing

‹
 
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

  1. Search your projects and lockfiles for @xzvbailss/baileys and remove it if present
  2. 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
YesHits tech teamsJudgment: Baileys is a Node.js library developers use to build WhatsApp automation tools.
NoCore infrastructureJudgment: a single WhatsApp library fork, not software nearly every team runs.
NoPopular toolJudgment: the affected package is a five-day-old fork, not a widely used tool.
NoExploited in the wildDEV Community: fork reviewed as malware and still live; no observed attacks stated.
NoPublic exploitDEV Community: the package is malware; no exploit code or PoC mentioned.
NoRemote, no loginDEV Community: users must install the fork; no unauthenticated network attack described.
NoFull takeoverDEV Community: fork auto-follows a channel without telling users; no code execution or takeover stated.
NoSecrets exposedDEV Community: no theft or exposure of credentials, tokens or user data mentioned.
YesSupply chainGitHub Advisory Database: malicious package @xzvbailss/baileys, a fork of Baileys, reviewed as malware.
NoNo fix yetMalicious fork, not a vulnerability; no fix applies.

Timeline

  1. GitHub Advisory Database reviewed @xzvbailss/baileys as malware

  2. DEV Community: javascript

    A five-day-old fork of a real WhatsApp library, still live, that auto-follows a channel on every connection

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