cvelo
P2 · HighMalware

Malicious code in sanka-baileyss (npm)

  • GHSA-chh9-97qr-vcxr

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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/bce37ddb93648381044f996185a4e4c45a535787/osv/malicious/npm/sanka-baileyss/MAL-2026-20948.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • sanka-baileyssnpm

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.