# MAL-2026-10671: Malicious code in spytrack (npm)


- **Type:** Malicious package
- **Package:** `spytrack` (npm)
- **Published:** 15 Jul 2026

## What is MAL-2026-10671?

MAL-2026-10671 is a malicious package in spytrack, published on 15 Jul 2026. 

### Official description

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.

## What should I do about MAL-2026-10671?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-10671 is a malicious package: spytrack (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-10671/ (Markdown: https://insights.sbomify.com/MAL-2026-10671/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-10671

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-10671/
Summaries are generated and may contain mistakes; the official description above is the record.
