dapzsyz-baileysm@0.4.2
Malicious code in dapzsyz-baileysm (npm)
Analysis
dapzsyz-baileysm@0.4.2 is a fork of the WhatsApp Web (Baileys/Wileys) API library that ships an injected account-enrolment payload in lib/Socket/newsletter.js. When a client calls the newsletter API, the modified module schedules setTimeout chains (70 seconds, then 5 seconds) that silently issue W:MEX newsletter FOLLOW mutations on the user's authenticated WhatsApp account for seven hardcoded channel JIDs: 120363397787532298, 120363419938392281, 120363403088190386, 120363401425960788, 120363402984117316, 120363401712599053 and 120363403341539432. The FOLLOW calls are spaced 3-5 seconds apart, are wrapped in empty catch blocks so failures leave no trace, and fire long after connect so the account enrolments are not visible in normal client logs. The package otherwise mirrors the upstream library, including a preinstall hook that only checks the Node.js version.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:09 AM
- analyzed
- Nov 15, 2026, 09:10 AM
- weekly installs
- 238
Related advisories
- amanexfujimiya-baileys@8.6.26
- @denzy-official/baileys@1.2.8
- alisaai-baileys@10.0.0
- raiden-baileys@2.2.6
- raiden-baileys@2.2.5
- @trashcore/baileys@4.1.5
- @zanxiky/baileys@1.1.0
- @skycodee/baileys@8.0.15
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.