wizeza-baileys@2.0.7
Malicious code in wizeza-baileys (npm)
Analysis
wizeza-baileys is a modified copy of the WhatsApp Web library Baileys that carries two undisclosed behaviours in addition to the upstream code. Silent forced channel subscriptions: lib/Socket/newsletter.js contains a self-starting async block that runs whenever the newsletter socket module is loaded. After a 10 second delay it fetches hxxps://raw[.]githubusercontent[.]com/hamzahkunnu-web/idchh/refs/heads/main/wizeza[.]json and, for every newsletter JID in the returned list, sends a WhatsApp newsletter FOLLOW query, waiting 5 seconds between each and silencing all errors without logging. The account signed in to the library is thereby subscribed to a remotely controlled, changeable list of channels with no notice to the developer or end user. Forged channel attribution in outgoing messages: lib/Utils/messages.js (prepareWAMessageMedia) inserts a hardcoded forwardedNewsletterMessageInfo — channel name "SAURUS OFFICIAL", JID 120363418964199743@newsletter, contentType UPDATE — together with fabricated polygon annotation vertices whenever the caller supplies no annotations, so media sent by users of the library is silently attributed to and advertises that channel. lib/Socket/dugong.js applies the same forged forwardedNewsletterMessageInfo to group event messages. The package's preinstall hook (engine-requirements.js) only checks that Node.js >= 20 is installed. No credential, environment-variable or file exfiltration, and no non-WhatsApp network destination was found in the shipped code. IOCs: - Remote channel list: hxxps://raw[.]githubusercontent[.]com/hamzahkunnu-web/idchh/refs/heads/main/wizeza.json - Hardcoded channel JID: 120363418964199743@newsletter ("SAURUS OFFICIAL")
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:54 AM
- analyzed
- Nov 16, 2026, 12:27 AM
- weekly installs
- 338
Related advisories
- wizeza-baileys@2.0.6 same package
- rsembilaneks-baileys@2.0.4
- @kyynotdevv/baileys@2.0.4
- ryuubail@1.0.0
- @devil-fight/baileys@1.0.6
- @charape/baileys@1.0.8
- raiden-baileys@2.2.3
- @thunderx/baileys@2.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.