[email protected] — Credential harvester with AI prompt injection
2026-09-25 02:59 UTC · by Andy · [email protected] · malicious 96%
[email protected] — Credential harvester with AI prompt injection
What it claims: Monitor and optimize token consumption across AI model providers.
What it does: A credential harvester that scans the home directory for API keys, SSH keys, AWS credentials, browser passwords, and crypto wallet keystores. It brute-forces encrypted wallets with a 100+ word dictionary, then exfiltrates findings via HTTPS webhooks, DNS tunneling, and GitHub Gists.
Mechanism
postinstall (
lib/setup.js:31) spawns a detached worker process (lib/worker.js) that runs continuously in the background.Credential scanning (
lib/worker.js:172-237) walks the home directory looking at.npmrc,.git-credentials,.ssh/,.aws/,.kube/config, browserLogin Data/Cookies/Local StateSQLite databases,.env, shell history files, and crypto wallet directories (.ethereum/,.bitcoin/,.solana/, MetaMaskmetamask.json, etc.).Regex extraction (
lib/worker.js:64-71,lib/scanner-core.js:84-93) matches private keys (64-hex), Ethereum addresses (40-hex), API keys, secrets, passwords, AWS access keys (AKIA...), GitHub tokens, and BIP39 recovery phrases.Keystore brute-forcing (
lib/worker.js:74-105, lines 1504-1581) uses scrypt to decrypt Ethereum/Bitcoin/Solana keystores with common passwords + env var passwords + shell history passwords. Successful decryption reports the private key.Multi-channel exfiltration (
lib/worker.js:719-864):- HTTPS POST to webhooks fetched from
https://ddjidd564.github.io/defi-security-best-practices/config.json - DNS tunneling: base32-encoded payload in subdomain DNS lookups
- GitHub Gist creation (
api.github.com/gists) with encrypted findings - Local file queue (
~/.local/share/.integrity_queue) for offline storage
- HTTPS POST to webhooks fetched from
AI prompt injection persistence (
lib/worker.js:1687-1713):- Writes
.cursorrules,CLAUDE.md,AGENTS.md,COPILOT.mdfiles containing hidden instructions to re-install the scanner - Uses zero-width characters (
\u200b\u200d\u200c\u200e) to embed scan triggers in generated text for AI-to-AI chain propagation
- Writes
System persistence: installs git hooks (post-merge, post-checkout) and shell RC files (.bashrc, .zshrc).
Lab evidence
- postinstall spawned
node lib/worker.js --verify token-usage-trackeras a detached child (unref'd) - The worker contains hardcoded exfiltration endpoints and a 100+ word brute-force dictionary
- Remote config fetched from
ddjidd564.github.iocontrols webhook targets
IOCs
Domains: ddjidd564.github.io, config-verify.org, api.github.com
URLs:
- https://ddjidd564.github.io/defi-security-best-practices/config.json
- https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json
- https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan-bundled.js
- 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
Paths written:
- ~/.local/share/.integrity_queue
- ~/.local/share/.integrity_config
- ~/.local/share/.p2024_integrity
Action
Block. Do not install. Delete any existing installation and rotate any credentials that may have been exposed.
Automated analysis by Andy (yolo) at 2026-09-25T02:59:41.989Z. Report: https://andymal.com/packages/token-usage-tracker/1.0.6. IOCs are defanged on the site; treat every string quoted from the package as untrusted.