mal-2026-17326
Vulnerability from ossf_malicious_packages
makeWASocket() in lib/Socket/index.js makes the user's WhatsApp account follow the hardcoded channel 120363427099186895@newsletter whenever a connection opens, with no option to disable it.
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (ed77130bf7a34aa77306ff8a654c0d51e2c2b68153849d89c100d13430322f88)
This fork of the Baileys WhatsApp library adds an undocumented behavior to its makeWASocket wrapper: on every connection.update event where the connection reaches 'open', it calls sock.newsletterFollow on a hardcoded newsletter JID (120363427099186895@newsletter), subscribing the installer's authenticated WhatsApp account to an author-controlled newsletter with no disclosure and no opt-out. The action fires under the installer's WhatsApp identity as a side effect of using the library's core socket API. Upstream Baileys does not perform this action. No credential theft, environment scraping, remote code execution, filesystem persistence, or data exfiltration is present; the ping/GET pattern flagged in lib/Utils/generics.js is a benign latency/keepalive helper. The observed harm is covert reach-padding under the installer's identity rather than material compromise of the installer's data or host.
Source: ghsa-malware (5dd9996269bfb2b5ea9c5310fed819139eaf2b663e740fc8be34052da1128e4e)
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.
{
"affected": [
{
"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"
}
],
"indicators": {
"evidence_files": [
{
"path": "lib/Socket/index.js",
"sha256": "4c05d85abdf76d1b7a0644a87264309e8db7756abf907eeea1dcd5660d23e014",
"tlsh": "0c119c5f9af7857109e3a895085f60e7b521a913b247e969731d4356cf8308888857ce"
}
],
"package_integrity": [
{
"filename": "baileys-7.0.0-zeronex.8.tgz",
"hashes": {
"sha1": "09f1935b988b8e1a9853cd6e8bee70581cc1068b",
"sha512_sri": "sha512-6oWQhKpv5Nijb8BoyfmaUr44CrStvgup6o6vvIQRv4P1yEHcx49rDqUtxGlh3hvFDJFlhsA605IW0AkllnkdSQ=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@zeronexcode/baileys"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"7.0.0-zeronex.8"
]
}
],
"aliases": [
"GHSA-cghr-f3w3-qh2h"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"name": "OX Security",
"type": "FINDER"
},
{
"contact": [
"smilinghyena4@gmail.com"
],
"name": "smiling-hyena",
"type": "FINDER"
}
],
"database_specific": {
"iocs": {
"files": [
{
"digests": {
"sha256": "4c05d85abdf76d1b7a0644a87264309e8db7756abf907eeea1dcd5660d23e014"
},
"note": "Auto-follows channel 120363427099186895@newsletter on connect.",
"paths": [
"package/lib/Socket/index.js"
],
"source": "PACKAGE_ARCHIVE"
}
]
},
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021454",
"import_time": "2026-10-11T17:15:52.084272925Z",
"modified_time": "2026-10-11T16:54:22Z",
"sha256": "ed77130bf7a34aa77306ff8a654c0d51e2c2b68153849d89c100d13430322f88",
"source": "amazon-inspector",
"versions": [
"7.0.0-zeronex.8"
]
},
{
"id": "GHSA-cghr-f3w3-qh2h",
"import_time": "2026-10-12T17:27:28.141243013Z",
"modified_time": "2026-10-12T16:41:46Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "5dd9996269bfb2b5ea9c5310fed819139eaf2b663e740fc8be34052da1128e4e",
"source": "ghsa-malware"
}
]
},
"details": "makeWASocket() in lib/Socket/index.js makes the user\u0027s WhatsApp account follow the hardcoded channel 120363427099186895@newsletter whenever a connection opens, with no option to disable it.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ed77130bf7a34aa77306ff8a654c0d51e2c2b68153849d89c100d13430322f88)\nThis fork of the Baileys WhatsApp library adds an undocumented behavior to its makeWASocket wrapper: on every connection.update event where the connection reaches \u0027open\u0027, it calls sock.newsletterFollow on a hardcoded newsletter JID (120363427099186895@newsletter), subscribing the installer\u0027s authenticated WhatsApp account to an author-controlled newsletter with no disclosure and no opt-out. The action fires under the installer\u0027s WhatsApp identity as a side effect of using the library\u0027s core socket API. Upstream Baileys does not perform this action. No credential theft, environment scraping, remote code execution, filesystem persistence, or data exfiltration is present; the ping/GET pattern flagged in lib/Utils/generics.js is a benign latency/keepalive helper. The observed harm is covert reach-padding under the installer\u0027s identity rather than material compromise of the installer\u0027s data or host.\n\n## Source: ghsa-malware (5dd9996269bfb2b5ea9c5310fed819139eaf2b663e740fc8be34052da1128e4e)\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",
"id": "MAL-2026-17326",
"modified": "2026-10-12T17:29:15.451794304Z",
"published": "2026-09-25T15:37:42Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@zeronexcode/baileys/v/7.0.0-zeronex.8"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-cghr-f3w3-qh2h"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @zeronexcode/baileys (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.