{"id":"MAL-2026-2886","summary":"Malicious code in chai-as-chain-v2 (npm)","details":"chai-as-chain-v2 is a malicious npm package that when imported downloads a C2 dropper from https://jsonkeeper[.]com/b/FAWPU and executes it (similar to malware in to chai-await-test).\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d2dd43a8df03dc914cb2bd9c028c452f5fd749767bd2c2faef275a9c840c19c5)\nThe package chai-as-chain-v2 was found to contain malicious code.\n","aliases":["GHSA-89j2-wcf8-hqm3"],"modified":"2026-09-01T11:30:49.789888630Z","published":"2026-04-15T22:05:03Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","import_time":"2026-04-23T20:48:58.298867081Z","modified_time":"2026-04-23T20:43:56Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"d2dd43a8df03dc914cb2bd9c028c452f5fd749767bd2c2faef275a9c840c19c5"},{"sha256":"d57deba97627cb75ae5bb739235029ad5e68fe0e82ec5c5e587003608d06ed8e","source":"reversing-labs","versions":["1.1.1"],"id":"RLMA-2026-04979","import_time":"2026-07-09T09:16:20.5311895Z","modified_time":"2026-07-07T12:43:05Z"},{"import_time":"2026-09-01T11:17:58.693059013Z","modified_time":"2026-08-24T16:43:13Z","sha256":"124f6dd32e6d199d64eab49a76cbf5ee6230d58a5fda8a4dab06b88aa8163d67","source":"reversing-labs","id":"RLUA-2026-06110"}],"iocs":{"urls":["https://jsonkeeper.com/b/FAWPU"]}},"references":[{"type":"REPORT","url":"https://www.indece.com/en-US/blog/7df041ba-feb1-4d87-918b-7fc2c709d805"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-89j2-wcf8-hqm3"}],"affected":[{"package":{"name":"chai-as-chain-v2","ecosystem":"npm","purl":"pkg:npm/chai-as-chain-v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chai-as-chain-v2/MAL-2026-2886.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"},{"name":"indece","contact":["https://indece.com"],"type":"FINDER"}]}