killua-baileys@2.0.0
Malicious code in killua-baileys (npm)
Analysis
This package is a modified build of the Baileys WhatsApp Web library that silently makes the installing user's WhatsApp account follow a set of hidden third-party channels. In lib/Socket/newsletter.js it ships `const RansFollowCh = [...]`, an array of five base64-encoded channel JIDs which decode to 120363419931177308@newsletter, 120363371199176376@newsletter, 120363409519566274@newsletter, 120363408883778327@newsletter and 120363404953742204@newsletter. A setTimeout with a 90,000 ms delay is registered when the socket module loads; after the delay it iterates the array and calls the internal w:mex 'FOLLOW' query (query id QueryIds.FOLLOW, addressed to S_WHATSAPP_NET, variables {newsletter_id: <jid>}) for each channel, spacing the calls three seconds apart and swallowing every error, so the user's account is subscribed to channels the user never selected. The identifiers are base64-encoded rather than plaintext and the action is deferred 90 seconds; the package's own README advertises only a single, different developer channel (whatsapp[.]com/channel/0029VbAJOR4DJ6H3p6aFhI1I), so the shipped list is undisclosed. Apart from WhatsApp's own hosts (web[.]whatsapp[.]com, call[.]whatsapp[.]com, www[.]whatsapp[.]com) and the upstream Baileys version-check file on raw[.]githubusercontent[.]com, the package contacts no external endpoint; it contains no dynamic code evaluation and the only shell invocation is upstream ffmpeg thumbnail extraction. The payload's purpose is unauthorised account-level promotion activity driven by an obfuscated, undisclosed channel list.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:20 AM
- analyzed
- Nov 17, 2026, 12:24 AM
hxxps://github[.]com/cabrin21/Baills_killua Request takedown / dispute →Related advisories
- queenjusmy-baileys-v1@1.0.1
- @xsat10/baileys@7.0.0
- mod-baileys@1.0.3
- queenjusmy-baileys-v1@1.0.3
- @rizzkezik/bails@6.1.1
- queenjusmy-baileys-v1@1.0.9
- @jiancodes/baileys@2.0.3
- @ravliesh/baileys@1.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.