{"id":"MAL-2026-17701","summary":"Malicious code in @kxafunc/xbails (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (629c665fbfef767c56d24af935d38312f7aa88d1c71d9dfb8c427192e54add0b)\npackage.json aliases the `libsignal` dependency to `npm:@bellaxchuu/libsignal-node@latest` — a non-standard publisher pinned to the mutable `latest` dist-tag with no version pin, no integrity check, and no hash. On every install, npm resolves this alias to whatever bytes `@bellaxchuu/libsignal-node` currently publishes, and the resolved module is loaded by `lib/Signal/libsignal.js` and `lib/Utils/crypto.js`, providing the Signal end-to-end cryptographic primitives (SessionCipher, SessionBuilder, ProtocolAddress, SessionRecord) with access to identity keys, prekeys, and plaintext messages. Whoever controls that upstream package name can push arbitrary code into every installer at any time, executing inside the Signal E2E encrypt/decrypt path. This is an off-registry-style trust relationship: the manifest itself constitutes the exposure, independent of what the current contents of the alias target happen to be.\n","modified":"2026-10-08T18:30:05.294708524Z","published":"2026-10-08T17:47:11Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-10-08T18:23:37.778325068Z","modified_time":"2026-10-08T17:47:11Z","sha256":"629c665fbfef767c56d24af935d38312f7aa88d1c71d9dfb8c427192e54add0b","source":"amazon-inspector","versions":["0.0.8"],"id":"IN-MAL-2026-021228"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@kxafunc/xbails/v/0.0.8"}],"affected":[{"package":{"name":"@kxafunc/xbails","ecosystem":"npm","purl":"pkg:npm/%40kxafunc/xbails"},"versions":["0.0.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@kxafunc/xbails/MAL-2026-17701.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"tlsh":"b281db34cd58cea30ac526e8a9bd014294b958539ec1fc0cb35547ac8f1e25fb2b9b2d","path":"package.json","sha256":"7210306077979df1b2b44a3f7d42ec26803047f8a5b819508dbeebaaac0607df"}],"package_integrity":[{"filename":"xbails-0.0.8.tgz","hashes":{"sha512_sri":"sha512-mJg95hjpRpguJ+eRucU5qHKQvWWSuFFBU24gwqbTaUpifYKTTK90NPHMp6XAiqNS5codHQdr3eUkULQasdXUcQ==","sha1":"55f2e90b8abeb05ec58916a692ef31690b7371de"}}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}