cvelo
P2 · HighMalware

Malicious code in sanka-baileyss (npm)

  • MAL-2026-20948

Description

sanka-baileyss is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that silently subscribes the user's WhatsApp account to channels chosen by its author. From 2.4.4 on, `makeNewsletterSocket` in `lib/Socket/newsletter.js`, which runs whenever an application that imports it creates a socket with `makeWASocket`, starts a 90-second timer that sends the newsletter FOLLOW query for `120363419564423145@newsletter` and either `120363401219396932@newsletter` (2.4.4-2.5.3) or `120363404901093286@newsletter` (2.5.4 onward) on the user's authenticated session and discards any error; 2.4.5 hides the IDs as character-code arrays, and 1.8.4 does the same after login for `120363377046327133@newsletter` in `lib/Socket/socket.js`. No option disables it and the README does not mention it; the npm account sankavollerei has published 26 such versions since 2025-06.

Text from the OSV record.

Affected

  • sanka-baileyssnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.