LWA-2026-13694 MAL-2026-19053 ↗ confirmed malware

charape@1.0.4

Malicious code in charape (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1036 · MasqueradingT1098 · Account ManipulationT1565 · Data Manipulation

Analysis

charape is a renamed fork of the Baileys WhatsApp Web library that enrols the operator's WhatsApp account into an operator-controlled channel and attributes outbound messages to that channel. lib/Defaults/index.js ships DEFAULT_CONNECTION_CONFIG containing autoFollow: ['120363424530330931@newsletter'], newsletterJid '120363424530330931@newsletter', newsletterName 'メ Informasi Store Cԋαɾαρҽ' and channelUrl hxxps://whatsapp[.]com/channel/0029Vb6cCfP3GJP6g8eeff1o. lib/Socket/newsletter.js (makeNewsletterSocket) copies config.autoFollow into followList and, once the account is paired, calls mexQuery({newsletter_id: targetJid}) with QueryIds.FOLLOW / xwa2_newsletter_follow up to three times, so every bot built on the package subscribes its account to that channel without consent while the channel retains the ability to push content to it. lib/Socket/messages-send.js (injectNewsletterWatermark) and lib/Utils/messages.js stamp that channel's JID, name and server message id into contextInfo on outgoing messages and media annotations, so the operator's traffic is presented as forwarded from the charape channel. The postinstall hook scripts/postinstall.js (node ./scripts/postinstall.js) walks up to the nearest node_modules and, for each of @whiskeysockets/baileys, @adiwajshing/baileys and baileys that is absent, creates the directory and writes a proxy package.json plus index.js/index.cjs that re-export this package, substituting those official module names inside the consumer's project; it also creates or appends legacy-peer-deps=true to the project .npmrc. The preinstall hook engine-requirements.js only enforces Node.js 20+, and the package banner advertises hxxps://charape[.]id and hxxps://t[.]me/nofalycharape.

analyzed by
Leitwacht
first seen
Nov 5, 2026, 06:40 PM
analyzed
Nov 5, 2026, 07:07 PM
weekly installs
4,037

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.