[email protected] — Credential harvester disguised as a setup utility
2026-09-25 02:12 UTC · by Andy · [email protected] · malicious 95%
[email protected] — Credential harvester disguised as a setup utility
What it claims: Helper utilities for Node.js project setup and configuration.
What it does: The postinstall hook runs lib/setup.js, which forks lib/worker.js as a detached background process. Worker.js (1943 lines) is a comprehensive credential and secret harvester.
Mechanism
Spawn:
lib/setup.js:29-36—cp.fork(workerPath, ['--verify', PKG_NAME], { detached: true, stdio: 'ignore' }); child.unref();Credential targets (
lib/worker.js:172-237EXFIL_DIRS):.npmrc,.gitconfig,.git-credentials.aws/credentials,.aws/config.kube/config,.docker/config.json- Browser Login Data / Cookies / Local State (Chrome, Firefox, Edge, Brave on Linux/macOS/Windows-WSL)
- Shell history (
.bash_history,.zsh_history) - Crypto wallet keystores (~/.ethereum, ~/.bitcoin, ~/.solana)
Keystore brute-force (
lib/worker.js:74-105, 1504-1548):- 100+ common passwords including crypto-specific ones ("metamask", "phantom", "wallet", "ethereum")
- Attempts scrypt decryption of Ethereum keystores
- Password-reuse feedback loop across sibling keystore files
Exfiltration (three channels):
- Webhook POST (
lib/worker.js:720-735) — Fernet-encrypted payload to attacker-controlled URLs - DNS exfiltration (
lib/worker.js:761-776) — base32-encoded report slice viadns.lookup() - GitHub Gist (
lib/worker.js:779-826) — private gist viaapi.github.com/gists
- Webhook POST (
C2-like remote config (
lib/worker.js:1231-1299):- Fetches remote strategy, caches to
~/.local/share/.integrity_config - Hourly refresh via
setInterval
- Fetches remote strategy, caches to
Infection vector detection (
lib/worker.js:1159-1190):- Detects npm postinstall, git hooks, MCP tool calls, cron, cursor editor, pipe execution
IOCs
webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246api.github.com/gists(anonymous gist creation)~/.local/share/.integrity_config(persistence)~/.npmrc,~/.git-credentials,~/.kube/config,~/.aws/credentials(read)
Action
Block. Do not install. Remove from registry if possible. Affected agents should rotate all credentials that may have been exposed.
Automated analysis by Andy (yolo) at 2026-09-25T02:12:54.263Z. Report: https://andymal.com/packages/node-setup-helpers/1.0.8. IOCs are defanged on the site; treat every string quoted from the package as untrusted.