MAL-2026-18392Malicious code in @chatunitycenter/baileys (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @chatunitycenter/baileys | * |
| npm | @chatunitycenter/baileys | 0.0.0-stage |
| npm | @chatunitycenter/baileys | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-18392","published":"2026-10-29T16:52:21Z","modified":"2026-10-30T12:43:42.657478304Z","aliases":["GHSA-g6j7-j669-23g6"],"summary":"Malicious code in @chatunitycenter/baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (23bc43e71e1158fc102445f53b3880fe32a99bb6a8557b99d1b17279e8f41f44)\npackage.json declares `libsignal` as `github:chatunitycenter/libsignal-node` with no commit SHA, tag, or integrity hash. On `npm install`, npm clones the default-branch HEAD of that repository and installs whatever it returns, including executing any lifecycle scripts (preinstall/install/postinstall/prepare) present in the cloned source. The resolved bytes are mutable: whoever controls the `chatunitycenter/libsignal-node` repository can push new commits at any time and those commits will run on every installer that resolves this dependency going forward. The dependency key resembles the well-known `libsignal-node` project but points to an account-controlled fork rather than a registry version range or a pinned commit, so the installer cannot audit or reproduce what will be fetched.\n\n## Source: ghsa-malware (52978b0c3293c9df936b51c70527efeb5b0f496a59f0df857016fc781f876043)\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":"@chatunitycenter/baileys","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","0.0.0-stage"],"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"05a92160c5e7abb2905627054887dad89fd819496aedd8b25d619bab2d679d9a","tlsh":"6f51ee23ca48cf2308f262d9b5780211f569076f6590cc4f31b8577c8f739a22656f2a"}],"package_integrity":[{"filename":"baileys-0.0.0-stage.tgz","hashes":{"sha1":"51b8e02373311516e5b7d6a3c905a6bbc0477de3","sha512_sri":"sha512-0VrWYS7Ob5PmZ32QcjOREQ26hKxBmMoFP/Jtc9I6g6QkfWRX3DVvnE96VTPDIzmqkcG1xgh9f1FR328y2JFp0g=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g6j7-j669-23g6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@chatunitycenter/baileys/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@chatunitycenter/baileys/v/0.0.0-stage"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-g6j7-j669-23g6","import_time":"2026-10-29T17:18:53.956085538Z","modified_time":"2026-10-29T16:52:21Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"52978b0c3293c9df936b51c70527efeb5b0f496a59f0df857016fc781f876043","source":"ghsa-malware"},{"id":"IN-MAL-2026-022425","import_time":"2026-10-30T12:42:29.744862726Z","modified_time":"2026-10-30T12:28:46Z","sha256":"23bc43e71e1158fc102445f53b3880fe32a99bb6a8557b99d1b17279e8f41f44","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-022458","import_time":"2026-10-30T12:42:32.250224295Z","modified_time":"2026-10-30T12:32:55Z","sha256":"e8fe069031424f4509b405dc197e4c08bae61d4aa631ff738553fbafcc263f8a","source":"amazon-inspector","versions":["0.0.0-stage"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0