Skip to main content
MalwarePublished Updated

chai-as-deployer (npm) · Malicious Code

Affects chai-as-deployerSource GCVE Database

0

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

Data as of 26 Oct 2026, 16:15 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13700

What to do

Remove chai-as-deployer 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-deployerAffected
  • =2.3.6
  • =2.3.5
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-deployer' is a malicious package that impersonates a legitimate chai plugin but contains a heavily obfuscated payload. This payload executes automatically upon import and includes code to run child processes and make outbound HTTP requests, indicating it acts as a stealer or loader. The package provides no legitimate functionality and is designed to compromise any system that installs or runs it.

References

Community reviews

Loading reviews…