MAL-2026-18822

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@dinzid/bailstao/MAL-2026-18822.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18822
Published
2026-10-27T00:00:00Z
Modified
2026-11-09T23:15:20Z
Summary
Malicious code in @dinzid/bailstao (npm)
Details

@dinzid/bailstao is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363186130999681@newsletter, 120363303656790201@newsletter, 120363315657907625@newsletter, 120363388739599619@newsletter, 120363403108262988@newsletter, 120363404743164316@newsletter and 14 more (some stored as base64 strings), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).

Database specific
{
    "iocs": {
        "domains": [],
        "files": [
            {
                "digests": {
                    "sha256": "c4e1826490a0205d508c0af05726a862d7c3b8c03e803be9db37bf3af35a4cba"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            }
        ],
        "ips": [],
        "urls": []
    }
}
References
Credits

Affected packages

npm / @dinzid/bailstao

Package

Name
@dinzid/bailstao
View open source insights on deps.dev
Purl
pkg:npm/%40dinzid/bailstao

Affected ranges

Affected versions

0.*
0.0.7
0.0.8

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@dinzid/bailstao/MAL-2026-18822.json"