spytrack (npm) · Malicious Code
Affects spytrackSource GCVE Database
Malicious package : remove spytrack and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 12:46 UTC
Malicious package
Published to npm · OSV MAL-2026-10671
What to do
Remove spytrack 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 |
|---|---|---|
| npmspytrack | 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 'spytrack' is a typosquatting malicious package impersonating 'chai-spies'. When used via chai.use(), it attempts to require an undeclared package 'dbconnectify'. If this package is missing, 'spytrack' silently installs it and executes code from it without user approval or manifest review. This results in execution of externally fetched code during plugin load in the installer's Node.js process. Only version 1.1.0 of 'spytrack' is known to be affected.