{"id":"MAL-2026-2885","summary":"Malicious code in chai-as-adapter (npm)","details":"chai-as-adapter 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 (e4ad687e2827eba4cf0c61d04ad9122d72ddc6e49ffdeabebf34f4ed10787bd4)\nThe package chai-as-adapter was found to contain malicious code.\n","aliases":["GHSA-38vm-pgm6-6g7p"],"modified":"2026-09-01T11:31:19.945126995Z","published":"2026-04-15T22:05:03Z","database_specific":{"iocs":{"urls":["https://jsonkeeper.com/b/FAWPU"]},"malicious-packages-origins":[{"import_time":"2026-04-23T20:49:03.330872634Z","modified_time":"2026-04-23T20:43:56Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e4ad687e2827eba4cf0c61d04ad9122d72ddc6e49ffdeabebf34f4ed10787bd4","source":"amazon-inspector"},{"source":"reversing-labs","versions":["1.5.2"],"id":"RLMA-2026-04976","import_time":"2026-07-09T09:16:20.311339641Z","modified_time":"2026-07-07T12:42:53Z","sha256":"dce4486ce0b450cb55858aa483f2f518a72cd5a7f7c8008a363e4bc4f0fd2ea7"},{"id":"RLUA-2026-06106","import_time":"2026-09-01T11:17:58.566105546Z","modified_time":"2026-08-24T16:43:11Z","sha256":"e6da2ce7d3a4d42ef0b0e22b87c14921b977e5daee340e307467abc50c367ea3","source":"reversing-labs"}]},"references":[{"type":"REPORT","url":"https://www.indece.com/en-US/blog/7df041ba-feb1-4d87-918b-7fc2c709d805"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-38vm-pgm6-6g7p"}],"affected":[{"package":{"name":"chai-as-adapter","ecosystem":"npm","purl":"pkg:npm/chai-as-adapter"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.5.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chai-as-adapter/MAL-2026-2885.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"}]}