{"id":"MAL-2026-20284","summary":"Malicious code in @iky-erza/baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (967763a0fcb8295a6cee58761594b585651571a5be455f106435bc70aa59b400)\npackage.json declares the runtime dependency `libsignal` as `github:tenka-san/libsignal-node` with no commit SHA, tag, or semver pin. On `npm install`, npm fetches whatever the repository's default branch HEAD currently points at and runs any lifecycle scripts inside it on the installer's machine, with no integrity check and no version pinning. Whoever controls that GitHub account can change the resolved code at any time without republishing this package, and installers running `npm install @iky-erza/baileys` will pick up the change on the next install. This is an off-registry, mutable dependency source — a different trust surface from the registry-published `libsignal` used by upstream Baileys. A separate static match on `lib/Utils/generics.js` corresponds to standard cross-platform `ping` dispatch for connectivity checks and is not by itself indicative of exfiltration.\n","modified":"2026-11-20T04:30:21.107635824Z","published":"2026-11-20T03:51:52Z","database_specific":{"malicious-packages-origins":[{"versions":["0.1.0"],"id":"IN-MAL-2026-022946","import_time":"2026-11-20T04:13:20.397415753Z","modified_time":"2026-11-20T03:51:52Z","sha256":"967763a0fcb8295a6cee58761594b585651571a5be455f106435bc70aa59b400","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@iky-erza/baileys/v/0.1.0"}],"affected":[{"package":{"name":"@iky-erza/baileys","ecosystem":"npm","purl":"pkg:npm/%40iky-erza/baileys"},"versions":["0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@iky-erza/baileys/MAL-2026-20284.json","indicators":{"evidence_files":[{"sha256":"51ec5f692de66b45277c883fd7bd40511446f1715b32a1c41cfb86842eba4377","tlsh":"2781fc74ce58cea30ac526e8a9bc4142a4b959539ec1fc1cb35447ac8f4e14f72b9b3d","path":"package.json"}],"package_integrity":[{"filename":"baileys-0.1.0.tgz","hashes":{"sha512_sri":"sha512-y4U4lfQOeObgeGZQnnA6OE1YjZpAbS969SlSBvKD3tmv1qK1l9LDbWYfFTVrPU+V3ImFprNPsrB9ucCeMenGfQ==","sha1":"d0d81fe71cba300f80bb5eed09f1682d97454414"}}]},"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}