Malicious package · npm
Malicious code in sanka-baileyss (npm)
1.8.42.4.42.4.52.4.62.4.72.4.82.4.92.5.02.5.12.5.22.5.32.5.4+14 moreNo safe version. Remove it.What it does
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.
No fix · Remove and contain
npm uninstall sanka-baileyss