{"id":"MAL-2026-20286","summary":"Malicious code in @ikyzanx/baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6c64694820be3e6d15789cddda220597ead0ab1beed316980af701b4f2d0c80e)\npackage.json declares the `libsignal` dependency as `github:tenka-san/libsignal-node` — a bare owner/repo reference with no commit SHA, tag, or version pin. On `npm install`, npm fetches whatever bytes are currently at the HEAD of that third-party repository and installs them, executing any lifecycle scripts contained in them, with no integrity verification. The referenced GitHub owner `tenka-san` is unrelated to the npm publisher of this package (`@ikyzanx`), so the trust boundary of installing this package silently extends to a third-party account that can push new commits to that repository at any time. The package is a Baileys fork (a WhatsApp Web client library); the unrelated-owner libsignal source is a mutable off-registry code path that executes on every install.\n","modified":"2026-11-20T04:30:25.004700329Z","published":"2026-11-20T03:51:59Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["8.5.6"],"id":"IN-MAL-2026-022947","import_time":"2026-11-20T04:13:20.453196833Z","modified_time":"2026-11-20T03:51:59Z","sha256":"6c64694820be3e6d15789cddda220597ead0ab1beed316980af701b4f2d0c80e"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ikyzanx/baileys/v/8.5.6"}],"affected":[{"package":{"name":"@ikyzanx/baileys","ecosystem":"npm","purl":"pkg:npm/%40ikyzanx/baileys"},"versions":["8.5.6"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"d89fb6f385415e637ba3ac82a83000127f04d24d18389131ca665ab43c892897","tlsh":"e581da74cd58cea30ac526e8a9bc0142a4b959539ec1fc1cb35847ac8f4e14f72b9b3d","path":"package.json"}],"package_integrity":[{"filename":"baileys-8.5.6.tgz","hashes":{"sha512_sri":"sha512-B+8CU7B7eBYDwuhc1Sqwa/qzcH1aGlO0sGuXYSQD3HtOvk000/S6q/1zW1BuNmanMp/x7GMnRuul69EWrXZ9Xg==","sha1":"cfa2b0a307143aa4734168fb254dc3e03dfd91be"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ikyzanx/baileys/MAL-2026-20286.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}