MAL-2026-18600 (GHSA-C2QR-82XM-X8M4)
Vulnerability from ossf_malicious_packages – Published: 2026-11-13 03:31 – Updated: 2026-11-16 18:22 – Source website| Ecosystem | Package | Versions |
|---|---|---|
| npm |
@ubedsockets/baileys
pkg:npm/%40ubedsockets%2Fbaileys
|
Affected: All versions (semver)
1.0.01.1.01.2.01.3.01.4.01.5.01.6.11.6.21.6.31.6.41.6.51.6.61.6.71.6.81.6.91.7.01.7.11.7.101.7.111.7.121.7.21.7.31.7.51.7.61.7.71.7.9
|
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.
This 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.
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.
No description from this source.
No description from this source.
| Type | Indicator | Hashes |
|---|---|---|
| Evidence file |
package.json
|
sha256
302a9434f15e8af33afc2fa623c2a14cf72e705eb14264194bc66eb529ab9d38tlsh
6a51cd21cc28de6304d626e9b87a411260384e538d90fc2c37a9475d8f5e36f327af2e |
| Package archive |
baileys-1.7.12.tgz
|
sha1
efc8c1fe53a2d8fec57bb6847e3c7960e0a9860csha512_sri
sha512-Q2R3viB5CjRAjYMpwuZGYRGnT/oTpRsTF0ffTCaJJQ3v07lDsHoGbsHnaGWRqbU1GlpRCirTv+e6+Z73gnEA4w== |
- CWE-506 - Embedded Malicious Code
{
"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"
},
{
"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=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@ubedsockets/baileys",
"purl": "pkg:npm/%40ubedsockets%2Fbaileys"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"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"
]
}
],
"aliases": [
"GHSA-c2qr-82xm-x8m4"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"contact": [
"https://x.com/w0rmsign"
],
"name": "wormsign",
"type": "FINDER"
}
],
"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"
}
]
},
"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 \u2014 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\u0027s 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 \u2014 an off-registry mutable dependency source as the main crypto component and a hostile denial-of-use primitive wired into the exported entry point \u2014 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",
"id": "MAL-2026-18600",
"modified": "2026-11-16T18:22:54.153764575Z",
"published": "2026-11-13T03:31:14Z",
"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"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @ubedsockets/baileys (npm)"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
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.