MAL-2026-20819

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cantarelas/MAL-2026-20819.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20819
Published
2026-11-27T18:00:00Z
Modified
2026-12-01T09:45:15Z
Summary
Malicious code in cantarelas (npm)
Details

A fork of the Baileys WhatsApp library whose default configuration (lib/Defaults/index.js, DEFAULT_AUTOJOIN_CHANNELS: 120363186130999681, 120363414017624228 and 120363431327871150) makes the installer's logged-in WhatsApp account follow each channel when the connection opens and then mute it (lib/Socket/newsletter.js, the FOLLOW query then the MUTE query, with retries), so the follow does not show to the user. It runs unless autoJoinChannels is set to false.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "18ee8f6482711bb044ff332e9d5f61cd3477ab98dd9060c980ce14b35f304fb4"
                },
                "note":  "lib/Defaults/index.js of version 1.2.1",
                "paths":  [
                    "lib/Defaults/index.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "f28cf2177dc0b70dbd32e7d041361f2d06c20ac6b7f922e7d02de8dac1eea7dd"
                },
                "note":  "lib/Socket/newsletter.js of version 1.2.1",
                "paths":  [
                    "lib/Socket/newsletter.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ]
    }
}
Credits

Affected packages

npm / cantarelas

Package

Affected ranges

Affected versions

1.*
1.2.1

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/cantarelas/MAL-2026-20819.json"