@trashcore/baileys 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. When the socket connects, code in lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363420249672073@newsletter, 120363424020283759@newsletter (stored as base64 strings), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).
-= Per source details. Do not edit below this line.=-
package.json declares the libsignal dependency as a bare git URL (git+https://github.com/whiskeysockets/libsignal-node) with no commit SHA, tag, or semver pin. On npm install, this dependency is resolved by cloning the default branch HEAD of that external GitHub repository and installing whatever code it currently contains, including any lifecycle scripts (preinstall/install/postinstall/prepare) present in the fetched tree. There is no integrity check, no version lock, and no cryptographic pinning — the executed code is determined by the state of a third-party repository at install time rather than by an immutable registry artifact. Whoever controls that external repository (or anyone who gains write access to its default branch) can introduce arbitrary code that will run on every machine that installs this package.
Any 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.
{
"iocs": {
"domains": [],
"files": [
{
"digests": {
"sha256": "0f7c4fdf4ae831dff101585d8fc12f8cc1a51806f7e2c4ebdc8d7bddbe27a66e"
},
"paths": [
"lib/Socket/newsletter.js"
]
},
{
"digests": {
"sha256": "da1d021bbc17420e4c1acb80ed405779207f2d4de6148d4f2ed33d69d02ee378"
},
"paths": [
"lib/Socket/newsletter.js"
]
}
],
"ips": [],
"urls": []
},
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-022681",
"import_time": "2026-11-13T03:36:33.535659372Z",
"modified_time": "2026-11-13T03:32:18Z",
"sha256": "a919be08281949ba451753ba82050503c28d30c8c6abcd931c023234db01d261",
"source": "amazon-inspector",
"versions": [
"4.2.3"
]
},
{
"id": "GHSA-646c-v3qw-f7f9",
"import_time": "2026-11-20T19:17:21.090532117Z",
"modified_time": "2026-11-20T19:17:06Z",
"sha256": "7d631105bedd23f0da718b0af717dd140f0876f94caa047f46acfc1b4764ddbb",
"source": "ghsa-malware",
"versions": [
"4.2.7",
"4.2.6",
"4.2.5",
"4.2.4",
"4.2.3",
"4.2.2",
"4.2.1",
"4.2.0",
"4.1.9",
"4.1.8",
"4.1.7",
"4.1.6",
"4.1.5",
"4.1.4",
"4.1.3",
"4.1.2",
"4.1.1",
"4.1.0",
"4.0.9",
"4.0.8",
"4.0.7",
"4.0.6",
"4.0.5",
"4.0.2",
"4.0.1",
"4.0.0"
]
}
]
}[
{
"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"
}
]
{
"evidence_files": [
{
"path": "package.json",
"sha256": "7d3b62c7b9011939206e0ffe8515e484f74a076e5d52ea3e2a62247e9f6f5dd6",
"tlsh": "ec61e025cc6cceb309c635e9a9aa4101617405539d91fc2c376c4b6c4f4e29f31b9b7e"
}
],
"package_integrity": [
{
"filename": "baileys-4.2.3.tgz",
"hashes": {
"sha1": "7c71b45f8c21487626ce4d12c34beaa60ae4cc9d",
"sha512_sri": "sha512-rXLFB9f//m2rkSfVWHt9LaGy+19z12axsyKR6aoQj/NwUP3G0gXXipMxVqfLJWuZtCvkP9tYRaZe8Mm23hdMZw=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@trashcore/baileys/MAL-2026-18905.json"