queenjusmy-baileys-v1@1.0.3
Malicious code in queenjusmy-baileys-v1 (npm)
Analysis
This package is a modified Baileys WhatsApp Web library that covertly enrols the user's authenticated WhatsApp account into channels chosen by the package author. In lib/Socket/newsletter.js, inside makeNewsletterSocket, two timer chains (90000 ms, then 5000 ms) send newsletter FOLLOW queries for four hardcoded base64-encoded channel JIDs — 120363400706010828@newsletter, 120363423257544642@newsletter, 120363349457176430@newsletter and 120363421052027188@newsletter — with every error swallowed, so the subscription happens silently well after the socket connects. lib/Socket/luxu.js and lib/Utils/messages.js additionally stamp outgoing messages with a forged forwardedNewsletterMessageInfo / newsletter contextInfo naming the same channels ("120363402220977044@newsletter", "120363400706010828@newsletter"), attributing forwarded and poll/event content to them. Nothing in the package documentation declares this behaviour, and the code contacts no host other than WhatsApp's own wss endpoint. The preinstall hook (engine-requirements.js) only checks the Node.js major version.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:30 AM
- analyzed
- Nov 17, 2026, 12:14 AM
- weekly installs
- 901
hxxps://github[.]com/vijitharanawakage/QueenJusmy-Baileys Request takedown / dispute →Related advisories
- queenjusmy-baileys-v1@1.0.1 same package
- queenjusmy-baileys-v1@1.0.9 same package
- @rizzkezik/bails@6.1.1
- @jiancodes/baileys@2.0.3
- @ravliesh/baileys@1.0.1
- @lubyzzxmods/baileys@2.0.4
- dapzsyz-baileysm@0.4.2
- amanexfujimiya-baileys@8.6.26
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.