MAL-2026-13390Malicious code in @xsat10/baileys-xsat (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @xsat10/baileys-xsat | 2.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-13390","published":"2026-08-06T03:30:21Z","modified":"2026-08-06T13:11:06.530430258Z","aliases":["GHSA-fj9m-r2qx-cc39"],"summary":"Malicious code in @xsat10/baileys-xsat (npm)","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('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.\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","affected":[{"package":{"name":"@xsat10/baileys-xsat","ecosystem":"npm"},"versions":["2.0.0"],"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"}]}}}],"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"}],"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"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0