@zlynzee/baileys@1.0.6
Malicious code in @zlynzee/baileys (npm)
Analysis
@zlynzee/baileys is a republished copy of the Baileys WhatsApp Web library under an unofficial scope, with an injected auto-follow hook in lib/Socket/index.js. The module hardcodes two WhatsApp channel JIDs, 120363186130999681@newsletter and 120363420619530273@newsletter, and registers a connection.update listener that on every successful connection open calls the library's newsletterFollow() for each one, silently subscribing the user's WhatsApp account to those channels and discarding any error. The package otherwise ships the upstream library tree; its preinstall hook (engine-requirements.js) only checks for Node.js 20 or newer. The package contains no code that reads credentials, tokens, environment variables or files, and no network endpoints other than the WhatsApp connection and media fetches the library normally performs.
- analyzed by
- Leitwacht
- first seen
- Jul 20, 2026, 01:16 AM
- analyzed
- Nov 10, 2026, 12:37 AM
Related advisories
- @zlynzee/baileys@1.0.4 same package
- @zlynzee/baileys@1.0.5 same package
- @zlynzee/baileys@1.0.3 same package
- @skycodee/baileys@8.0.8
- @langitdeveloper/baileys@2.2.1
- @daffadevv/baileys@1.0.0
- @arkanhahaha/baileys@1.0.0
- @alzx7z/baileys@2.0.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.