{"id":"MAL-2026-1320","summary":"Malicious code in chain-promised-await (npm)","details":"Remote code execution via fetching code from a remote URL and Discord webhook usage indicates malicious intent. Single version adds to suspicion.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b5b882a33fdd394ef7a848100d8ee39ef4c7f0747942b4bea86e38af5780c978)\nThe package chain-promised-await was found to contain malicious code.\n\n## Source: ghsa-malware (4c27a66657401c034b4b834e46e04b5474e23e430a5a8b6de6163c62a854a982)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-x7f9-fr3r-64w3"],"modified":"2026-04-24T05:33:45.204330Z","published":"2026-03-10T08:24:44Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","modified_time":"2026-03-23T05:11:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"b5b882a33fdd394ef7a848100d8ee39ef4c7f0747942b4bea86e38af5780c978","import_time":"2026-03-23T05:14:28.568001272Z"},{"source":"ghsa-malware","modified_time":"2026-04-24T05:09:05Z","sha256":"4c27a66657401c034b4b834e46e04b5474e23e430a5a8b6de6163c62a854a982","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"id":"GHSA-x7f9-fr3r-64w3","import_time":"2026-04-24T05:17:29.873665465Z"}]},"references":[{"type":"REPORT","url":"https://app.safedep.io/community/malysis/01KKBDBQ4Z6DCXMMKNDFKQ4M1M"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x7f9-fr3r-64w3"}],"affected":[{"package":{"name":"chain-promised-await","ecosystem":"npm","purl":"pkg:npm/chain-promised-await"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chain-promised-await/MAL-2026-1320.json","cwes":[{"name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature.","cweId":"CWE-506"}]}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}