{ "schema_version": "1.7.4", "id": "MAL-2026-18600", "published": "2026-11-13T03:31:14Z", "modified": "2026-11-16T18:22:54.153764575Z", "aliases": [ "GHSA-c2qr-82xm-x8m4" ], "summary": "Malicious code in @ubedsockets/baileys (npm)", "details": "Malicious package. `@ubedsockets/baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). On connection it issues an authenticated `w:mex` newsletter FOLLOW mutation (query_id 7871414976211147) that silently subscribes every victim to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363410154606795@newsletter, 120363423295236859@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious. Detected by wormsign static analysis of the injected channel-subscription code.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3f2be0d76cf2f992588fc8c354387b055942990224579ba9b8c66aa5ce725ed2)\nThis fork of the Baileys WhatsApp library declares `dependencies.libsignal` as `github:rexxzyid/libsignal-node` with no commit SHA, tag, or version constraint. `npm install` resolves this reference to whatever the mutable branch currently points at and executes any lifecycle scripts in that tree, so whoever controls the `rexxzyid/libsignal-node` repository controls code that runs on every installer, with no integrity check and no review path. The package also contains an IP-locked kill switch in the main `makeWASocket` factory: a top-level `verifyIP()` call queries `api.ipify.org` and invokes `process.exit(1)` unless the installer's public IP matches one of two hardcoded values (`20.207.192.84`, `173.212.202.60`), terminating the host process for all other users on socket initialization. The combination — an off-registry mutable dependency source as the main crypto component and a hostile denial-of-use primitive wired into the exported entry point — is incompatible with a trustworthy library release.\n\n## Source: ghsa-malware (8275f8031fa3107581c434b95b2cd539d5d19b6f72a4deeefcc45c111088e7ea)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n", "affected": [ { "package": { "name": "@ubedsockets/baileys", "ecosystem": "npm", "purl": "pkg:npm/%40ubedsockets%2Fbaileys" }, "ranges": [ { "type": "SEMVER", "events": [ { "introduced": "0" } ] } ], "versions": [ "1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "1.6.1", "1.6.2", "1.6.3", "1.6.4", "1.6.5", "1.6.6", "1.6.7", "1.6.8", "1.6.9", "1.7.0", "1.7.1", "1.7.10", "1.7.11", "1.7.12", "1.7.2", "1.7.3", "1.7.5", "1.7.6", "1.7.7", "1.7.9" ], "database_specific": { "cwes": [ { "cweId": "CWE-506", "description": "The product contains code that appears to be malicious in nature.", "name": "Embedded Malicious Code" }, { "cweId": "CWE-506", "description": "The product contains code that appears to be malicious in nature.", "name": "Embedded Malicious Code" }, { "cweId": "CWE-506", "description": "The product contains code that appears to be malicious in nature.", "name": "Embedded Malicious Code" }, { "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": "302a9434f15e8af33afc2fa623c2a14cf72e705eb14264194bc66eb529ab9d38", "tlsh": "6a51cd21cc28de6304d626e9b87a411260384e538d90fc2c37a9475d8f5e36f327af2e" } ], "package_integrity": [ { "filename": "baileys-1.7.12.tgz", "hashes": { "sha1": "efc8c1fe53a2d8fec57bb6847e3c7960e0a9860c", "sha512_sri": "sha512-Q2R3viB5CjRAjYMpwuZGYRGnT/oTpRsTF0ffTCaJJQ3v07lDsHoGbsHnaGWRqbU1GlpRCirTv+e6+Z73gnEA4w==" } } ] } } } ], "references": [ { "type": "WEB", "url": "https://wormsign.io/portfolio/@ubedsockets/baileys/" }, { "type": "PACKAGE", "url": "https://www.npmjs.com/package/@ubedsockets/baileys/v/1.7.12" }, { "type": "PACKAGE", "url": "https://www.npmjs.com/package/@ubedsockets/baileys/v/1.7.9" }, { "type": "PACKAGE", "url": "https://www.npmjs.com/package/@ubedsockets/baileys/v/1.7.10" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-c2qr-82xm-x8m4" } ], "database_specific": { "iocs": {}, "malicious-packages-origins": [ { "id": "IN-MAL-2026-022673", "import_time": "2026-11-13T03:36:32.873677538Z", "modified_time": "2026-11-13T03:31:21Z", "sha256": "3d433963b13392d3d8c9c667f0a7d405623b85fef9a0f15b432e7efafc6b2aaf", "source": "amazon-inspector", "versions": [ "1.7.12" ] }, { "id": "IN-MAL-2026-022685", "import_time": "2026-11-13T03:36:33.87339374Z", "modified_time": "2026-11-13T03:32:46Z", "sha256": "3f2be0d76cf2f992588fc8c354387b055942990224579ba9b8c66aa5ce725ed2", "source": "amazon-inspector", "versions": [ "1.7.9" ] }, { "id": "IN-MAL-2026-022672", "import_time": "2026-11-13T03:36:32.789633191Z", "modified_time": "2026-11-13T03:31:14Z", "sha256": "6751ae4a14c4058e95177f1a6a47ee72df57e58786800b20c83cdd6a931cf264", "source": "amazon-inspector", "versions": [ "1.7.10" ] }, { "id": "GHSA-c2qr-82xm-x8m4", "import_time": "2026-11-16T18:21:27.170990424Z", "modified_time": "2026-11-16T18:15:22Z", "ranges": [ { "events": [ { "introduced": "0" } ], "type": "SEMVER" } ], "sha256": "8275f8031fa3107581c434b95b2cd539d5d19b6f72a4deeefcc45c111088e7ea", "source": "ghsa-malware" } ] }, "credits": [ { "name": "Amazon Inspector", "contact": [ "inspector-research@amazon.com" ], "type": "FINDER" }, { "name": "wormsign", "contact": [ "https://x.com/w0rmsign" ], "type": "FINDER" } ] }