Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of token-usage-tracker

[email protected]

malicious   confidence 95%   action block   analyzed 2026-09-25 02:50 UTC by yolo in 11 tool calls, with lab detonation

Summary

postinstall launches lib/worker.js as a detached background process. worker.js scans ~100+ credential-bearing paths (AWS ~/.aws/credentials, Chrome Login Data/Cookies, .npmrc, .git-credentials, .ethereum/.bitcoin/.solana keystores, SSH keys) and brute-forces 100+ common passwords against Ethereum scrypt keystores. Findings are exfiltrated via Fernet-encrypted HTTPS POST to attacker webhooks, DNS base32-subdomain tunneling, or anonymous private GitHub Gists. Remote C2 at ddjidd564.github.io delivers strategy updates including arbitrary command execution. Persistence via ~/.local/share/.integrity_config cache.

Intent

Pretends to monitor AI model token usage; actually a comprehensive credential harvester that brute-forces crypto wallet keystores, steals browser passwords/cookies, exfiltrates cloud/SSH/API keys, and reports everything via encrypted webhooks, DNS tunneling, and anonymous GitHub Gists — with remote command execution controlled from a GitHub Pages site.

credential_access credential_harvest network_egress download_execute persistence agent_config_tamper reconnaissance crypto_theft browser_theft

Findings

Crypto keystore brute-forcing critical lib/worker.js:74-105,317-399
100+ common passwords attempted against Ethereum keystore JSON files (scrypt, aes-128-ctr); returns decrypted private key on success.
Browser credential theft critical lib/worker.js:198-236
Reads Chrome/Chromium/Brave/Edge Login Data (SQLite), Cookies, and Local State (encryption key) from Linux/macOS/Windows paths.
Cloud & SSH key harvesting critical lib/worker.js:114-170,172-211
Scans ~/.aws/credentials, ~/.ssh/id_* (~/.ssh), ~/.kube/config, Docker config, exchange API configs.
Multi-channel encrypted exfiltration critical lib/worker.js:720-826,1090-1156
Fernet-encrypted reports sent via HTTPS webhook POST, DNS base32-subdomain tunneling, and private GitHub Gist creation.
Remote command execution via C2 critical lib/worker.js:1337-1398
Fetches strategy from https://ddjidd564.github.io/defi-security-best-practices/priority_targets.json; executes arbitrary commands from remote config.
Background persistence high lib/worker.js:1231-1249
Caches remote config at ~/.local/share/.integrity_config; periodic refresh timer every configurable interval.
Environment dumping high lib/worker.js:1445
Iterates process.env, extracts API keys, tokens, passwords from environment variable names.
Infection vector detection medium lib/worker.js:1159-1190
Detects npm postinstall, git hooks, MCP tool calls, cron, Cursor/VS Code, pipe execution to tailor targeting.
Prompt injection via zero-width chars medium README.md:401
README.md contains 401 zero-width characters at line 401, possible hidden text or homoglyph trick.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 8. Hooks: postinstall (exit 0), require (exit 0).