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

Source: [DEV Community: javascript](https://dev.to/mag_solutions_ai/a-five-day-old-fork-of-a-real-whatsapp-library-still-live-that-auto-follows-a-channel-on-every-1423) · 2026-11-16 · Frontend
Page: https://themorning.dev/story/a-five-day-old-fork-of-a-real-whatsapp-library-still-live-that-auto-follows-a-ch-94c1a1e86cfdf87f
Kind: security · Impact: high

## In 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.

## What to do

- Search your projects and lockfiles for @xzvbailss/baileys and remove it if present
- Replace it with the official Baileys package

## Timeline

- 2026-11-16: GitHub Advisory Database reviewed @xzvbailss/baileys as malware

## Coverage

- [A five-day-old fork of a real WhatsApp library, still live, that auto-follows a channel on every connection](https://dev.to/mag_solutions_ai/a-five-day-old-fork-of-a-real-whatsapp-library-still-live-that-auto-follows-a-channel-on-every-1423) — DEV Community: javascript, 2026-11-16

Tags: baileys, whatsapp, npm, malware, supply-chain, nodejs

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
