Advisory

MAL-2026-10693

Also known as: GHSA-w56m-5ch4-5xjw

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

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.

---
_-= Per source details. Do not edit below this line.=-_

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.

Severity

Not rated by the source.

Dates

Published
2026-06-16 12:53 UTC
Modified
2026-08-05 06:36 UTC

Affected packages and fixes

claude-token-tracker-mcp

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences