@rizzkezik/baileys@1.1.1
Malicious code in @rizzkezik/baileys (npm)
Analysis
@rizzkezik/baileys@1.1.1 is a repackaged fork of the @whiskeysockets/baileys WhatsApp Web library that silently forces the installer's WhatsApp account to follow six hardcoded channels. In lib/Socket/newsletter.js the makeNewsletterSocket() constructor — called unconditionally by makeMessagesSocket() — schedules newsletter "follow" mutations (query id 7871414976211147) at 10 second delays, one nested at a further 8 and 9 seconds, against six channel JIDs stored base64-encoded so they do not read as channel IDs in source: 120363428745722504@newsletter, 120363410018949906@newsletter, 120363425869049995@newsletter, 120363425177067841@newsletter, 120363349140729983@newsletter and 120363424800295266@newsletter. No user action or configuration is involved, and the README presents the enrolment as a feature ("Has 1 newsletter follow, only the developer's WhatsApp channel", linking channel 0029Vb3IiqTL7UVP9A9n0w1x) while the code follows six. A second modified file, lib/Socket/luxu.js, injects fake forwarded-newsletter metadata (forwardingScore: 99999, isHighlighted, starred, labels "Y"/"Important", dataSharingContext.showMmDisclosure) and a fake forwardedNewsletterMessageInfo block naming "WhatsApp" / "D | 7eppeli-Exloration" and channel 120363421563597486@newsletter into album, event and poll messages the library sends. The package also declares a preinstall hook (node ./engine-requirements.js, a Node version check only) and pulls in an additional cache-manager dependency its upstream does not use. Its npm metadata advertises no source repository, only the package's own npm page.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:20 AM
- analyzed
- Nov 17, 2026, 12:11 AM
hxxps://www[.]npmjs[.]com/package/@rizzkezik/baileys Request takedown / dispute →Related advisories
- @rizzkezik/bailss@1.0.0
- @rizzkezik/bailss@1.2.0
- @rizzkezik/bailseys@6.7.10
- wizeza-baileys@2.0.7
- rsembilaneks-baileys@2.0.4
- @kyynotdevv/baileys@2.0.4
- ryuubail@1.0.0
- @devil-fight/baileys@1.0.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.