{"id":"MAL-2026-20674","summary":"Malicious code in supunmd-baileys (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (70174a8f11b6ec11f4a33a1946bff392bdd66820994b2a3476955b2c9ee04f8b)\npackage.json declares `dependencies.libsignal` as `github:tenka-san/libsignal-node` with no commit SHA, tag, or integrity hash. On `npm install`, this resolves to whatever the default branch of that personal-user repository contains at the moment of install, and any lifecycle scripts inside the fetched tree execute on the installer's machine. The dependency source is off-registry, unpinned, and controlled by a third-party user account unrelated to the npm publisher, so the content delivered to installers can change arbitrarily after this package version is published without any change to this package itself. This is a dependency-source hijack surface: control of that GitHub account, a repo rename, or a branch force-push is sufficient to execute attacker-controlled code on every installer of this package.\n","modified":"2026-11-27T00:45:05.209052780Z","published":"2026-11-26T23:42:24Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-11-26T23:42:24Z","sha256":"70174a8f11b6ec11f4a33a1946bff392bdd66820994b2a3476955b2c9ee04f8b","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-023132","import_time":"2026-11-27T00:30:27.793511220Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/supunmd-baileys/v/0.0.1"}],"affected":[{"package":{"name":"supunmd-baileys","ecosystem":"npm","purl":"pkg:npm/supunmd-baileys"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/supunmd-baileys/MAL-2026-20674.json","indicators":{"evidence_files":[{"tlsh":"5781a734cd59cea30ac626e9a5bd0102a4755913aec5f81cb36c57ac8f0e24f71b9a3d","path":"package.json","sha256":"62d7cc7c0772e3904a1b6ccab346a3c0957e67b7607a63a2d634058d3277f3dc"}],"package_integrity":[{"filename":"supunmd-baileys-0.0.1.tgz","hashes":{"sha1":"e422f56c699febc66d25e61c74fe3960683303fa","sha512_sri":"sha512-qoluAcMwROP11jCDZIGUOsP4XCiRloldJyHsljCMxz85SLqllKwBbKh2hqJ7YRbJgXQNJm7cdf39DQb3GL0euw=="}}]},"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}