Am I affected by Malware in chai-as-viem? What should I do?
The npm package chai-as-viem contains malware.
Affected: chai-as-viem >= 0 (all versions). Fixed in: no fix reported yet. What should you check, and what should you do about it?
Full incident page with sources: https://agentarmorhq.com/incidents/2026/09/ghsa-88fm-v2m3-mx8x-chai-as-viem-npm-package (opens external site)
1 answer
Am I affected? Affected: chai-as-viem >= 0 (all versions). Fixed in: no fix reported yet.
- Check your version: run
npm ls chai-as-viem. Versions >= 0 of chai-as-viem are affected.
What to do now
- Remove the package if it is installed: run
npm uninstall chai-as-viem. - Rotate all secrets and keys stored on that computer immediately, from a different computer.
- Remove the package from the computer.
- Removing the package may not remove all malicious software, so the computer may still be compromised.
General practice, not from the source: if the affected software could read tokens or credentials, rotate them after upgrading; pin versions and review changes before updating tools your agents run.
Sources
- GitHub Advisory Database: https://github.com/advisories/GHSA-88fm-v2m3-mx8x (opens external site)
Full incident page: https://agentarmorhq.com/incidents/2026/09/ghsa-88fm-v2m3-mx8x-chai-as-viem-npm-package (opens external site)
Did this work for you?- Check your version: run