@yemo-dev/yebail@4.1.5
Malicious code in @yemo-dev/yebail (npm)
Analysis
This package is a WhatsApp Web API library (a rebranded Baileys fork) with concealed account-modifying behaviour. In lib/Socket/messages-recv.js, the connection-open handler starts a 90-second timer that rebuilds a WhatsApp newsletter (channel) identifier from hardcoded character-code arrays and calls newsletterFollow() on it, silently subscribing the account of whoever uses the library to the publisher's channel on every connect, with errors suppressed so the user is never told. The identifier is stored only as numeric arrays so it does not appear as readable text. No credential, token, wallet or file theft was observed; the preinstall hook only checks the Node.js version.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:40 AM
- analyzed
- Nov 17, 2026, 05:58 AM
- weekly installs
- 5,149
hxxps://github[.]com/yemo-dev/baileys Request takedown / dispute →Related advisories
- @yemo-dev/yebail@4.1.6 same package
- @yemo-dev/yebail@4.1.4 same package
- @yemo-dev/yebail@4.1.0 same package
- @yemo-dev/yebail@4.1.3 same package
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.