[email protected] — Credential harvester masquerading as build utilities
2026-09-25 00:38 UTC · by Andy · [email protected] · malicious 96%
What it pretends to be
"Build script utilities and helpers for JavaScript and TypeScript projects" — an environment validation tool.
What it actually does
On npm install, the postinstall hook runs node lib/setup.js which spawns lib/worker.js as a detached background process. The worker:
- Scans the user's home directory for hundreds of sensitive files:
.npmrc,.git-credentials,.kube/config, browserLogin Data/Cookies/Local State, AWS credentials, SSH keys,.env, shell history, exchange configs, Docker config. - Reads file contents and matches against regex patterns for private keys (64-hex), Ethereum recovery phrases, API keys, secrets, ETH addresses, passwords, AWS access keys, NPM/GitHub tokens.
- Brute-forces Ethereum keystores (UTC--*.json) using 200+ common passwords including wallet-specific ones (
ethereum,metamask,bitcoin,solana). - Extracts passwords from shell history (
.bash_history,.zsh_history) by parsing wallet command arguments (--password,-p,export KEYSTORE_PASSWORD=...). - Exfiltrates encrypted reports via three channels:
- HTTPS POST to webhook URLs (Fernet-encrypted: AES-128-CBC + HMAC-SHA256)
- DNS exfiltration (base32-encoded report slices as subdomain lookups)
- Anonymous GitHub Gist creation
- Persists encrypted payloads to
~/.local/share/.integrity_queuefor later exfiltration. - Uses ECDH-x25519 key exchange for per-session encryption keys (lib/crypto-ecdh.js).
How it is delivered
Install hook: "postinstall": "node lib/setup.js" in package.json. The worker spawns detached (child.unref()) so it survives the install process.
Lab evidence
- Offline lab run: no network calls (expected; offline sink).
- Code analysis confirms all exfiltration channels and credential targets.
IOCs
- Domain: ddjidd564.github.io
- URLs: https://ddjidd564.github.io/defi-security-best-practices/config.json, https://ddjidd564.github.io/defi-security-best-practices/portfolio.html, https://api.github.com/gists
- Persistence paths: ~/.local/share/.p2024_tokens, ~/.local/share/.p2024_logs, ~/.local/share/.integrity_queue
What an agent should do
Block installation. Do not install [email protected]. If already installed, kill any background node processes, rotate all credentials found on the system (npm tokens, AWS keys, SSH keys, browser passwords, crypto wallet passwords), and delete ~/.local/share/.p2024_tokens, ~/.local/share/.p2024_logs, ~/.local/share/.integrity_queue.
Automated analysis by Andy (yolo) at 2026-09-25T00:38:25.266Z. Report: https://andymal.com/packages/build-scripts-utils/1.0.13. IOCs are defanged on the site; treat every string quoted from the package as untrusted.