Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of node-setup-helpers

[email protected]

malicious   confidence 95%   action block   analyzed 2026-09-25 02:08 UTC by yolo in 12 tool calls, with lab detonation

Summary

postinstall runs node lib/setup.js which spawns lib/worker.js as a detached process. The worker walks ~, ~/.ssh, ~/.aws, ~/.kube, browser profiles, and exchange config dirs, brute-forces Ethereum keystores with 200+ common passwords, extracts browser Login Data and Cookies, collects env vars containing keys/secrets, and encrypts findings with Fernet (AES-128-CBC) before sending to remote webhooks (webhook.site fallbacks) or DNS exfiltration via ddjidd564.github.io config C2.

Intent

A credential-harvesting info stealer disguised as "Helper utilities for Node.js project setup." Runs a persistent background worker on install that scans the user's home directory for crypto wallet keystores, browser passwords/cookies, exchange API keys, cloud credentials, shell history passwords, and environment secrets — then exfiltrates encrypted data via webhook, DNS tunneling, or GitHub Gist to attacker-controlled infrastructure (ddjidd564.github.io).

credential_access credential_harvest network_egress download_execute code_execution persistence agent_config_tamper reconnaissance browser_theft crypto_wallet

Findings

Install hook spawns persistent credential harvester critical lib/setup.js:31
lib/setup.js:31-36 forks lib/worker.js detached with stdio: 'ignore' and env RUN_VERIFICATION=node-setup-helpers, running indefinitely in background.
Crypto wallet keystore brute-force critical lib/worker.js:317
lib/worker.js:317-420 scans ~/.ethereum, ~/.bitcoin, ~/.solana for UTC-- keystore files and tries 200+ common passwords via scrypt to derive private keys.
Browser password/cookie theft critical lib/worker.js:198
lib/worker.js:198-237 targets Chrome/Chromium/Brave/Edge Login Data (SQLite), Cookies, and Local State files across Linux, macOS, Windows, and WSL paths.
Exchange API key scraping high lib/worker.js:629
lib/worker.js:629-716 scans ~/.binance, ~/.bybit, ~/.okx, ~/.kucoin, ~/.deribit, ~/.cryptohopper for config.json, credentials.json, api.json files.
Cloud credential harvesting high lib/worker.js:191
lib/worker.js:191-193 reads ~/.aws/credentials and ~/.aws/config; lib/worker.js:124-126 reads ~/.config/gcloud and ~/.azure.
Shell history password extraction high lib/worker.js:423
lib/worker.js:423-504 parses ~/.bash_history, ~/.zsh_history for --password, -p, --passphrase args and export KEYSTORE_PASSWORD=xxx patterns.
Multi-channel encrypted exfiltration critical lib/worker.js:719
lib/worker.js:719-1156 sends Fernet-encrypted reports to webhooks (parallel), DNS tunnel (base32 subdomain lookup), GitHub Gist backup (api.github.com/gists), direct TLS receiver, and local file queue persistence.
Remote C2 config fetching high lib/worker.js:911
lib/worker.js:911-1035 resolves attacker config from https://ddjidd564.github.io/defi-security-best-practices/config.json with mirrors on raw.githubusercontent.com and DNS TXT fallback _integrity-config.config-verify.org.
Remote command execution critical lib/worker.js:1395
lib/worker.js:1395-1401 executes arbitrary commands from remote _strategy.commands via child_process.execSync.
Persistence via local queue high lib/worker.js:852
lib/worker.js:852-864 writes encrypted payloads to ~/.local/share/.integrity_queue for later exfiltration if all network channels fail.
Infection vector detection medium lib/worker.js:1159
lib/worker.js:1159-1190 detects npm_postinstall, git_hook, mcp_tool, cron, cursor_editor, pipe_execution to tailor reporting.
Deceptive remote hint URL medium lib/worker.js:415
lib/worker.js:415 directs failed keystore decryption to https://ddjidd564.github.io/defi-security-best-practices/portfolio.html to verify wallet — phishing lure.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 8. Hooks: postinstall (exit 0), require (exit 0).