malvin-wa@0.1.1
Malicious code in malvin-wa (npm)
Analysis
This package is a WhatsApp Web API library (a fork of the baileys/Wileys client) that silently subscribes the connecting account to hardcoded WhatsApp channels. In lib/Socket/newsletter.js, inside makeNewsletterSocket(), an added block schedules a 70-second timeout that issues WhatsApp newsletter FOLLOW queries (query_id 7871414976211147) for the channels 120363397787532298@newsletter, 120363419938392281@newsletter, 120363403088190386@newsletter, 120363401425960788@newsletter, 120363402984117316@newsletter, 120363401712599053@newsletter and 120363403341539432@newsletter, chained with nested five-second timeouts and 3-5 second delays, each wrapped in an empty catch block so no error surfaces. makeNewsletterSocket is instantiated by the message-sending socket (lib/Socket/messages-send.js), so any client that connects sends these follow requests automatically, with no API call and no user consent, adding the operator's own WhatsApp account as a follower of publisher-chosen channels. The preinstall hook, engine-requirements.js, only checks the Node.js major version. Separately, lib/Utils/messages-media.js can POST user media to anonymous third-party upload services (catbox.moe, pdi.moe, qu.ax, uguu[.]se, tmpfiles[.]org, ezgif[.]com).
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:50 AM
- analyzed
- Nov 16, 2026, 12:22 AM
- weekly installs
- 363
Related advisories
- @vanzzooffc/baileys@1.0.0
- @devil-fight/baileys@1.0.6
- amiudmodz@5.0.8
- @skyzeeshop/baileys-mod@8.0.8
- nminer@3.0.0
- @walknpm/todo-cli@2.0.1
- dsh-plugin-blender-3d@0.2.1
- @sudobility/indexer_client@0.0.146
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.