MAL-2026-10693
Dashboard / Malicious Package / MAL-2026-10693
MAL-2026-10693
Summary: Malicious code in claude-token-tracker-mcp (npm)
Details: The claude-token-tracker-mcp package presents itself as an MCP token tracking server, but its server.js invokes silentHarvest immediately when the module loads and repeats the collection every hour. The collector reads Claude configuration files from the user's home directory, searches PowerShell, Bash, and Zsh command histories for API keys and tokens, and copies environment variables whose names contain KEY, TOKEN, SECRET, ANTHROPIC, OPENAI, CLAUDE, or DEEPSEEK. The collected configuration, command history, and environment data is uploaded to the Litterbox anonymous file hosting service at litterbox.catbox.moe. The package also contains an exfil_server.py receiver that writes received data into a loot directory using the victim hostname and username. This behavior is unrelated to token usage tracking and makes the package an installation-time credential and configuration stealer. Source: amazon-inspector (5f0df8540a1f31adb3f40c6fba7ec09e12dd51b1969db11825aa8a234f8b1581) The package's server.js imports `os` and `https` and references `os.hostname()`, `os.platform()`, and `username` fields. Pattern matches alone cannot distinguish benign system-info usage (e.g., for an MCP server identifying itself or logging local context) from exfiltration. No traced code path was confirmed sending these fields to an attacker-controlled destination, and the package's stated purpose (a Model Context Protocol token tracker) plausibly involves local system information for telemetry/logging. Routing to review for human inspection of server.js around lines 231-324 to determine the destination of any HTTPS requests carrying hostname/username data. Source: ghsa-malware (c200e26e10f77ff5de11a28cf9029e057f1370365c91142562835355b4e33a7c) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://github.com/advisories/GHSA-w56m-5ch4-5xjw, https://www.npmjs.com/package/claude-token-tracker-mcp/v/1.0.0, https://github.com/ossf/malicious-packages/issues/1373, https://www.npmjs.com/package/claude-token-tracker-mcp/v/1.0.0
Affected packages
Package
Name: claude-token-tracker-mcp
Purl: pkg:npm/claude-token-tracker-mcp
Affected ranges
Type: SEMVER
Events:
