@axo_cuy/baileyss@4.0.0
Malicious code in @axo_cuy/baileyss (npm)
Analysis
This package is a modified fork of the Baileys WhatsApp library that silently enrols the user's WhatsApp account into hardcoded channels and brands outgoing messages with forged channel-forwarding metadata. lib/Socket/newsletter.js embeds a base64 channel identifier ("MTIwMzYzNDEyNDUxOTIyMjA5QG5ld3NsZXR0ZXI=", decoding to 120363412451922209@newsletter) and, ten seconds after the socket is created, issues a newsletter FOLLOW request (Types.QueryIds.FOLLOW / xwa2_newsletter_follow) for it with no user action, discarding any error. The shipped editor backup lib/Socket/newsletter.js.bak retains an earlier, larger variant of the same block with four further encoded channels (120363424295522327, 120363427718144294, 120363426470081124, 120363408893555851, all @newsletter) followed at 10/15/20/25 second intervals after startup. lib/Socket/luxu.js, imported by lib/Socket/messages-send.js, injects forwardedNewsletterMessageInfo into outgoing messages using channels 120363421563597486@newsletter and 120363399602691477@newsletter (display names "WhatsApp", "D | 7eppeli-Exloration", sender "7-Yuukey") together with status@broadcast forwarding metadata (forwardingScore 99999, isHighlighted, starred, labels), making library-generated messages appear as forwards from those channels. The package additionally depends on cache-manager ^7.2.8, which resolves to the malicious cache-manager@7.2.10 release. Its preinstall hook runs node ./engine-requirements.js, a Node.js version check.
- analyzed by
- Leitwacht
- first seen
- Nov 5, 2026, 03:35 PM
- analyzed
- Nov 5, 2026, 03:37 PM
- weekly installs
- 114
Related advisories
- @axo_cuy/baileyss@1.0.0 same package
- @axo_cuy/baileyss@3.0.1 same package
- @axo_cuy/baileys@5.0.0
- osinthell@1.9.5
- @denzz221/baileys@8.0.8
- @wanzforme/bails@1.0.0
- @raffnotdev/baileys@1.0.0
- gugodapis@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.