Skip to main content
MalwarePublished Updated

chai-as-serialized (npm) · Malicious Code

Affects chai-as-serializedSource GCVE Database

0

Malicious package : remove chai-as-serialized and rotate any secrets on hosts that installed it.

Data as of 12 Sep 2026, 19:02 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10044

What to do

Remove chai-as-serialized 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

ProductAffectedFixed in
npmchai-as-serializedAffected
  • =7.0.8
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-serialized (version 7.0.8) contains malicious code that executes arbitrary remote code in the consumer's Node.js process. It impersonates legitimate packages to lure installs and fetches and executes code from a remote server, granting attacker control.

References

Community reviews

Loading reviews…