@dinzid/bailstao@0.0.8
Malicious code in @dinzid/bailstao (npm)
Analysis
This package is a modified fork of the Baileys WhatsApp library whose lib/Socket/newsletter.js silently manipulates the account's WhatsApp channel subscriptions. Two newsletter ids stored base64-encoded (120363388739599619@newsletter and 120363186130999681@newsletter) are auto-followed with a w:mex FOLLOW query 5 and 10 seconds after the socket is created, without any caller action. The same file starts a "startSecurityPatrol" loop every 10 seconds that reads the account's subscribed channels and unfollows any listed in a hardcoded 21-entry blacklist, removing subscriptions the user chose. The preinstall hook engine-requirements.js only prints a Node.js >= 20 banner; no credentials, environment variables or files are collected.
- analyzed by
- Leitwacht
- first seen
- Nov 15, 2026, 09:04 AM
- analyzed
- Nov 15, 2026, 09:05 AM
- weekly installs
- 434
Related advisories
- @dinzid/bailstao@0.0.7 same package
- @dinzid/bailstaov1@0.1.0
- raiden-baileys@2.2.4
- @kurtucoben/cstm-bail@1.0.0
- amanexfujimiya-baileys@8.6.25
- amanexfujimiya-baileys@8.6.26
- @devil-fight/baileys@1.0.5
- dct-dula-dev-baileys@1.0.3
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.