MAL-2026-20678

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@angkasabaileys/baileys/MAL-2026-20678.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20678
Published
2026-11-17T06:05:00Z
Modified
2026-11-27T01:15:04Z
Summary
Malicious code in @angkasabaileys/baileys (npm)
Details

Malicious package. @angkasabaileys/baileys is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). makeNewsletterSocket in lib/Socket/newsletter.js registers a connection.update handler that, every time the socket connection opens, issues a newsletter FOLLOW for the hardcoded channel 120363431179022660@newsletter from the victim's account, silently swallowing any error. There is no option to disable it, and the README states the opposite ("No auto-follow channel (newsletter) behavior"). Legitimate Baileys never hardcodes a channel or auto-follows one. Version 1.0.1 (published 2026-11-17) carries this code.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "273fda3da12c111a79baea87592357f2cbd4392f271253435dc908a42dabfa1f"
                },
                "paths":  [
                    "lib/Socket/newsletter.js"
                ]
            }
        ]
    }
}
Credits

Affected packages

npm / @angkasabaileys/baileys

Package

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

Affected ranges

Affected versions

1.*
1.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@angkasabaileys/baileys/MAL-2026-20678.json"