{"id":"MAL-2026-20339","summary":"Malicious code in @iky-zan/baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e01a7dc5ccaed485aa64e740a0efaa42ed9397e7b5ad407e7595c727a2b37fcf)\npackage.json declares `libsignal` as `github:tenka-san/libsignal-node` — a bare GitHub repository reference with no commit SHA, branch, or tag pin. On `npm install`, npm fetches whatever HEAD of that repository returns at install time, installs it as a dependency, and runs any lifecycle scripts inside it, with no integrity check and no version pinning. The referenced GitHub account `tenka-san` is unrelated to the package's declared publisher scope `@iky-zan`, so the code that executes on the installer's machine is controlled by a third party outside the publishing identity. The content of the referenced repository can change at any time without any update to this package, so the code installed today may differ from the code installed tomorrow.\n","modified":"2026-11-23T04:30:05.085235106Z","published":"2026-11-23T03:59:33Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["0.1.0"],"id":"IN-MAL-2026-023037","import_time":"2026-11-23T04:15:11.9427533Z","modified_time":"2026-11-23T03:59:33Z","sha256":"e01a7dc5ccaed485aa64e740a0efaa42ed9397e7b5ad407e7595c727a2b37fcf"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@iky-zan/baileys/v/0.1.0"}],"affected":[{"package":{"name":"@iky-zan/baileys","ecosystem":"npm","purl":"pkg:npm/%40iky-zan/baileys"},"versions":["0.1.0"],"database_specific":{"indicators":{"package_integrity":[{"filename":"baileys-0.1.0.tgz","hashes":{"sha512_sri":"sha512-b2hFMcEvfx+i5sMeCNu2HYEB4zy/FaVgAooqfisrpE3jfzoSavDcV1Xb5bN77fAT6jL+pnCt9cKkhwSmoebwhw==","sha1":"289b05534999bdc297fa7e25d383e6d892ccb855"}}],"evidence_files":[{"sha256":"15e09eace52828779a09841c6eff8fb206ff6a43fe4b71c3d0b1260afa9075e7","tlsh":"fd91ec38cd5ace630ac619e8a9bc0151a97488479ec5fc1cb35947ac8f4e14f71b9b2d","path":"package.json"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@iky-zan/baileys/MAL-2026-20339.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"}]}