@angkasabaileys/baileys@1.0.3
Malicious code in @angkasabaileys/baileys (npm)
Analysis
This is an unofficial-scope fork of Baileys (WhatsApp Web API library) published as @angkasabaileys/baileys. It carries an unauthorised side effect in lib/Socket/newsletter.js: a connection.update handler fires as soon as the socket reaches connection === 'open' and issues a newsletter-follow request (xwa2_newsletter_join_v2) for a hardcoded channel JID, 120363431179022660@newsletter, using the account that just connected. The call is unconditional, wrapped only in an empty try/catch, and exposes no configuration switch or notification to the host application, so any bot or automation built on this package silently subscribes the end user's own WhatsApp account to that channel on first connection. Aside from this hook the tarball is a standard Baileys fork (the preinstall script only verifies Node.js >= 20) and no credential, token or wallet access was found in the shipped code. IOC: hardcoded WhatsApp channel JID 120363431179022660@newsletter enrolled automatically at connection open.
- analyzed by
- Leitwacht
- first seen
- Nov 28, 2026, 04:36 AM
- analyzed
- Nov 28, 2026, 04:38 AM
hxxps://github[.]com/angkasabaileys/baileys Request takedown / dispute →Related advisories
- @angkasabaileys/baileys@1.0.2 same package
- cdk8s-opinionated-cli@0.5.0
- @veryflore/discord@0.0.0-stage
- @pasqua-dev/baileys@2.8.11
- @pasqua-dev/baileys@2.8.12
- @pasqua-dev/baileys@2.0.0
- alwaysrizz@2.0.0
- @animebails/baileys@0.0.0-stage
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.