{"id":"MAL-2026-2890","summary":"Malicious code in chai-as-ide (npm)","details":"chai-as-ide is a malicious npm package that when imported downloads a C2 dropper from https://api.npoint[.]io/244f4de235f04fbcd51a 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 (815287ccf2b5ff01fac06ba88b3117901784cb4bb0ac70f279da321b4b09cbbf)\nThe package chai-as-ide was found to contain malicious code.\n\n## Source: ghsa-malware (4c4401b9d8074ee79fe70fef0851091943b7e371d6e565caaabc952fe4d7fe89)\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-53p3-r84h-8pj3"],"modified":"2026-04-29T13:04:09.733794Z","published":"2026-04-16T20:36:13Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"modified_time":"2026-04-23T20:43:56Z","source":"amazon-inspector","import_time":"2026-04-23T20:49:03.788430919Z","sha256":"815287ccf2b5ff01fac06ba88b3117901784cb4bb0ac70f279da321b4b09cbbf"},{"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"import_time":"2026-04-29T12:51:44.415499755Z","modified_time":"2026-04-29T12:22:51Z","source":"ghsa-malware","id":"GHSA-53p3-r84h-8pj3","sha256":"4c4401b9d8074ee79fe70fef0851091943b7e371d6e565caaabc952fe4d7fe89"}],"iocs":{"urls":["https://api.npoint.io/244f4de235f04fbcd51a"]}},"references":[{"type":"REPORT","url":"https://www.indece.com/en-US/blog/7df041ba-feb1-4d87-918b-7fc2c709d805"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-53p3-r84h-8pj3"}],"affected":[{"package":{"name":"chai-as-ide","ecosystem":"npm","purl":"pkg:npm/chai-as-ide"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chai-as-ide/MAL-2026-2890.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"},{"name":"indece","contact":["https://indece.com"],"type":"FINDER"}]}