MAL-2026-19946

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

@xzvbailss/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. makeNewsletterSocket in lib/Socket/newsletter.js declares a hardcoded list of channel IDs (120363430764800148@newsletter) and a setTimeout that, 2.5 minutes after every socket creation, calls newsletterWMexQuery(id, QueryIds.FOLLOW) for each entry with the victim's authenticated session, 5 seconds apart, swallowing errors. Nothing is shown to the user. Version 6.0.0, published 2026-11-11T19:16Z, keeps the same channel but hides its ID as a base64 string (MTIwMzYzNDMwNzY0ODAwMTQ4QG5ld3NsZXR0ZXI=, decoded at load) and moves the trigger: on every connection.update with connection 'open' it waits 90 seconds and sends the same FOLLOW query, logging failures only at debug level. Same behaviour as the PhantomSub family (MAL-2026-17342). lib/Socket/luxu.js (sha256 cd8e9549dbf382dc7dd32a9c1cd2eb98c8db2bd5a97a0df9a77e4062429053e3) is byte-identical to the file of the same name in @poucode/baileys (MAL-2026-18873) and contains the literal string "POUCODE", so the two forks share a toolkit. The package.json repository field is a Telegram link (https://t.me/JustRxVz), not a source repository. The same publisher's unscoped xzvbailss is MAL-2026-18702.

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

Affected packages

npm / @xzvbailss/baileys

Package

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

Affected ranges

Affected versions

1.*
1.0.0
5.*
5.0.0
6.*
6.0.0

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/@xzvbailss/baileys/MAL-2026-19946.json"