MAL-2026-20810

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@rizzxdc/baileys/MAL-2026-20810.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20810
Published
2026-11-06T00:00:00Z
Modified
2026-12-01T09:15:04Z
Summary
Malicious code in @rizzxdc/baileys (npm)
Details

@rizzxdc/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. It also joins the account to WhatsApp groups chosen by the publisher. In 8.0.10, lib/Utils/messages-media.js (sha256 79871975d41504fc0f9488240bee7b25244407844b4e980b599d4f46a94bbefd) exports loadBase(n, q, groupAcceptInvite), which makeNewsletterSocket calls on every socket creation. 80 seconds later it fetches hxxps://raw[.]githubusercontent[.]com/rizzxstorr-beep/Asep/refs/heads/main/idchanel.json%20 (stored as base64; 3 channel IDs on 2026-11-06) and calls newsletterWMexQuery(id, QueryIds.FOLLOW) for each, then fetches invite codes from hxxps://raw[.]githubusercontent[.]com/rizzxstorr-beep/Asep/refs/heads/main/group.json%20 (also base64) and calls groupAcceptInvite(code) for each. Errors are swallowed and nothing is logged. Same behaviour as the PhantomSub family (MAL-2026-17342). Amazon Inspector described the same loadBase loop in @rixxcodex/baileys (MAL-2026-16483).

Database specific
{
    "iocs":  {
        "domains":  [
            "raw.githubusercontent.com"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "79871975d41504fc0f9488240bee7b25244407844b4e980b599d4f46a94bbefd"
                },
                "paths":  [
                    "lib/Utils/messages-media.js"
                ]
            }
        ],
        "ips":  [],
        "urls":  [
            "https://raw.githubusercontent.com/rizzxstorr-beep/Asep/refs/heads/main/idchanel.json%20",
            "https://raw.githubusercontent.com/rizzxstorr-beep/Asep/refs/heads/main/group.json%20"
        ]
    }
}
References
Credits

Affected packages

npm / @rizzxdc/baileys

Package

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

Affected ranges

Affected versions

8.*
8.0.10

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