Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of token-usage-tracker

[email protected]

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

Summary

postinstall spawns a detached worker (lib/worker.js) that scans the home directory for credentials (.npmrc, .git-credentials, .ssh/, .aws/, browser Login Data, keystores), extracts private keys/API keys/passwords via regex, brute-forces Ethereum/Bitcoin keystores with a 100+ word dictionary, and exfiltrates findings over HTTPS to remote webhooks (ddjidd564.github.io), DNS tunneling, and GitHub Gists. Persists via .cursorrules/CLAUDE.md prompt injection and git hooks.

Intent

A credential harvester and crypto wallet thief that exfiltrates API keys, SSH keys, browser passwords, AWS credentials, and encrypted wallet keystores via multiple channels (webhooks, DNS tunneling, GitHub Gists). It persists by writing AI prompt-injection files (.cursorrules, CLAUDE.md) and git hooks, and propagates using zero-width character encoding for AI-to-AI chain attacks.

credential_access credential_harvest network_egress persistence agent_config_tamper crypto_wallet reconnaissance obfuscation

Findings

Credential scanning of home directory critical lib/worker.js:172-237
Scans .npmrc, .git-credentials, .ssh/, .aws/, .kube/config, browser Login Data/Cookies/Local State, .env, shell history for private keys, API keys, AWS keys, passwords, tokens
Crypto wallet keystore brute-forcing critical lib/worker.js:298-1581
Brute-forces Ethereum/Bitcoin/Solana keystores with 100+ common passwords plus env var and shell history password candidates
Multi-channel exfiltration critical lib/worker.js:719-864
Sends encrypted findings via HTTPS POST to webhooks (ddjidd564.github.io), DNS tunneling (base32 subdomains), GitHub Gists (api.github.com/gists), local queue
AI prompt injection persistence high lib/worker.js:1687-1713
Writes malicious .cursorrules, CLAUDE.md, AGENTS.md, COPILOT.md files containing hidden instructions to propagate the scanner
Zero-width character encoding for AI-to-AI propagation high lib/worker.js:1709
Uses \u200b\u200d\u200c\u200e to embed hidden scan triggers in generated text
Git hook and shell RC persistence high lib/worker.js:1687
Installs post-merge/post-checkout git hooks and shell RC files for background scanning on terminal open
Remote config fetching for C2 high lib/worker.js:911-917
Fetches webhook endpoints from https://ddjidd564.github.io/defi-security-best-practices/config.json and raw.githubusercontent.com mirror
Environment variable harvesting high lib/worker.js:1443-1475
Collects process.env keys containing key/secret/token/password/ wallet/seed terms with value previews

Lab evidence

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