MAL-2026-18693

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ruby-baileys/MAL-2026-18693.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18693
Published
2026-10-26T00:00:00Z
Modified
2026-11-05T05:15:05Z
Summary
Malicious code in ruby-baileys (npm)
Details

ruby-baileys 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 src/Socket/index.js sends the WhatsApp w:mex FOLLOW query for channel invite codes 0029VbDO8tI2phHLTSN2ed0U, 0029VbDXYlKDJ6H1D7Dm0f13, 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": "40ed81a8d29803b6a1f027a2014c2c421ad3e538d30ea0d57c876978831fe622"
                },
                "paths": [
                    "src/Socket/index.js"
                ]
            }
        ],
        "ips": [],
        "urls": [
            "https://whatsapp.com/channel/0029VbDO8tI2phHLTSN2ed0U",
            "https://whatsapp.com/channel/0029VbDXYlKDJ6H1D7Dm0f13"
        ]
    }
}
References
Credits

Affected packages

npm / ruby-baileys

Package

Affected ranges

Affected versions

1.*
1.5.17
1.5.18

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/ruby-baileys/MAL-2026-18693.json"