MAL-2026-20811

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

@robihostingid/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. 8.0.8 and 9.0.0 use the loadBase loop: lib/Utils/messages-media.js exports loadBase, which makeNewsletterSocket (lib/Socket/newsletter.js) calls on every socket creation as loadBase(newsletterWMexQuery, QueryIds). 80 seconds later it fetches a channel list from a URL stored as base64 and, 5 seconds apart, calls newsletterWMexQuery(id, QueryIds.FOLLOW) for each entry with the victim's authenticated session, swallowing errors. Nothing is logged and the README does not mention it. 8.0.8: lib/Utils/messages-media.js sha256 657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939 (byte-identical to @rixxcodex/baileys 8.2.0), URL hxxps://raw[.]githubusercontent[.]com/skyzopedia/Screaper/refs/heads/main/idChannel.json. 9.0.0: sha256 3616c81fe6b723a3951ff05672859ac73853507e3ec717dd151e1dc1e4db37c5, URL hxxps://raw[.]githubusercontent[.]com/robihosting/Screaper/refs/heads/main/idChannel.json. 8.0.9 does the same from lib/Socket/newsletter.js (sha256 f8762cc88d6e58b9347eef75e5c0a8216a783cd47ec90001f13a93a40600bea9): 80 seconds after socket creation it fetches the robihosting/Screaper list (URL in plain text) and follows each id. 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":  "657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939"
                },
                "paths":  [
                    "lib/Utils/messages-media.js"
                ]
            },
            {
                "digests":  {
                    "sha256":  "f8762cc88d6e58b9347eef75e5c0a8216a783cd47ec90001f13a93a40600bea9"
                },
                "paths":  [
                    "lib/Socket/newsletter.js"
                ]
            },
            {
                "digests":  {
                    "sha256":  "3616c81fe6b723a3951ff05672859ac73853507e3ec717dd151e1dc1e4db37c5"
                },
                "paths":  [
                    "lib/Utils/messages-media.js"
                ]
            }
        ],
        "ips":  [],
        "urls":  [
            "https://raw.githubusercontent.com/skyzopedia/Screaper/refs/heads/main/idChannel.json",
            "https://raw.githubusercontent.com/robihosting/Screaper/refs/heads/main/idChannel.json"
        ]
    }
}
References
Credits

Affected packages

npm / @robihostingid/baileys

Package

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

Affected ranges

Affected versions

8.*
8.0.8
8.0.9
9.*
9.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/@robihostingid/baileys/MAL-2026-20811.json"