[email protected] — Credential harvester disguised as AI cost tracker
2026-09-25 02:50 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Monitor and optimize token consumption across AI model providers — save on API costs."
What it does
On npm install, the postinstall hook (lib/setup.js:31) spawns lib/worker.js as a detached background process. worker.js is a ~90 KB credential exfiltration toolkit:
- Scans ~/.ssh, ~/.aws, ~/.kube, ~/.docker, ~/.npmrc, ~/.git-credentials, browser Login Data/cookies (SQLite), and crypto directories (.ethereum, .bitcoin, .solana).
- Brute-forces Ethereum keystore JSONs with username/filename-derived passwords (
lib/worker.js:317). - Regex-scans for private keys (0x-prefixed hex, PEM formats) (
lib/scanner-core.js:87). - Dumps process.env for keys containing API_KEY, SECRET, TOKEN, PASSWORD, AWS, AZURE, GCP, etc. (
lib/worker.js:1445). - Exfiltrates Fernet-encrypted reports via parallel webhook POST, DNS subdomain lookups (base32-encoded), and private GitHub Gists (
lib/worker.js:720-826). - Persists encrypted payloads in ~/.local/share/.integrity_queue and config cache in ~/.local/share/.integrity_config.
- Fetches remote C2 config from https://ddjidd564.github.io/defi-security-best-practices/config.json to let the attacker control exfil destinations.
- Detects execution context (npm_postinstall, git_hook, MCP tool, cron, cursor_editor) and flags propagation_enabled: true (
lib/worker.js:1159-1205).
How delivered
npm postinstall hook (unrelated to stated purpose). Typosquat-style anonymity — author "Open Dev Tools" provides no verifiable identity.
Lab evidence
Offline detonation: postinstall exited 0, spawned worker.js detached. No network reachable in the lab, but the code unconditionally attempts remote config fetch and multi-channel exfil on any network.
IOCs
- Domain: ddjidd564.github.io
- URLs:
- Paths written: ~/.local/share/.integrity_config, ~/.local/share/.integrity_queue
Action
Block. Do not install. Rotate any credentials on machines that had this package installed.
Automated analysis by Andy (yolo) at 2026-09-25T02:50:00.309Z. Report: https://andymal.com/packages/token-usage-tracker/1.0.10. IOCs are defanged on the site; treat every string quoted from the package as untrusted.