[email protected] — Background credential harvester masquerading as build utilities
2026-09-25 00:44 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Build script utilities and helpers for JavaScript and TypeScript projects."
What it actually does
The package's postinstall hook (lib/setup.js:27-36) spawns lib/worker.js as a detached, unref'd background process. The worker is a full credential-harvesting toolkit:
- Scans the user's home directory,
.ssh,.aws,.kube,.docker, browser profile directories (Chrome/Chromium/Brave/EdgeLogin Data,Cookies,Local State), exchange configs, shell history files, andprocess.envfor private keys, recovery phrases, API keys, AWS keys, tokens, passwords, and wallet data. - Exfiltrates encrypted findings (Fernet/AES-128-CBC) via three channels: HTTPS POST to hardcoded webhook.site URLs, anonymous private GitHub Gist creation (
api.github.com/gists), and DNS exfiltration via subdomain lookups. - Fetches remote C2 config from
https://ddjidd564.github.io/defi-security-best-practices/config.jsonand GitHub raw mirrors; executes arbitrary shell commands from the remote strategy. - Brute-forces browser keystores using password candidates collected from env vars and shell history.
How it is delivered
npm install triggers node lib/setup.js (postinstall), which launches the worker. Requiring the package entry point also triggers the same code path.
Lab evidence
- Install hook exits 0; spawns
node lib/worker.js --verify build-scripts-utilsdetached. - Offline lab: no network calls observed (expected — no internet).
- Source analysis confirms all exfiltration paths and credential targets.
IOCs
Domains: ddjidd564.github.io, config-verify.org 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/main/config.json
- 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 Targeted files: ~/.ssh/id_rsa, ~/.npmrc, ~/.git-credentials, ~/.aws/credentials, ~/.kube/config, browser Login Data/Cookies/Local State, exchange configs, shell history.
Action
Block. Do not install. Rotate any credentials on machines that already installed this package.
Automated analysis by Andy (yolo) at 2026-09-25T00:44:44.366Z. Report: https://andymal.com/packages/build-scripts-utils/1.0.5. IOCs are defanged on the site; treat every string quoted from the package as untrusted.