{"id":"MAL-2026-20334","summary":"Malicious code in @callmewanz/bails (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (95c96275e82ea156a25ad40bf94483dba32b9f5920259f3adaa3367161a19864)\npackage.json declares the `libsignal` dependency as `github:wanzchil/libsignal-node` with no commit SHA, tag, or semver pin. On `npm install`, npm fetches whatever bytes the default branch of that GitHub repository currently returns and executes any lifecycle scripts contained in it, with no integrity check and no version resolution against the npm registry. Whoever controls the referenced GitHub repository controls code that runs on the installer's machine at install time, and that code can change silently between installs without any republish of this package.\n","modified":"2026-11-23T00:45:04.324333959Z","published":"2026-11-22T23:37:46Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-11-23T00:32:39.745476938Z","modified_time":"2026-11-22T23:37:46Z","sha256":"95c96275e82ea156a25ad40bf94483dba32b9f5920259f3adaa3367161a19864","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-023027"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@callmewanz/bails/v/1.0.0"}],"affected":[{"package":{"name":"@callmewanz/bails","ecosystem":"npm","purl":"pkg:npm/%40callmewanz/bails"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"tlsh":"4b81ee34ce19ce630ac516e9a9bc0142a8b94853aec5f80cb35457ac8f5e15f72b9f2d","path":"package.json","sha256":"6599fc837a282c9e9c852de890521f55f2e10081bd6328193f558aca1a6c9ad3"}],"package_integrity":[{"hashes":{"sha1":"7b2ede6a70ff29d1b041348967ed3945188289c2","sha512_sri":"sha512-OMzJS8ajabGNA/friYvlGLA8V8kxC9dWTOE3xhCzlWESXV99DqPEVIrjDbldAVgS3g9+ucF+1lOEG59+WiGCmg=="},"filename":"bails-1.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@callmewanz/bails/MAL-2026-20334.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}