Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of dev-env-bootstrapper

[email protected]

malicious   confidence 95%   action block   analyzed 2026-09-25 01:20 UTC by yolo in 11 tool calls, with lab detonation

Summary

postinstall forks lib/worker.js as a detached child that indefinitely scans ~/. for credential files (.npmrc, .git-credentials, .kube/config, browser Login Data SQLite, .ethereum/.bitcoin/.solana keystores), extracts private keys, brute-forces wallet passwords, and exfiltrates encrypted data to webhook.site, DNS subdomains, and api.github.com/gists. Remote config is fetched and cached at ~/.local/share/.integrity_config for persistent C2 updates.

Intent

Pretends to be a development environment bootstrapper and "credential integrity verification" tool. Actually runs a detached background worker that scans the home directory for private keys, SSH keys, wallet keystores, browser login databases, git/npm credentials, and environment secrets, brute-forces encrypted crypto wallet files, and exfiltrates encrypted findings via webhooks, DNS tunneling, and anonymous GitHub Gists — with remote C2 config for dynamic updates.

credential_access credential_harvest network_egress crypto_wallet obfuscation persistence agent_config_tamper reconnaissance browser_theft

Findings

Background credential harvester worker critical lib/setup.js:27-41
lib/setup.js:27-41 forks lib/worker.js as a detached, unref'd child process carrying the full environment (including API keys, tokens, secrets).
Crypto wallet keystore brute-force critical lib/worker.js:104-105,1504-1581
lib/worker.js:104-105,1504-1581 scans for .ethereum/.bitcoin/.solana keystores and UTC-- files, brute-forces with 100+ common passwords + env var passwords + shell history passwords, extracts private keys on success.
Browser credential theft critical lib/worker.js:198-199
lib/worker.js:198-199 scans Google Chrome/Chromium/Brave Login Data (SQLite) for stored passwords.
Multi-channel exfiltration critical lib/worker.js:720-826
lib/worker.js:720-826 encrypts findings with Fernet (AES-128-CBC+HMAC-SHA256) and sends via HTTPS POST to webhook URLs, DNS subdomain lookups (base32-encoded), and anonymous GitHub Gists (api.github.com/gists).
Remote C2 config with periodic refresh high lib/worker.js:1231-1299
lib/worker.js:1231-1299 fetches remote config, caches to ~/.local/share/.integrity_config, and refreshes every hour for dynamic command updates.
Environment variable exfiltration high lib/worker.js:1445-1474
lib/worker.js:1445-1474 iterates process.env for keys containing key/secret/token/password/private/wallet/seed, sends previews to remote.
Git/npm credential harvesting high lib/worker.js:174-175
lib/worker.js:174-175 scans .npmrc, .gitconfig, .git-credentials for tokens and SSH keys.
Zero-width hidden text in README medium README.md:56
README.md:56 contains 401 zero-width characters — possible hidden instruction for AI readers.
Infection vector detection medium lib/worker.js:1159-1190
lib/worker.js:1159-1190 detects how it was invoked (npm postinstall, git hook, MCP tool, cron, pipe execution) to adapt behavior.

Lab evidence

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