MAL-2026-2895
Dashboard / Malicious Package / MAL-2026-2895
MAL-2026-2895
Summary: Malicious code in chai-as-optimized (npm)
Details: chai-as-optimized is a malicious npm package that when imported downloads a C2 dropper from https://api.npoint[.]io/0ac7efbc0b6b1a53b305 and executes it (similar to malware in to chai-await-test). Source: amazon-inspector (9aae79ba651c775fb9210d21e89a5fe445914455de8d8ac349099a9eb0e305f5) The package chai-as-optimized was found to contain malicious code. Source: ghsa-malware (838c65b4d08471333988eaebfdc666b60a9d9202e80c8190ed84c9a2ba5e620a) Any 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.
References: https://www.indece.com/en-US/blog/7df041ba-feb1-4d87-918b-7fc2c709d805, https://github.com/advisories/GHSA-g99c-rjxw-f6jg
Affected packages
Package
Name: chai-as-optimized
Purl: pkg:npm/chai-as-optimized
Affected ranges
Type: SEMVER
Events:
