{"id":"MAL-2026-2897","summary":"Malicious code in chai-beta (npm)","details":"chai-beta is a malicious npm package that when imported downloads a C2 dropper from https://jsonkeeper[.]com/b/XRGF3 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 (b57727c6a080ac8eccf4106639fc8fceab20fd4fb96142c8a8cb9b68422d4867)\nThe package chai-beta was found to contain malicious code.\n","modified":"2026-04-23T21:14:28.377758Z","published":"2026-04-15T22:05:03Z","database_specific":{"iocs":{"urls":["https://jsonkeeper.com/b/XRGF3"]},"malicious-packages-origins":[{"source":"amazon-inspector","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"import_time":"2026-04-23T20:49:04.575344839Z","modified_time":"2026-04-23T20:43:56Z","sha256":"b57727c6a080ac8eccf4106639fc8fceab20fd4fb96142c8a8cb9b68422d4867"}]},"references":[{"type":"REPORT","url":"https://www.indece.com/en-US/blog/7df041ba-feb1-4d87-918b-7fc2c709d805"}],"affected":[{"package":{"name":"chai-beta","ecosystem":"npm","purl":"pkg:npm/chai-beta"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chai-beta/MAL-2026-2897.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"},{"name":"indece","contact":["https://indece.com"],"type":"FINDER"}]}