MAL-2026-20292

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@kingorwot/my-baileys/MAL-2026-20292.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20292
Published
2026-11-20T04:55:06Z
Modified
2026-11-20T05:15:04Z
Summary
Malicious code in @kingorwot/my-baileys (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (e1139544c4c6b9006f15627d80ecbecd930289cdd1532307bc9777e8f32490e3)

This Baileys fork declares a production dependency whatsapp-rust-bridge-baron sourced from git+https://github.com/7ucg/whatsapp-rust-bridge.git with no commit SHA or tag pin. npm install resolves this to whatever HEAD of that third-party repo contains at install time, including any lifecycle scripts inside it, and the repo owner (7ucg) is not the publisher of this package. In addition, the ESM entry (lib/index.js) schedules a 120-second-delayed task on socket creation that fetches a channel-ID list from https://raw.githubusercontent.com/DGXeon13/strings/refs/heads/main/strings.json and issues WhatsApp newsletter FOLLOW mutations for each ID using the installer's authenticated session, with errors swallowed and no README disclosure. The JSON file is under the author's personal GitHub account and mutable at any time, allowing the author to retarget the installer's account to follow arbitrary channels. The CJS main (lib/index.cjs) does not contain the auto-follow path.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022950",
            "import_time": "2026-11-20T05:12:18.046409069Z",
            "modified_time": "2026-11-20T04:55:06Z",
            "sha256": "e1139544c4c6b9006f15627d80ecbecd930289cdd1532307bc9777e8f32490e3",
            "source": "amazon-inspector",
            "versions": [
                "2.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @kingorwot/my-baileys

Package

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

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "3a32eaa12a71134bb148931058632f290bdbd3456c1e7ac8525ab835f71246cb",
            "tlsh": "5a317921c5689db301ca76a868ae6003a6710d479c95fc2c339d439c8f5d19f327e6bd"
        },
        {
            "path": "lib/Socket/newsletter.js",
            "sha256": "d9c0739d08afca605fe1d63bbf71f35fec1d1c8a5842a2f9af780d1239e8cd2e",
            "tlsh": "aae1f15a59b687a106b37468542fb0d1f22561433e2aac47ffcc91610f0a29ce9f37c8"
        }
    ],
    "package_integrity": [
        {
            "filename": "my-baileys-2.0.0.tgz",
            "hashes": {
                "sha1": "64c632cb419ec59bcaf8807fce3062f9a6619300",
                "sha512_sri": "sha512-zEo90XXSkAKPgE68Nf0XR3CdIQxsePjwPfceiBVZ/aywz3nvWcJYLbhk6GgL3XcWIsjVF0OgAeo5jkiqZFVEjg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@kingorwot/my-baileys/MAL-2026-20292.json"