LWA-2026-13815 MAL-2026-18861 ↗ confirmed malware

@langitdeveloper/baileys@2.2.0

Malicious code in @langitdeveloper/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1071.001 · Web ProtocolsT1102 · Web Service

Analysis

@langitdeveloper/baileys is a fork of the Baileys WhatsApp Web library (published under a non-canonical scope for the baileys name) that covertly manipulates the installing user's WhatsApp account. In lib/Socket/newsletter.js the module declares `let newsletters = ['120363426930096454@newsletter']`, and every socket built through makeNewsletterSocket() schedules, via a 90-second setTimeout, a WhatsApp `w:mex` GraphQL FOLLOW mutation (newsletterWMexQuery(id, 'QueryIds.FOLLOW')) for that hardcoded channel JID. No caller, configuration option or user action is involved: any application built on this fork silently makes its owner's WhatsApp account a follower of channel 120363426930096454, and the minute-and-a-half delay keeps the action out of the immediate connection flow where it would be noticed. The preinstall hook (engine-requirements.js) only enforces a Node.js >= 20 major version. The remaining code is conventional Baileys functionality: WhatsApp endpoints (web[.]whatsapp[.]com, v[.]whatsapp[.]net), ffmpeg invocation in lib/Utils/messages-media.js, and an optional debugging helper in lib/Utils/bot-toolkit.js that sends a caller-supplied error/code snippet and ANTHROPIC_API_KEY to the official api[.]anthropic[.]com/v1/messages endpoint.

analyzed by
Leitwacht
first seen
Nov 9, 2026, 11:56 PM
analyzed
Nov 9, 2026, 11:58 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.