MAL-2026-20311
Vulnerability from ossf_malicious_packages – Published: 2026-11-20 19:42 – Updated: 2026-11-20 20:13 – Source website| Ecosystem | Package | Versions |
|---|---|---|
| npm |
@kropaku/baileys
|
6.7.236.7.226.7.216.7.246.7.20
|
This package is a fork of the Baileys WhatsApp library that embeds code which decodes a hidden HTTPS destination from a String.fromCharCode byte array at lib/Socket/messages-send.js lines 425 and 436. The decoded host is https://fiora.nixel.my.id/, a third-party endpoint unrelated to the upstream Baileys project, reached from within the message-send path. The host string is concealed via char-code arithmetic rather than appearing as a plain literal, which is an obfuscation technique used to hide network destinations from casual inspection. The package also ships lib/Utils/license-guard.js as a heavily obfuscated module (hex-mangled identifiers such as _0x1e6253, _0x1d5468, etc., consistent with javascript-obfuscator output), hiding the logic that gates the library's behavior and its interactions with the hidden endpoint. The combination of (a) an obfuscated license/guard module loaded by a WhatsApp session library that handles authentication credentials and message contents, and (b) a char-code-concealed outbound HTTPS destination wired into the outgoing message pipeline, is the fingerprint of covert data relay or credential/session exfiltration from an upstream-impersonating fork, not of legitimate WhatsApp protocol code.
No description from this source.
No description from this source.
No description from this source.
No description from this source.
| Type | Indicator | Hashes |
|---|---|---|
| Evidence file |
lib/Socket/messages-send.js
|
sha256
a62ea8d3d1172824095369efa66412a189a70812354a8d5790b4e9d50004a376tlsh
ee63926508fb192a4623b0b57e6bb401b134d0077148ec69ff8c86e85f8a464e6f7bdd |
| Evidence file |
lib/Utils/license-guard.js
|
sha256
0ad5e08bfb7239dcc3227de43936237e2eef83df56934e47284edd22d0fdba4ftlsh
3332d8056ec0a8c4679beff73112a1e4e6251caea6f31c4fb600b528ed5c915dac5b31 |
| Package archive |
baileys-6.7.23.tgz
|
sha1
fe62d216fa3e3e03267cb7c8653c6e98581e1bdcsha512_sri
sha512-MTKFIx0+/lskE4b8pjGYnhnJ0v6x7ZaAWRHN2B20S5hzTmGHDMlcCLYBWxkaUJBaXl85SJCE923ZB9zLA8r/yw== |
- 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"
},
{
"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/messages-send.js",
"sha256": "a62ea8d3d1172824095369efa66412a189a70812354a8d5790b4e9d50004a376",
"tlsh": "ee63926508fb192a4623b0b57e6bb401b134d0077148ec69ff8c86e85f8a464e6f7bdd"
},
{
"path": "lib/Utils/license-guard.js",
"sha256": "0ad5e08bfb7239dcc3227de43936237e2eef83df56934e47284edd22d0fdba4f",
"tlsh": "3332d8056ec0a8c4679beff73112a1e4e6251caea6f31c4fb600b528ed5c915dac5b31"
}
],
"package_integrity": [
{
"filename": "baileys-6.7.23.tgz",
"hashes": {
"sha1": "fe62d216fa3e3e03267cb7c8653c6e98581e1bdc",
"sha512_sri": "sha512-MTKFIx0+/lskE4b8pjGYnhnJ0v6x7ZaAWRHN2B20S5hzTmGHDMlcCLYBWxkaUJBaXl85SJCE923ZB9zLA8r/yw=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@kropaku/baileys"
},
"versions": [
"6.7.23",
"6.7.22",
"6.7.21",
"6.7.24",
"6.7.20"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-022967",
"import_time": "2026-11-20T20:11:29.787413592Z",
"modified_time": "2026-11-20T19:43:02Z",
"sha256": "000ee18abd7189f91e848581d2931bc14636b7f624218ab56ce0072064845c26",
"source": "amazon-inspector",
"versions": [
"6.7.23"
]
},
{
"id": "IN-MAL-2026-022970",
"import_time": "2026-11-20T20:11:29.921889873Z",
"modified_time": "2026-11-20T19:43:24Z",
"sha256": "5db9ebf68a92baab0d0500598ce8910f496db0f958b33fd2c6552452f1b5bcb2",
"source": "amazon-inspector",
"versions": [
"6.7.22"
]
},
{
"id": "IN-MAL-2026-022971",
"import_time": "2026-11-20T20:11:30.001016469Z",
"modified_time": "2026-11-20T19:43:32Z",
"sha256": "7f21c39cccccc192ea43e43dbcf21efd1ac9c273a325f7001288ccdc115748c8",
"source": "amazon-inspector",
"versions": [
"6.7.21"
]
},
{
"id": "IN-MAL-2026-022963",
"import_time": "2026-11-20T20:11:29.604786653Z",
"modified_time": "2026-11-20T19:42:30Z",
"sha256": "e634fd115885f8cb0a2e2ab98b78bdc26d5f0cb37865cea6d848296478ace3d4",
"source": "amazon-inspector",
"versions": [
"6.7.24"
]
},
{
"id": "IN-MAL-2026-022969",
"import_time": "2026-11-20T20:11:29.885448448Z",
"modified_time": "2026-11-20T19:43:17Z",
"sha256": "ef350901d7e283ceea2892392567e98883f225d74eaf3242d952a698b4868475",
"source": "amazon-inspector",
"versions": [
"6.7.20"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e634fd115885f8cb0a2e2ab98b78bdc26d5f0cb37865cea6d848296478ace3d4)\nThis package is a fork of the Baileys WhatsApp library that embeds code which decodes a hidden HTTPS destination from a String.fromCharCode byte array at lib/Socket/messages-send.js lines 425 and 436. The decoded host is https://fiora.nixel.my.id/, a third-party endpoint unrelated to the upstream Baileys project, reached from within the message-send path. The host string is concealed via char-code arithmetic rather than appearing as a plain literal, which is an obfuscation technique used to hide network destinations from casual inspection. The package also ships lib/Utils/license-guard.js as a heavily obfuscated module (hex-mangled identifiers such as _0x1e6253, _0x1d5468, etc., consistent with javascript-obfuscator output), hiding the logic that gates the library\u0027s behavior and its interactions with the hidden endpoint. The combination of (a) an obfuscated license/guard module loaded by a WhatsApp session library that handles authentication credentials and message contents, and (b) a char-code-concealed outbound HTTPS destination wired into the outgoing message pipeline, is the fingerprint of covert data relay or credential/session exfiltration from an upstream-impersonating fork, not of legitimate WhatsApp protocol code.\n",
"id": "MAL-2026-20311",
"modified": "2026-11-20T20:13:02Z",
"published": "2026-11-20T19:42:30Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@kropaku/baileys/v/6.7.23"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@kropaku/baileys/v/6.7.22"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@kropaku/baileys/v/6.7.21"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@kropaku/baileys/v/6.7.24"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@kropaku/baileys/v/6.7.20"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @kropaku/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.