Skip to main content
MalwarePublished Updated

chai-tracker (npm) · Malicious Code

Affects chai-trackerSource GCVE Database

0

Malicious package : remove chai-tracker 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-13704

What to do

Remove chai-tracker 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-trackerAffected
  • 1.1.0 – 1.2.1
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The chai-tracker npm package contains malicious code that executes arbitrary code on the host system when the package is loaded. It mimics the legitimate chai-spies package but depends on an attacker-controlled package named dbconnectify pinned to 'latest'. Upon loading, chai-tracker spawns a detached child process that runs code from dbconnectify, allowing silent execution of arbitrary commands. This malicious behavior is disguised within chai method registration, making it difficult to detect during normal use.

References

Community reviews

Loading reviews…