MAL-2026-13390
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (37ba86faab85b50d9ae903ee59c78a8b52e46797b4c003448cd9851cd774939b)
Package is a fork of the Baileys WhatsApp Web library. Static keyword co-occurrence patterns matched on lib/Utils/generics.js (ping/GET references) and lib/Utils/messages-media.js (require('child_process') alongside POST/GET/hostname tokens), but these are consistent with Baileys' normal media upload/download paths and connectivity checks rather than a traced exfiltration flow. The concern is fork provenance: Baileys forks have previously been used to wire covert side effects (e.g. auto-follow of author-controlled newsletters, install counters) into the main exported API using the consumer's authenticated WhatsApp session. No specific installer-side data read and non-first-party destination pair has been identified in the code paths matched.
Source: ghsa-malware (c98d95ec19b8569af9b1822b1f3561d46ca3feec14066b6f353a25a6fe830124)
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/Utils/generics.js",
"sha256": "0aa76965a29529ab6ea08a70d4227b8b083a4dc6f4458671216dcb3c8e8eaf6c",
"tlsh": "7b62e69529f351b907a7a1e1772bf416bb3784333646c8f0f92c82205f818a4dade7d8"
},
{
"path": "lib/Utils/messages-media.js",
"sha256": "6f032e738288417a5169d1858f2640e6e405d698a7c9586c1722d63aa7fbf71f",
"tlsh": "e8d2e75a2df77235036371e4a72b991ab216c007310edda5bb9c9310af8612cd9f6bdc"
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@xsat10/baileys-xsat"
},
"versions": [
"2.0.0"
]
}
],
"aliases": [
"GHSA-fj9m-r2qx-cc39"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "GHSA-fj9m-r2qx-cc39",
"import_time": "2026-08-06T09:23:22.970203141Z",
"modified_time": "2026-08-06T03:30:21Z",
"sha256": "c98d95ec19b8569af9b1822b1f3561d46ca3feec14066b6f353a25a6fe830124",
"source": "ghsa-malware",
"versions": [
"2.0.0"
]
},
{
"id": "IN-MAL-2026-016041",
"import_time": "2026-08-06T13:08:41.341245946Z",
"modified_time": "2026-08-06T12:23:02Z",
"sha256": "37ba86faab85b50d9ae903ee59c78a8b52e46797b4c003448cd9851cd774939b",
"source": "amazon-inspector",
"versions": [
"2.0.0"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (37ba86faab85b50d9ae903ee59c78a8b52e46797b4c003448cd9851cd774939b)\nPackage is a fork of the Baileys WhatsApp Web library. Static keyword co-occurrence patterns matched on lib/Utils/generics.js (ping/GET references) and lib/Utils/messages-media.js (require(\u0027child_process\u0027) alongside POST/GET/hostname tokens), but these are consistent with Baileys\u0027 normal media upload/download paths and connectivity checks rather than a traced exfiltration flow. The concern is fork provenance: Baileys forks have previously been used to wire covert side effects (e.g. auto-follow of author-controlled newsletters, install counters) into the main exported API using the consumer\u0027s authenticated WhatsApp session. No specific installer-side data read and non-first-party destination pair has been identified in the code paths matched.\n\n## Source: ghsa-malware (c98d95ec19b8569af9b1822b1f3561d46ca3feec14066b6f353a25a6fe830124)\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-13390",
"modified": "2026-08-06T13:11:06.530430258Z",
"published": "2026-08-06T03:30:21Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-fj9m-r2qx-cc39"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@xsat10/baileys-xsat/v/2.0.0"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @xsat10/baileys-xsat (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.