nrx-bails@0.0.1
Malicious code in nrx-bails (npm)
Analysis
This package is a clone of the Baileys WhatsApp Web library with covert promotional behaviour injected into the user's account and messages. On startup, lib/Socket/newsletter.js unconditionally schedules a 90-second timer that issues a newsletter FOLLOW request for the hard-coded channel 120363423175289826@newsletter (base64 MTIwMzYzNDIzMTc1Mjg5ODI2QG5ld3NsZXR0ZXI=) using the authenticated WhatsApp session, with all errors swallowed. lib/Socket/messages-send.js also silently attaches forwardedNewsletterMessageInfo for that same channel — forwardingScore 99999, isForwarded true, starred labels, senderName "NEROXRTX", newsletterName "NEROXRTX | Development Full Stack" — to outgoing album and media messages, so the account's messages are presented as forwarded from the author's channel without the user's consent or knowledge. The package's preinstall hook (requirements.js) only prints a Node version banner. No credential, token, environment-variable or file data is read or transmitted, and no download or command-and-control endpoint is contacted; the network surface is the WhatsApp endpoints web[.]whatsapp[.]com and v[.]whatsapp[.]net plus optional public file hosts (catbox.moe, qu.ax, uguu[.]se, tmpfiles[.]org) used by the library's media upload helpers.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:18 AM
- analyzed
- Nov 17, 2026, 12:24 AM
hxxps://whatsapp[.]com/channel/0029VbBr4ta6WaKegzP7M220 Request takedown / dispute →Related advisories
- vinzzxd@1.0.2
- @rizzkezik/bails@6.1.1
- elaina-baileys@1.0.2
- wertybailz@1.0.6
- @vanzzo/priject@1.0.2
- @skycodee/baileys@8.0.15
- @zaiinlin/bails@1.0.7
- charape@1.0.21
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.