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

@langitdeveloper/baileys@2.2.1

Malicious code in @langitdeveloper/baileys (npm)

T1036 · MasqueradingT1071.001 · Web Protocols

Analysis

This package is a WhatsApp client library fork that covertly manipulates the account it is instantiated for. In lib/Socket/newsletter.js the channel identifier 120363426930096454@newsletter is hardcoded and a 90-second timer issues a newsletter FOLLOW query for it over the user's authenticated WhatsApp connection; the hook runs on ordinary socket creation (lib/Socket/socket.js, lib/Socket/messages-send.js), is not exposed as a configuration option, and gives the account owner no indication that their account was enrolled as a follower. The delayed timer means the enrolment happens well after startup. lib/Socket/dugong.js carries a second hardcoded channel identifier, 120363430179804706@newsletter, used to attach spoofed "forwarded newsletter" attribution (newsletterName "shenvn.") to generated messages. lib/Utils/bot-toolkit.js also ships an aiMahiru() helper that POSTs to hxxps://api[.]anthropic[.]com/v1/messages using an ANTHROPIC_API_KEY supplied by the caller or the environment; that is the only environment variable read in the package, and no npm, GitHub, cloud or wallet credentials are collected or transmitted.

analyzed by
Leitwacht
first seen
Nov 9, 2026, 11:56 PM
analyzed
Nov 9, 2026, 11:57 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.