LWA-2026-14524 confirmed malware

sanka-baileyss@2.6.4

Malicious code in sanka-baileyss (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1036 · MasqueradingT1027 · Obfuscated Files or InformationT1102 · Web Service

Analysis

This package is a modified fork of the Baileys WhatsApp Web API library that covertly acts on the installing application's own WhatsApp session. In lib/Socket/newsletter.js, makeNewsletterSocket() — instantiated for every client through lib/Socket/messages-send.js — starts a 90000 ms timer that sends a newsletter FOLLOW request for 120363404901093286@newsletter and, 5 s later, a second follow for 120363419564423145@newsletter, using the user's authenticated credentials; neither call is exposed as a configuration option or documented API. In lib/Utils/messages.js, prepareWAMessageMedia() defaults every media message's annotations to a newsletter object pinned to 120363404901093286@newsletter with newsletterName "SANKANIME" and contentType "UPDATE", so media sent by applications built on this library silently carries the author's channel attribution. The channel IDs, the channel name, the fallback pairing code "BAILSNKA" and the "SANKA-" message-ID prefix in lib/Utils/generics.js are all assembled at runtime from decimal char-code arrays via String.fromCharCode so the literals do not appear verbatim in the source. All traffic goes to WhatsApp's own servers (wss://web[.]whatsapp[.]com/ws/chat); no other destination is contacted. The preinstall hook, check-node-version.js, only verifies Node.js >= 20. IOCs: WhatsApp channel JIDs 120363404901093286@newsletter and 120363419564423145@newsletter.

analyzed by
Leitwacht
first seen
Nov 25, 2026, 07:53 PM
analyzed
Nov 25, 2026, 07:55 PM
npm package ↗ source repo (declared, defanged): hxxps://github[.]com/SankaVollereii/Sanka-Baileys Request takedown / dispute →

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.