LWA-2026-14522 confirmed malware

sanka-baileyss@2.6.2

Malicious code in sanka-baileyss (npm)

T1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1001 · Data ObfuscationT1071.001 · Web ProtocolsT1020 · Automated Exfiltration

Analysis

This package is a modified copy of the Baileys WhatsApp Web API library that silently subscribes the connecting account to channels chosen by its author. lib/Socket/newsletter.js schedules a 90-second timer, plus a nested 5-second timer, inside makeNewsletterSocket(); when they fire they issue newsletter FOLLOW queries (iq type "get", xmlns "w:mex", query_id 7871414976211147) for the hardcoded channel JIDs 120363404901093286@newsletter and 120363419564423145@newsletter, discarding any error so the subscription is invisible to the caller. Those channel identifiers are not present as literals: they are stored as decimal char-code arrays and decoded at runtime with String.fromCharCode in lib/Utils/messages.js, the same technique used for the "BAILSNKA" pairing-code fallback in lib/Socket/socket.js and the "SANKA-" message-ID prefix in lib/Utils/generics.js. lib/Socket/sanka.js further stamps outgoing message metadata with newsletterJid 120363404901093286@newsletter and the name SANKANIME, tying the subscription targets to the package author's channels. Beyond its own WhatsApp Web endpoint (wss://web[.]whatsapp[.]com) and media hosts the package contacts nothing, reads no environment values or credential files, and its only process execution is an ffmpeg thumbnail call in lib/Utils/messages-media.js. The effect on an installer is unauthorised channel subscriptions and author-branded metadata injected into messages sent by the account that runs the library.

analyzed by
Leitwacht
first seen
Nov 25, 2026, 07:51 PM
analyzed
Nov 25, 2026, 07:53 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.