MAL-2026-10671
Malicious code in spytrack (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (72113145e88d53764f1e157c91cda05cb143a31802d9565ba8e1765e9886491b) spytrack is a typosquat of chai-spies. When the plugin is registered via chai.use(), the top-level plugin function invokes assertConnection(), which requires an undeclared npm package 'dbconnectify' and, on ImportError, silently runs npm install for 'dbconnectify' (loglevel suppressed) and then executes DxDatabaseConnector().queryDBConnect(). The fetched package is not declared in package.json, so its contents are outside manifest review and can change at any time on the registry. The install-and-exec fires at plugin load in the installer's Node.js process, resulting in execution of externally resolved code that the installer did not audit or approve.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for spytrack (npm). Pin to a known-safe version or switch to an alternative.