MAL-2026-20818

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

A fork of the Baileys WhatsApp library whose default configuration (lib/Defaults/index.js, autoFollowChannels: ['120363408893263957@newsletter']) makes the installer's logged-in WhatsApp account follow that channel on every connection (lib/Socket/newsletter.js, the FOLLOW query, errors swallowed). The code comment and the type file state that the default is empty. The channel is the one recorded for @elfhkry666/baileys in MAL-2026-18825.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "32544c0dee1d631d2f20247bcae1b544c6c0811602d90736effcfa70ae99547b"
                },
                "note":  "lib/Defaults/index.js of version 2.0.0",
                "paths":  [
                    "lib/Defaults/index.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "34cdc700f9248b48dd521e64f9fdf3dc05555546e23a01c2c656368f71459c53"
                },
                "note":  "lib/Socket/newsletter.js of version 2.0.0",
                "paths":  [
                    "lib/Socket/newsletter.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ]
    }
}
Credits

Affected packages

npm / alwaysrizz

Package

Affected ranges

Affected versions

2.*
2.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/alwaysrizz/MAL-2026-20818.json"