MAL-2026-20808

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@lyyncode/lyyn-bail/MAL-2026-20808.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20808
Published
2026-11-06T00:00:00Z
Modified
2026-12-01T09:15:04Z
Summary
Malicious code in @lyyncode/lyyn-bail (npm)
Details

@lyyncode/lyyn-bail is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. lib/Utils/messages-media.js exports loadBase, which makeNewsletterSocket (lib/Socket/newsletter.js) calls on every socket creation as loadBase(newsletterWMexQuery, QueryIds). 80 seconds later it fetches a channel list from a URL stored as base64 and, 5 seconds apart, calls newsletterWMexQuery(id, QueryIds.FOLLOW) for each entry with the victim's authenticated session, swallowing errors. Nothing is logged and the README does not mention it. 8.0.8 to 9.0.4: lib/Utils/messages-media.js sha256 657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939 (byte-identical to @rixxcodex/baileys 8.2.0), URL hxxps://raw[.]githubusercontent[.]com/skyzopedia/Screaper/refs/heads/main/idChannel.json (23 channel IDs on 2026-11-06). 9.0.5: sha256 810d8f9f6b369ba64a3760beea0c0ccfd449399da2d8aedb458d7ce168394963, URL hxxps://ch-lyyncode[.]vercel[.]app/lyyn. 9.0.6 to 9.0.8: sha256 20563d8117ea37b0df09bc579be38b153000c881022e62536b30b081a41712a4, URL hxxps://ch-rho[.]vercel[.]app/lyyn (1 channel ID on 2026-11-06). Same behaviour as the PhantomSub family (MAL-2026-17342). Amazon Inspector described the same loadBase loop in @rixxcodex/baileys (MAL-2026-16483).

Database specific
{
    "iocs":  {
        "domains":  [
            "ch-lyyncode.vercel.app",
            "ch-rho.vercel.app",
            "raw.githubusercontent.com"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939"
                },
                "paths":  [
                    "lib/Utils/messages-media.js"
                ]
            },
            {
                "digests":  {
                    "sha256":  "810d8f9f6b369ba64a3760beea0c0ccfd449399da2d8aedb458d7ce168394963"
                },
                "paths":  [
                    "lib/Utils/messages-media.js"
                ]
            },
            {
                "digests":  {
                    "sha256":  "20563d8117ea37b0df09bc579be38b153000c881022e62536b30b081a41712a4"
                },
                "paths":  [
                    "lib/Utils/messages-media.js"
                ]
            }
        ],
        "ips":  [],
        "urls":  [
            "https://raw.githubusercontent.com/skyzopedia/Screaper/refs/heads/main/idChannel.json",
            "https://ch-lyyncode.vercel.app/lyyn",
            "https://ch-rho.vercel.app/lyyn"
        ]
    }
}
References
Credits

Affected packages

npm / @lyyncode/lyyn-bail

Package

Name
@lyyncode/lyyn-bail
View open source insights on deps.dev
Purl
pkg:npm/%40lyyncode/lyyn-bail

Affected ranges

Affected versions

8.*
8.0.8
8.0.9
9.*
9.0.0
9.0.1
9.0.2
9.0.3
9.0.4
9.0.5
9.0.6
9.0.7
9.0.8

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/@lyyncode/lyyn-bail/MAL-2026-20808.json"