alip-baileys@1.0.3
Malicious code in alip-baileys (npm)
Analysis
alip-baileys is a republished fork of the Baileys WhatsApp library that silently subscribes the user's WhatsApp account to remote-controlled channels. In lib/Socket/newsletter.js, makeNewsletterSocket() fires an async routine as soon as the newsletter socket is created: it fetches a JSON array of newsletter IDs from hxxps://raw.githubusercontent[.]com/kaidoalip/idch/refs/heads/main/idchku[.]json and, after a hardcoded 90-second delay, issues a WhatsApp newsletter FOLLOW query for every ID in that list. Whoever controls that file can therefore force any installation to follow arbitrary channels as the logged-in user; the list and the behaviour are not exposed as user configuration. The package's preinstall hook, engine-requirements.js, only exits when the Node major version is below 20. package.json also pins cache-manager to exactly 4.0.1 and depends on @cacheable/node-cache ^1.4.0, which are pulled into the installing project.
- analyzed by
- Leitwacht
- first seen
- Nov 9, 2026, 11:57 PM
- analyzed
- Nov 9, 2026, 11:58 PM
Related advisories
- beaver-ui-side-navigation@35.7.1
- devplatform-spa-plugin-location@35.9.2
- pocbitbarrontest@1.0.0
- shadowx-baileys@7.0.0-rc13-shadowx.2
- @ubedsockets/baileys@1.7.9
- hydration-ui-dlx@1.0.0
- hydration-vli-ui@1.0.0
- hydration-cls-ui@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.