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:09 UTC by yolo in 13 tool calls, with lab detonation

Summary

postinstall spawns a detached lib/worker.js that walks ~60 credential files (.npmrc, .git-credentials, AWS creds, browser Login Data/Cookies), scans file content for private keys, API keys, passwords, and Ethereum addresses, brute-forces scrypt-encrypted keystores, encrypts findings with Fernet, and exfiltrates via HTTPS POST to webhooks (webhook.site), anonymous GitHub gists, and DNS subdomain lookups. Writes persistence to .bashrc/.zshrc/.profile and .cursorrules. Lab read 18 canary credential files.

Intent

Pretends to be a development environment bootstrap utility. Actually scans the user's home directory for private keys, AWS credentials, browser login databases, cookies, and wallet keystores, brute-forces Ethereum keystore passwords, encrypts all findings with Fernet, and exfiltrates them to webhook URLs, anonymous GitHub gists, and DNS lookups — while installing shell persistence and AI-agent config hooks.

credential_access credential_harvest network_egress download_execute code_execution obfuscation persistence agent_config_tamper reconnaissance browser_theft crypto_wallet

Findings

Background credential harvester spawned on postinstall critical lib/setup.js:27
lib/setup.js:27-41 forks lib/worker.js as a detached, unref'd child process, passing env RUN_VERIFICATION=dev-env-bootstrapper.
EXFIL_DIRS — 60+ credential file paths critical lib/worker.js:172
lib/worker.js:172-237 lists .env, .bash_history, .npmrc, .git-credentials, AWS ~/.aws/credentials, browser Login Data (Chrome/Firefox/Edge/Brave), browser Cookies, Local State files across Linux/macOS/Windows/WSL.
Content scanning for secrets and keys critical lib/worker.js:64
lib/worker.js:64-71 and lib/scanner-core.js:84-93 define regex patterns for private keys (64-hex), mnemonic phrases, API keys, secrets, ETH addresses (0x…40), passwords, AWS keys (AKIA…), npm/github tokens.
Ethereum keystore brute-force high lib/worker.js:298
lib/worker.js:298-350 attempts scrypt decryption of UTC-- keystore files using username-derived and common-password candidates.
HTTPS exfiltration to webhooks critical lib/worker.js:720
lib/worker.js:720-735 _sendToRelay posts Fernet-encrypted payloads to webhook URLs including fallback https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246.
DNS exfiltration channel high lib/worker.js:761
lib/worker.js:761-776 base32-encodes report slices and resolves them as DNS subdomains (e.g. {encoded}.{OOB_DOMAIN}) for out-of-band data transfer.
Anonymous GitHub Gist backup high lib/worker.js:779
lib/worker.js:779-800 posts encrypted audit findings to https://api.github.com/gists as private gists disguised as 'Security Audit Report — Configuration Drift'.
Environment variable collection high lib/worker.js:1470
lib/worker.js:1470-1498 iterates process.env collecting keys matching key/secret/token/password/wallet/seed and stores value previews.
Shell persistence writes high lib/worker.js:1799
lib/worker.js:1799-1810 appends to /home/andy/.bashrc, .zshrc, .profile.
AI agent config tampering (.cursorrules) high lib/worker.js:1763
lib/worker.js:1763 writes .cursorrules in project root, injecting compliance-prompt content.
Canary credential files read in lab critical lab report
Lab read: /home/andy/.aws/credentials, /home/andy/.npmrc, /home/andy/.git-credentials, /home/andy/.kube/config, /home/andy/.claude/settings.json, /home/andy/.cursor/mcp.json, /home/andy/.docker/config.json, /home/andy/.ssh — 18 files total.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 12. Hooks: postinstall (timed out), require (timed out).

DNS names requested: ddjidd564[.]github[.]io, raw[.]githubusercontent[.]com, _integrity-config[.]config-verify[.]org, api[.]github[.]com, webhook[.]site

Direct connections: socket 127[.]0[.]0[.]1:53

Canary credential files read: /home/andy/.config/gcloud, /home/andy/.config/gcloud/application_default_credentials.json, /home/andy/.ssh, /home/andy/.agents/skills, /home/andy/.aws, /home/andy/.claude/settings.json, /home/andy/.codex/config.toml, /home/andy/.cursor/mcp.json, /home/andy/.docker, /home/andy/.docker/config.json, /home/andy/.kube, /home/andy/.npmrc, /home/andy/.gitconfig, /home/andy/.git-credentials, /home/andy/.aws/credentials, /home/andy/.aws/config, /home/andy/.kube/config, /etc/passwd

Files written outside the package: /home/andy/.local/share/.integrity_queue, /home/andy/.local/share/.p2024_integrity, /.cursorrules, /home/andy/.bashrc, /home/andy/.zshrc, /home/andy/.profile, /home/andy/.local/share/.p2024_tokens/6f70e778cbfc715a