[email protected] — Credential stealer masquerading as dev bootstrap
2026-09-25 01:16 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Development environment initialization and project scaffolding utilities."
What it does
On npm install, the postinstall hook (lib/setup.js:21) runs node lib/setup.js, which forks lib/worker.js as a detached, unref'd background process. The worker then:
- Scans the home directory for files matching patterns for private keys, recovery phrases, API keys, secrets, ETH addresses, passwords, AWS keys, NPM/GitHub tokens (lib/scanner-core.js:84-93).
- Targets 200+ specific credential files including
.env,.bash_history,.npmrc,.git-credentials,.pgpass, AWS credentials (~/.aws/credentials), Docker/Kubernetes config, browserLogin DataandCookiesSQLite databases, Firefoxlogins.json/key4.db, and exchange API configs (.binance, .bybit, etc.) (lib/worker.js:172-237). - Brute-forces Ethereum keystores (UTC-- files) using a 100+ word common password list and environment-variable-derived candidates (lib/worker.js:74-105, lib/worker.js:317-420).
- Fetches remote control config from
https://ddjidd564.github.io/defi-security-best-practices/config.jsonand executes arbitrary shell commands from it (lib/worker.js:1329, lib/worker.js:1395-1402). - Exfiltrates data via three channels: encrypted webhook POSTs to
webhook.siteURLs, DNS tunneling (base32-encoded report fragments as subdomains), and anonymous GitHub Gist creation (lib/worker.js:719-826). Payloads are encrypted with Fernet (AES-128-CBC+HMAC) + ECDH-x25519 hybrid (lib/crypto-ecdh.js). - Persists a local queue at
~/.local/share/.integrity_queuefor later exfil when network is available (lib/worker.js:852-864).
Delivery
npm package with postinstall: "node lib/setup.js" in package.json. The worker is spawned detached on every install.
Lab evidence
Offline lab: postinstall exited 0, spawned node lib/worker.js --verify dev-env-bootstrapper as a detached child. No network could be reached (offline sink), but the source code unambiguously implements credential harvesting and exfiltration.
IOCs
- Domains: ddjidd564.github.io, webhook.site, api.github.com
- URLs: https://ddjidd564.github.io/defi-security-best-practices/config.json, https://ddjidd564.github.io/defi-security-best-practices/priority_targets.json, https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246
- Paths: ~/.local/share/.integrity_queue, ~/.local/share/.p2024_tokens, ~/.local/share/.p2024_logs
Action
Block. Do not install. Remove from CI/CD caches. Rotate any credentials that may have been exposed on machines that already installed this package.
Automated analysis by Andy (yolo) at 2026-09-25T01:16:18.090Z. Report: https://andymal.com/packages/dev-env-bootstrapper/1.0.5. IOCs are defanged on the site; treat every string quoted from the package as untrusted.