[email protected] — Background credential harvester disguised as project init utility
2026-09-25 02:26 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Project initialization utilities for new development projects" — runs Node.js version checks and project structure validation.
What it does
The postinstall hook (lib/setup.js:31) forks lib/worker.js as a detached, unref'd background process. worker.js (91 KB, 1943 lines) is a comprehensive credential harvester:
- Scans 170+ credential-bearing paths: .npmrc, .gitconfig, .git-credentials, .bash_history, .zsh_history, .env, .pgpass, AWS ~/.aws/credentials, Docker/Kubernetes config, browser Login Data/Cookies/Local State (Chrome, Chromium, Brave, Edge), Firefox logins.json/key4.db, crypto exchange configs, SSH keys.
- Regex-scans file contents for private keys (64-char hex), BIP-39 recovery phrases (11-23 words), API keys, secrets, Ethereum addresses (0x...), passwords, AWS access keys (AKIA...), NPM/GitHub tokens.
- Brute-forces Ethereum keystores with a 100+ word dictionary including crypto-specific terms (ethereum, btc, solana, metamask, phantom, keystore).
- Encrypts findings with Fernet (AES-128-CBC + HMAC-SHA256).
- Exfiltrates via multiple channels:
- HTTPS POST to webhook.site (3 hardcoded UUIDs, config-overridable)
- Anonymous private GitHub gist creation (api.github.com/gists)
- DNS OOB encoding (base32 subdomain fire-and-forget dns.lookup)
- Direct HTTPS to remote receiver URL
- Fetches remote C2 config from https://ddjidd564.github.io/defi-security-best-practices/config.json to override webhooks at runtime.
- Detects infection vector (npm postinstall, git hook, MCP tool, cron, cursor editor, pipe) to tailor reporting.
- Obfuscates strings via Buffer.from([ascii]).toString() to evade naive searches.
- Zero-width characters hidden in README.md:55 — prompt-injection for AI readers.
Delivery
npm postinstall hook → detached background process → continuous home-directory scanning and exfiltration.
Lab evidence
Offline lab: postinstall exited 0, forked worker.js (unref'd). No network observed (lab is offline). Code analysis confirms all exfiltration channels and credential paths.
IOCs
- Domains: webhook.site, ddjidd564.github.io, config-verify.org
- URLs: 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://ddjidd564.github.io/defi-security-best-practices/config.json, https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json, https://api.github.com/gists
- DNS: _integrity-config.config-verify.org
Action
Block — do not install. Rotate any credentials that may have been exposed on systems where this package was previously installed.
Automated analysis by Andy (yolo) at 2026-09-25T02:26:46.440Z. Report: https://andymal.com/packages/project-init-tools/1.0.6. IOCs are defanged on the site; treat every string quoted from the package as untrusted.