@bellachu/bails@0.0.2
Malicious code in @bellachu/bails (npm)
Analysis
This package is a repackaged WhatsApp automation library (a fork of Baileys published as @bellachu/bails) that silently manipulates the account of whoever installs it. In lib/Socket/newsletter.js, when a socket is created the library schedules two newsletter subscription queries (WhatsApp w:mex query id 7871414976211147, "follow") at 10 and 19 seconds after startup. The target channel identifiers are hidden as base64 string literals — MTIwMzYzNDI4NzQ1NzIyNTA0QG5ld3NsZXR0ZXI= and MTIwMzYzNDEwMzg4MzE2OTYzQG5ld3NsZXR0ZXI=, i.e. 120363428745722504@newsletter and 120363410388316963@newsletter — so the user's WhatsApp account is subscribed to third-party channels with no API call, configuration or notification. lib/Socket/luxu.js additionally injects hardcoded channels into outgoing messages: forwardedNewsletterMessageInfo carrying newsletterJid 120363421563597486@newsletter (newsletterName "D | 7eppeli-Exloration") and 120363399602691477@newsletter, combined with isForwarded, remoteJid "status@broadcast" and forwardingScore 99999 to disguise the messages as forwarded status broadcasts. The manifest also declares a cache-manager dependency range (^7.2.8) that resolves to the compromised release 7.2.10, and replaces libsignal with the unpinned alias npm:@otaxayun/libsignal-node@latest. Its homepage and repository fields point at Telegram channels rather than a source repository. No network C2 host is used; the malicious actions are performed through the WhatsApp protocol itself.
- analyzed by
- Leitwacht
- first seen
- Nov 9, 2026, 11:43 PM
- analyzed
- Nov 9, 2026, 11:44 PM
- weekly installs
- 239
Related advisories
- @bellachu/bails@0.0.1 same package
- @alzx7z/baileys@2.0.5
- hauntview@0.2.9
- @sakataa/baileys@4.0.2
- @lymmhere/lymmexc@1.0.0
- @sakataa/baileys@4.0.1
- smfos-bskdz-util@1.0.1
- jmrwd-gjdob-util@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.