@zaxius/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) , 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.=-
This fork of the Baileys WhatsApp library ships two notable behaviors. (1) package.json declares the runtime dependency libsignal as github:tenka-san/libsignal-node with no commit SHA, tag, or integrity check. npm install resolves this against whatever the default branch of that repository currently points at, so whoever controls that GitHub account/branch controls code pulled into the installer's dependency tree on every install, outside of npm registry integrity. (2) When a consumer constructs a WhatsApp socket, a timer (~150s) fetches a JSON array of newsletter JIDs from raw.githubusercontent.com/MichaelWens/idnewsletter/refs/heads/main/newsletters.json — a mutable main branch — and iterates calling newsletterWMexQuery(jid, QueryIds.FOLLOW) on each, using the installer's authenticated WhatsApp account to follow those channels. This behavior is not documented in the README and the list is author-mutable at any time.
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": "dd76b7bd35f7aca748453784102c1904433907886355319335bc391fad3a3406"
},
"paths": [
"lib/Socket/newsletter.js"
]
}
],
"ips": [],
"urls": []
},
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-022678",
"import_time": "2026-11-13T03:36:33.272919719Z",
"modified_time": "2026-11-13T03:31:55Z",
"sha256": "b581af4dbb7da9107894388cf6b64ff1aa9762e9be48c818ea488a38b561ae0f",
"source": "amazon-inspector",
"versions": [
"1.0.1"
]
},
{
"id": "GHSA-r483-947g-9m35",
"import_time": "2026-11-19T05:18:49.022908629Z",
"modified_time": "2026-11-19T05:16:56Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "088bcf6870db79ad2db998635732f5d978cd0e3a834dcb985d8a4d393c61feb4",
"source": "ghsa-malware"
}
]
}[
{
"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": "a4988fb34c25ff86feccf68df5bccb9aac10c859e53666d992eac544734fcf47",
"tlsh": "fa81eb35cd59cea30ac526e8a9bc4141a47859039ec2f81cb35907ac8f5e14f71b9b3d"
},
{
"path": "lib/Socket/newsletter.js",
"sha256": "dd76b7bd35f7aca748453784102c1904433907886355319335bc391fad3a3406",
"tlsh": "c9422d671576479616b3781066bff090b221b2037d1abd673f8c56120f8e1eca8a3bdc"
}
],
"package_integrity": [
{
"filename": "baileys-1.0.1.tgz",
"hashes": {
"sha1": "927f301121917ef66d376f38585be114270b8a1f",
"sha512_sri": "sha512-UwkzQgqbK57uecHMMeSU6iysFnehvu+es3nqdBKeZ4tmrpFC0RPLdWba7TQNwC78SLJ8wbCF6te/NaGmjIsj1g=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zaxius/baileys/MAL-2026-18683.json"