wertybailz@1.0.6
Malicious code in wertybailz (npm)
Analysis
wertybailz@1.0.6 is a modified fork of the Baileys WhatsApp Web library that silently subscribes the user's WhatsApp account to four hardcoded channels. In lib/Socket/newsletter.js, inside makeNewsletterSocket(), a bare setTimeout chain (10 s, then 9 s, then 8 s) fires four w:mex newsletter FOLLOW queries (query id 7871414976211147) against base64-encoded channel JIDs: 120363420757607688@newsletter, 120363410018949906@newsletter, 120363425869049995@newsletter and 120363425177067841@newsletter. The block is unconditional — there is no configuration flag, environment check or calling code — so it executes every time a socket is created (makeWASocket / makeMessagesSocket), and the package ships no API the user can use to opt out or undo it. A second injected module, lib/Socket/luxu.js, brands outgoing status updates with a foreign channel attribution (newsletterName "D | 7eppeli-Exloration", newsletterJid 120363421563597486@newsletter) and falls back to another hardcoded channel JID, 120363399602691477@newsletter, in its poll-result path. lib/index.js prints a promotional banner and a Telegram channel link (t[.]me/XzC_Information) whenever the library is imported. No credential, token, environment or file exfiltration was found in the package.
- analyzed by
- Leitwacht
- first seen
- Nov 10, 2026, 12:26 AM
- analyzed
- Nov 10, 2026, 12:29 AM
- weekly installs
- 1,105
Related advisories
- wertybailz@1.0.13 same package
- wertybailz@1.0.8 same package
- wertybailz@1.0.11 same package
- wertybailz@1.0.10 same package
- @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.