npm · Malicious package advisory
Malwarechai-as-encrypted
MAL-2026-2888
Malicious code in chai-as-encrypted (npm)
Details
chai-as-encrypted is a malicious npm package that when imported downloads a C2 dropper from https://api.npoint[.]io/29ebd497b6f232e6b0a9 and executes it (similar to malware in to chai-await-test). --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (dfb6c123f5eba4181918855f8beed0a215d004463947ad5df587298dac555a14) The package chai-as-encrypted was found to contain malicious code. ## Source: ghsa-malware (852d51d07fcb5997c5789823a3ac844c3788de931fcf80b9e8c589a87f3274fb) 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.
Compromised versions (4)
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.11
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.