cantarelllaa@1.1.18
Malicious code in cantarelllaa (npm)
Analysis
This package is a modified fork of the Baileys WhatsApp Web API library that contains an undisclosed remote-tasking routine executed on every successful connection. When the client reports connection === "open", lib/Socket/newsletter.js schedules autoJoinChannels() 30 seconds later; that function fetches a JSON array from hxxps://u[.]pone[.]rs/oyptjqmf[.]json and, for every entry ending in "@newsletter", silently subscribes the user's linked WhatsApp account to that channel and then mutes it, pacing requests 3 seconds and 10 seconds apart. The channel list is served from a host unrelated to the WhatsApp API, so the operator can retarget any installed client at will without publishing a new version. The package also ships an upload helper in lib/Utils/messages-media.js that posts caller-supplied media to the third-party anonymous file hosts catbox.moe, scdn.pdi.moe, qu.ax, uguu[.]se and tmpfiles[.]org, and its documentation image is loaded from upload[.]zireku[.]com. Its preinstall hook (engine-requirements.js) only verifies the Node.js major version. No credential or token harvesting strings are present in the package.
- analyzed by
- Leitwacht
- first seen
- Nov 17, 2026, 10:08 AM
- analyzed
- Nov 18, 2026, 12:10 AM
hxxps://github[.]com/FallEzz/cantarella-baileys Request takedown / dispute →Related advisories
- node-bs58.js@3.0.0
- node-bs58.js@4.0.0
- node-bs58.js@1.0.0
- node-bs58.js@4.0.1
- node-bs58.js@4.0.2
- noya-baileys@6.1.1
- queenjusmy-baileys-v1@1.0.1
- vinzzknight@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.