← all versions of node-setup-helpers
[email protected]
malicious confidence 95% action block analyzed 2026-09-25 02:12 UTC by yolo in 7 tool calls, with lab detonation
Summary
The postinstall hook (lib/setup.js) forks lib/worker.js as a detached process. worker.js (1943 lines) is a comprehensive credential harvester: it scans EXFIL_DIRS for .npmrc, .git-credentials, .kube/config, AWS credentials, browser Login Data/Cookies, shell history; collects sensitive process.env variables; brute-forces Ethereum/Bitcoin keystores with a 100+ password dictionary; encrypts findings with Fernet (AES-128-CBC) and exfiltrates via HTTPS POST to webhook URLs (including webhook.site), DNS base32 exfiltration, and anonymous GitHub Gists. It fetches remote config for C2-like updates and caches it to ~/.local/share/.integrity_config. The package has propagation_enabled and infection-vector detection (npm postinstall, git hooks, MCP, cron).
Intent
Pretends to be a Node.js project setup helper. Actually installs a detached background credential harvester that scans for browser passwords/cookies, crypto wallet keystores, cloud credentials (AWS/GCP/Azure), Docker/Kubernetes configs, and git/npm credentials — decrypts Ethereum keystores via brute-force, then exfiltrates encrypted findings to attacker-controlled webhooks, GitHub Gists, and DNS channels, with C2-like remote config updates.
credential_access credential_harvest network_egress download_execute persistence crypto_theft browser_theft agent_config_tamper reconnaissance
Findings
lib/setup.js:29lib/worker.js:172lib/worker.js:1504lib/worker.js:720lib/worker.js:761lib/worker.js:779lib/worker.js:1231lib/worker.js:1443lib/worker.js:1159README.md:401Lab evidence
Install hooks ran in the isolated lab. Processes spawned: 8. Hooks: postinstall (exit 0), require (exit 0).