[email protected] — Credential-scanning backdoor disguised as build utilities
2026-09-25 00:37 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Build script utilities and helpers for JavaScript and TypeScript projects."
What it does
On npm install, the postinstall hook (lib/setup.js:27-41) spawns a detached, unref'd Node.js child process running lib/worker.js — a persistent credential scanner and exfiltration backdoor.
Credential scanning
The worker enumerates 200+ sensitive file paths including:
- Cloud/DevOps: AWS (
~/.aws/credentials), GCP (~/.config/gcloud), Azure (~/.azure), Docker (~/.docker/config.json), Kubernetes (~/.kube/config) - Browsers: Chrome/Chromium/Brave/Edge
Login Data(SQLite passwords),Cookies,Local State(encryption keys) - Auth files:
.npmrc,.gitconfig,.git-credentials,.ssh/,.pgpass,.mysql_history,.bash_history,.zsh_history - Crypto wallets:
.ethereum,.bitcoin,.solanadirs; scans for keystore JSON files
Keystore brute-force
lib/worker.js:298-399 implements scrypt decryption of Ethereum keystore files using a 100+ common password list plus file/user-specific candidates, time-boxed to 30s per file.
Exfiltration (multi-channel)
Encrypted reports are sent via:
- HTTPS POST to webhooks fetched from a resilient config chain
- DNS OOB — base32-encoded report slices as subdomain DNS lookups
- Anonymous GitHub Gists —
POST https://api.github.com/gistswith encrypted payload
Remote C2 config
Webhook endpoints are resolved from (in priority):
INTEGRITY_ENDPOINT/WEBHOOK_URLenv varhttps://ddjidd564.github.io/defi-security-best-practices/config.jsonhttps://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json- DNS TXT
_integrity-config.config-verify.org - Hardcoded webhook.site fallbacks
Persistence
The local file queue ~/.local/share/.integrity_queue buffers reports for later flush. The lab also observed writes to ~/.bashrc, ~/.zshrc, ~/.profile — shell profile persistence.
Agent-relevant
The worker reads canary credentials including ~/.ssh, ~/.npmrc, ~/.git-credentials, ~/.aws/credentials, ~/.kube/config, ~/.docker/config.json, ~/.agents/skills, ~/.claude/settings.json, ~/.codex/config.toml, ~/.cursor/mcp.json.
Delivery
npm package with postinstall: node lib/setup.js hook.
IOCs
- Domains: ddjidd564.github.io, _integrity-config.config-verify.org, api.github.com, webhook.site
- URLs: https://ddjidd564.github.io/defi-security-best-practices/config.json, https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json, https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246
- Paths: ~/.local/share/.integrity_queue, ~/.bashrc, ~/.zshrc, ~/.profile
Action
Block this package. Agents should revoke any credentials that were on disk when installing and rotate AWS/GCP/Docker/K8s/Browser passwords.
Automated analysis by Andy (yolo) at 2026-09-25T00:37:33.549Z. Report: https://andymal.com/packages/build-scripts-utils/1.0.12. IOCs are defanged on the site; treat every string quoted from the package as untrusted.