MAL-2026-10671: Malicious code in spytrack (npm)
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.
AI Analysis
Technical Summary
The 'spytrack' npm package (version 1.1.0) is a malicious typosquat of the legitimate 'chai-spies' package. Upon registration as a chai plugin, it calls assertConnection(), which requires the undeclared 'dbconnectify' package. If 'dbconnectify' is not present, 'spytrack' silently runs 'npm install dbconnectify' with suppressed logs, then executes DxDatabaseConnector().queryDBConnect() from the installed package. Because 'dbconnectify' is not declared in 'spytrack's package.json, its contents are not subject to manifest review and can change arbitrarily on the npm registry. This behavior causes execution of externally resolved, unvetted code in the installer's Node.js process at plugin load time.
Potential Impact
This vulnerability allows execution of arbitrary code fetched dynamically from the npm registry without user consent or audit, potentially leading to compromise of the environment where 'spytrack' is installed. The malicious code runs in the context of the installer's Node.js process, which may lead to unauthorized actions or data exposure. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing or using the 'spytrack' package, especially version 1.1.0. Verify package names carefully to avoid typosquatting attacks. Monitor vendor advisories for updates or official fixes. Since this is not a cloud service, remediation depends on user action to avoid or remove the malicious package.
MAL-2026-10671: Malicious code in spytrack (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'spytrack' npm package (version 1.1.0) is a malicious typosquat of the legitimate 'chai-spies' package. Upon registration as a chai plugin, it calls assertConnection(), which requires the undeclared 'dbconnectify' package. If 'dbconnectify' is not present, 'spytrack' silently runs 'npm install dbconnectify' with suppressed logs, then executes DxDatabaseConnector().queryDBConnect() from the installed package. Because 'dbconnectify' is not declared in 'spytrack's package.json, its contents are not subject to manifest review and can change arbitrarily on the npm registry. This behavior causes execution of externally resolved, unvetted code in the installer's Node.js process at plugin load time.
Potential Impact
This vulnerability allows execution of arbitrary code fetched dynamically from the npm registry without user consent or audit, potentially leading to compromise of the environment where 'spytrack' is installed. The malicious code runs in the context of the installer's Node.js process, which may lead to unauthorized actions or data exposure. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing or using the 'spytrack' package, especially version 1.1.0. Verify package names carefully to avoid typosquatting attacks. Monitor vendor advisories for updates or official fixes. Since this is not a cloud service, remediation depends on user action to avoid or remove the malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10671
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577ed868715ace43b3fabd
Added to database: 07/15/2026, 12:36:40 UTC
Last enriched: 07/15/2026, 12:46:17 UTC
Last updated: 07/16/2026, 03:36:37 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.