@lymmhere/lymmexc@1.0.0
Malicious code in @lymmhere/lymmexc (npm)
Analysis
This package is a WhatsApp Web socket library (a Baileys-derived fork) that, on socket creation, silently subscribes the connecting account to four hardcoded WhatsApp newsletter channels. lib/Socket/newsletter.js holds a base64-encoded array of channel IDs; each string is decoded with Buffer.from(jid, "base64").toString() and sent as a WhatsApp newsletter FOLLOW request (Types.QueryIds.FOLLOW / xwa2_newsletter_follow), staggered with setTimeout at 10, 15, 20 and 25 second delays inside a try/catch that discards every error. Because makeNewsletterSocket is reached from the normal socket construction chain (lib/Socket/username.js -> lib/Socket/newsletter.js -> groups socket), the follow requests are issued by every application that connects, with no prompt, no configuration option, and no mention in the package metadata; the target channels are 120363414603495810@newsletter, 120363432279897712@newsletter, 120363432203961654@newsletter and 120363431117124434@newsletter. Additional message-construction helpers are bundled in lib/Socket/luxu.js. The package's declared preinstall hook (engine-requirements.js) only verifies the Node.js major version and exits below Node 20.
- analyzed by
- Leitwacht
- first seen
- Nov 9, 2026, 08:50 AM
- analyzed
- Nov 9, 2026, 08:51 AM
Related advisories
- @sakataa/baileys@4.0.1
- smfos-bskdz-util@1.0.1
- jmrwd-gjdob-util@1.0.1
- xueoj-vjtof-util@1.0.0
- vojmd-ajgkr-util@1.0.0
- sauruspro-bail@5.0.2
- nullsub@1.11.15
- modelsdesk@0.4.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.