{"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","aliases":["GHSA-c6w2-3qw2-g5fm"],"modified":"2026-09-01T11:31:28.499390325Z","published":"2026-04-15T22:05:03Z","database_specific":{"iocs":{"urls":["https://jsonkeeper.com/b/XRGF3"]},"malicious-packages-origins":[{"modified_time":"2026-04-23T20:43:56Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"b57727c6a080ac8eccf4106639fc8fceab20fd4fb96142c8a8cb9b68422d4867","source":"amazon-inspector","import_time":"2026-04-23T20:49:04.575344839Z"},{"source":"reversing-labs","versions":["1.1.9"],"id":"RLMA-2026-05004","import_time":"2026-07-09T09:16:23.319457296Z","modified_time":"2026-07-07T12:43:37Z","sha256":"3eb41b2c6b5a301a28377d83c35161308b92697cce0171d2a780702899796fe8"},{"source":"reversing-labs","id":"RLUA-2026-06134","import_time":"2026-09-01T11:17:59.789780216Z","modified_time":"2026-08-24T16:43:45Z","sha256":"d397c0c1cf7127cd166f25afdebdfac6261ebc36e5fa055a1350c000acec3a73"}]},"references":[{"type":"REPORT","url":"https://www.indece.com/en-US/blog/7df041ba-feb1-4d87-918b-7fc2c709d805"},{"type":"WEB","url":"https://www.sonatype.com/blog/lazarus-groups-latest-brandjacking-campaign-on-npm"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c6w2-3qw2-g5fm"}],"affected":[{"package":{"name":"chai-beta","ecosystem":"npm","purl":"pkg:npm/chai-beta"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.9"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chai-beta/MAL-2026-2897.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"}]}