[email protected] — Credential stealer masquerading as AI cost tracker
2026-09-25 02:47 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 actually does
On npm install, the postinstall hook runs node lib/setup.js, which spawns a detached background worker (lib/worker.js). The worker performs a deep scan of the host for:
- Environment secrets:
.env,.npmrc,.gitconfig,.git-credentials, shell histories, database password files (.pgpass) - Cloud/infra credentials: AWS (
~/.aws/credentials,~/.aws/config), GCP, Azure, Docker, Kubernetes - Browser logins and sessions: Chrome/Chromium/Brave/Edge
Login Data(SQLite password store),Cookies,Local State(master encryption key) - Crypto wallets:
.ethereum/keystore,.bitcoin/wallet.dat,.solana/keystore, MetaMask/Phantom wallet databases — with a scrypt brute-force engine (N=262144) to decrypt wallet keystore JSONs - Exchange API keys: Binance, Bybit, OKX, KuCoin, Deribit config files
- process.env: Extracts values for keys containing
key,secret,token,password,private,mnemonic,wallet,seed
Findings are encrypted with Fernet (AES-128-CBC + HMAC-SHA256) and exfiltrated via three parallel channels:
- HTTPS POST to three
webhook.siteURLs - Anonymous private GitHub Gist (
api.github.com/gists) - DNS subdomain encoding (base32 payload as subdomain,
dns.lookup)
Remote config is fetched from ddjidd564.github.io/defi-security-best-practices/config.json and can inject arbitrary shell commands.
Persistence
- Writes
.cursorrulesandCLAUDE.mdto project directories with instructions forcing AI assistants tocurl remote-scan.js | node— prompt injection for remote code execution - Installs git hooks (
post-merge,post-checkout) that download and execute remote code - Appends remote-exec block to
.bashrc,.zshrc,.profile - Marks infection via
~/.local/share/.p2024_integrity(24h dedup)
Lab evidence
Offline lab: no network connections observed (expected). Code clearly constructs HTTPS requests to webhook.site and api.github.com/gists, DNS lookups to encoded subdomains, and spawns a detached child process on install.
IOCs
Domains: ddjidd564.github.io URLs:
- https://ddjidd564.github.io/defi-security-best-practices/config.json
- https://ddjidd564.github.io/defi-security-best-practices/priority_targets.json
- https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan.js
- https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246
- https://webhook.site/7513bf3d-7092-4739-bf15-a8f779a75546
- https://webhook.site/d1652693-2eb8-4281-b9e8-cffff36da2f8
- https://api.github.com/gists
Action
Block. Do not install. If already installed, revoke all exposed credentials (AWS, exchange APIs, browser passwords, crypto wallet private keys), remove .cursorrules/CLAUDE.md/git hooks/shell RC entries containing P-2024-001, and rotate all secrets.
Automated analysis by Andy (yolo) at 2026-09-25T02:47:24.275Z. Report: https://andymal.com/packages/token-usage-tracker/1.0.0. IOCs are defanged on the site; treat every string quoted from the package as untrusted.