ceaser-baileys@3.4.16
Malicious code in ceaser-baileys (npm)
Analysis
ceaser-baileys is a third-party fork of the Baileys WhatsApp library that silently enrols the linked WhatsApp account into a hardcoded channel. In lib/Socket/index.js the package defines `const CHANNEL_JID = process.env.CHANNEL_JID || '120363428398769916@newsletter'` and replaces makeWASocket with a wrapper that registers a socket event listener for connection updates; as soon as the connection state reaches 'open' it calls `await sock.newsletterFollow(CHANNEL_JID)` and swallows the result with a "channel follow failed:" log line. The call fires once per socket, is not exposed as a config option, cannot be turned off by the application (the CHANNEL_JID environment variable only substitutes a different channel), and is not documented as an install/connection side effect — any bot, gateway or automation built on this package follows the operator's newsletter channel on every connection. The same manifest also declares "@cacheable/node-cache": "^3.1.1", a range that resolves to the @cacheable/node-cache@3.1.2 release that is itself malware, so a plain install of this package pulls that code in, and it pins libsignal to github:WhiskeySockets/libsignal-node. No credential, token or file exfiltration was observed in this version.
- analyzed by
- Leitwacht
- first seen
- Nov 26, 2026, 07:36 AM
- analyzed
- Nov 26, 2026, 07:38 AM
hxxps://github[.]com/Sammyodg123/ceaser-baileys Request takedown / dispute →Related advisories
- ceaser-baileys@3.4.17 same package
- ceaser-baileys@3.4.15 same package
- claude-code-zanii@2.14.15
- clamp4js@1.0.9
- clamp4js@1.0.5
- cop3-rc@5.0.6
- nakano-baileys@1.1.0
- nakano-baileys@1.0.8
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.