MAL-2026-21037

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/aetheria-baileys/MAL-2026-21037.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21037
Published
2026-12-01T09:00:55Z
Modified
2026-12-03T08:30:05Z
Summary
Malicious code in aetheria-baileys (npm)
Details

aetheria-baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that subscribes the user's WhatsApp account to channels chosen by its author. When an application that imports it creates a socket with makeWASocket, lib/Socket/index.js registers a connection.update handler that, every time the connection opens, calls newsletterFollow on the user's authenticated session for each ID in a hardcoded AETHERIA_NEWSLETTER_JIDS list (120363415212796706@newsletter and 120363414877334847@newsletter, plus 120363408668270262@newsletter from 1.0.1), ignoring errors. There is no option to turn it off, and the README does not mention it.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "311faf1d1488787920ddbb29c5b739a70c349e414c1254d1451e6f75939e69b5"
                },
                "note":  "1.0.0: follows 2 hardcoded newsletter IDs on every connection open, no opt-out.",
                "paths":  [
                    "lib/Socket/index.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "68dea7a46904df6a64ec91df039900098a9711989a04c8c5ace383dab3634627"
                },
                "note":  "1.0.1-1.0.2: follows 3 hardcoded newsletter IDs on every connection open, no opt-out.",
                "paths":  [
                    "lib/Socket/index.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ]
    }
}
Credits

Affected packages

npm / aetheria-baileys

Package

Name
aetheria-baileys
View open source insights on deps.dev
Purl
pkg:npm/aetheria-baileys

Affected ranges

Affected versions

1.*
1.0.0
1.0.1
1.0.2

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/aetheria-baileys/MAL-2026-21037.json"