amanexfujimiya-baileys@8.6.26
Malicious code in amanexfujimiya-baileys (npm)
Analysis
This package is a modified WhatsApp (Baileys) library that silently uses the host application's authenticated WhatsApp session to promote the author's channel. lib/Socket/newsletter.js registers a 90-second timer when the newsletter socket is created and then sends a w:mex GraphQL request with the FOLLOW query id against the channel JID 120363407277177688@newsletter (stored base64-encoded in the source), causing every connected account to follow that channel without user action; the delay is chosen so the follow is not visible at startup. lib/Socket/rahmad.js, loaded from lib/Socket/messages-send.js, hardcodes the channel name "shenvn." and the same JID 120363407277177688@newsletter into the forwardedNewsletterMessageInfo field of every eventMessage it generates, so messages sent through this library are attributed to that channel. The preinstall hook (engine-requirements.js) only verifies the Node.js version. No token, environment or credential-file access and no unrelated network destinations were found; all other traffic goes to ordinary WhatsApp endpoints (web[.]whatsapp[.]com, wss://web[.]whatsapp[.]com/ws/chat, *.whatsapp[.]net).
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:01 AM
- analyzed
- Nov 15, 2026, 09:03 AM
- weekly installs
- 695
Related advisories
- amanexfujimiya-baileys@8.6.25 same package
- @denzy-official/baileys@1.2.8
- alisaai-baileys@10.0.0
- raiden-baileys@2.2.6
- raiden-baileys@2.2.5
- @trashcore/baileys@4.1.5
- @zanxiky/baileys@1.1.0
- @skycodee/baileys@8.0.15
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.