MAL-2026-21127

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@krispedia/baileys/MAL-2026-21127.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21127
Published
2026-12-03T04:39:30Z
Modified
2026-12-04T04:45:04Z
Summary
Malicious code in @krispedia/baileys (npm)
Details

@krispedia/baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that subscribes the user's WhatsApp account to a channel chosen by its author. When an application that imports it creates a socket, makeNewsletterSocket in lib/Socket/newsletter.js starts a 120-second setTimeout that sends a newsletter FOLLOW query for the hardcoded 120363407277177688@newsletter on the user's authenticated session, ignoring errors. There is no option to turn it off, and the README does not mention it. The same channel ID is followed by earlier Baileys forks already reported, such as raiden-baileys and @kazehayadev1/raidenx-baileys.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "10e94f54201bdedee0c520757880de161c85690a43205db0ced02a4e39e74b2b"
                },
                "note":  "6.7.23-6.7.24: follows 120363407277177688@newsletter 120 s after socket creation, no opt-out.",
                "paths":  [
                    "lib/Socket/newsletter.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ]
    }
}
Credits

Affected packages

npm / @krispedia/baileys

Package

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

Affected ranges

Affected versions

6.*
6.7.23
6.7.24

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