@kyynotdevv/baileys@2.0.3
Malicious code in @kyynotdevv/baileys (npm)
Analysis
This package is a modified fork of the WhatsApp client library @whiskeysockets/baileys that silently subscribes any account connecting through it to hardcoded WhatsApp channels and injects channel promotion metadata into outbound messages. lib/Socket/newsletter.js, inside makeNewsletterSocket, schedules four setTimeout callbacks (500 ms and 2 s after socket construction) that send w:mex newsletter FOLLOW queries for the hardcoded JIDs 120363405751989725@newsletter and 120363424433029723@newsletter, each wrapped in an empty try/catch so the user sees no prompt and no error. lib/Socket/dugong.js and lib/Utils/messages.js set forwardedNewsletterMessageInfo (newsletterJid 120363425458769503@newsletter and 120363422684021546@newsletter; newsletterName "Rixzz", "RiljiX7", "SHARE SC FREE") on generated sticker/status messages so sent payloads carry a channel forward header. A comment in newsletter.js leaves the channel-ID slots for fork operators to insert their own IDs. The preinstall hook engine-requirements.js only enforces Node.js >= 20. The package also resolves libsignal from a third-party git source, github:RILLYZY/libsignal-node, instead of the upstream package. No credential, token or wallet data is read or transmitted by the shipped code; the network endpoint is WhatsApp's own relay wss://web[.]whatsapp[.]com/ws/chat.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:27 AM
- analyzed
- Nov 17, 2026, 12:18 AM
hxxps://github[.]com/FikyAgristaa/KyyNotDevv Request takedown / dispute →Related advisories
- @kyynotdevv/baileys@2.0.4 same package
- @jiancodes/baileys@1.7.3
- @rahadi01/baileys@3.0.1
- @xsat10/baileys@7.0.0
- mybotthisoneis@1.0.0
- vinzz-baileys@1.0.0
- omhcmbud-bails@7.0.6
- vinzzxd@1.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.