chai-as-belonged (npm) · Malicious Code
Affects chai-as-belongedSource GCVE Database
Malicious package : remove chai-as-belonged and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 08:53 UTC
Malicious package
Published to npm · OSV MAL-2026-7231
What to do
Remove chai-as-belonged from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmchai-as-belongedpkg:npm/chai-as-belongedOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package chai-as-belonged version 4.3.8 contains malicious code. This is identified as a malicious package threat without a detailed technical description or CVSS score. There are no known exploits in the wild and no patch or remediation information is provided.