MAL-2026-2896
Dashboard / Malicious Package / MAL-2026-2896
MAL-2026-2896
Summary: Malicious code in chai-as-stream (npm)
Details: chai-as-stream is a malicious npm package that when imported send all env variables to https://locate-my-ip.vercel[.]app/api/ip-check-encrypted/3aeb34a333, receives a C2 dropper and executes it (evolution of malware in to chai-await-test). Source: amazon-inspector (00db21a0e6309521853e9465df7656a90ad10164a833bd2f958518a0269c1c9a) The package chai-as-stream was found to contain malicious code. Source: ghsa-malware (37b9a92d34caac93e947114288bfb21820e84d5108a7a8db5a81871172eaf574) 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-6xjm-3c84-552p
Affected packages
Package
Name: chai-as-stream
Purl: pkg:npm/chai-as-stream
Affected ranges
Type: SEMVER
Events:
