@jexkcode/baileys@1.3.3
Malicious code in @jexkcode/baileys (npm)
Analysis
@jexkcode/baileys is a scoped-name impersonation of the widely used WhatsApp library @whiskeysockets/baileys: it keeps the canonical basename "baileys" under an unrelated scope and presents itself as an "Enhanced WhatsApp Web API". Version 1.3.2 runs a lifecycle hook `"preinstall": "node ./engine-requirements.js"`, and version 1.3.3 ships the same shape. The library also contains lib/Utils/auto-follow.js, which drives the connecting account to follow a hard-coded WhatsApp channel without the operator's involvement — an injected behaviour aimed at inflating a channel's follower count, delivered through a library whose declared purpose is WhatsApp automation. A prior version of this package name is already publicly recorded as malicious; 1.3.2 and 1.3.3 are further publishes of the same package. Consumers of any WhatsApp/Baileys-derived dependency should verify they resolved their code from the genuine @whiskeysockets/baileys package rather than this scope.
- analyzed by
- Leitwacht
- first seen
- Nov 18, 2026, 02:36 AM
- analyzed
- Nov 18, 2026, 03:44 AM
- weekly installs
- 382
hxxps://github[.]com/jexkpinkman/JexkCode-baileys Request takedown / dispute →Related advisories
- @jexkcode/baileys@1.3.4 same package
- @jexkcode/baileys@1.3.5 same package
- @jexkcode/baileys@1.3.2 same package
- @jexkcode/baileys@1.3.1 same package
- @jexkcode/baileys@1.2.0 same package
- cantarelllaa@1.1.18
- node-bs58.js@3.0.0
- node-bs58.js@4.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.