{"id":"MAL-2026-20285","summary":"Malicious code in @ikyerza/baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0218298ffb531a5c44ec1ff6b04cf600b8dd52addcbe6fb832b1aa4498f47d29)\npackage.json declares the `libsignal` dependency as `github:tenka-san/libsignal-node` with no commit SHA or tag. On `npm install`, npm clones whatever the current HEAD of that personal GitHub repository is and executes any lifecycle scripts it contains on the installer's machine. The dependency key `libsignal` also shadows the published registry package of the same name, a dependency-confusion-shape aggravator: callers reading the manifest see a familiar name but resolution is redirected to a personal account that is not associated with the declared publisher of this package or of the upstream Baileys project. The repository owner can change the installed bytes at any time without any version bump in this package.\n","modified":"2026-11-20T04:30:24.854815009Z","published":"2026-11-20T03:51:16Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-11-20T04:13:20.119815103Z","modified_time":"2026-11-20T03:51:16Z","sha256":"0218298ffb531a5c44ec1ff6b04cf600b8dd52addcbe6fb832b1aa4498f47d29","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-022941"},{"sha256":"4130bf477ca0993c6e49d6d3ccfa6f1302ecce7b574145e524c16c3e6fbf6468","source":"amazon-inspector","versions":["1.1.1"],"id":"IN-MAL-2026-022944","import_time":"2026-11-20T04:13:20.275065823Z","modified_time":"2026-11-20T03:51:38Z"},{"source":"amazon-inspector","versions":["1.2.0"],"id":"IN-MAL-2026-022945","import_time":"2026-11-20T04:13:20.3205702Z","modified_time":"2026-11-20T03:51:44Z","sha256":"2bb2b392bb9734f3f3d241f170a854e6718a6d7e5cf1f7c84a9761c462057d70"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ikyerza/baileys/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ikyerza/baileys/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ikyerza/baileys/v/1.2.0"}],"affected":[{"package":{"name":"@ikyerza/baileys","ecosystem":"npm","purl":"pkg:npm/%40ikyerza/baileys"},"versions":["1.0.0","1.1.1","1.2.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"package.json","sha256":"ec438034efc9fbb825d9c8e5ee56d6f08d7b656cb1a46ad0a0c6d8585cba1fe3","tlsh":"1981fd34cd58cea30ac526e8a9bc0041a4b559539ec5fc5cb35407ac8f5e14f72b9b3d"}],"package_integrity":[{"filename":"baileys-1.0.0.tgz","hashes":{"sha512_sri":"sha512-2JdTJ9GliqCK1kXUCpBFEfFse49rVUaUtTSJAR7cnDaOc+ZSq/Vu1SmSlf0ZHiTqLc4kNj8Fm9H9+T0OAUVclQ==","sha1":"1c6838d5dab3bbb0dc745034292eaa3bfd1f8c62"}}]},"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"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"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ikyerza/baileys/MAL-2026-20285.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}