Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of project-init-tools

[email protected]

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

Summary

The postinstall hook (lib/setup.js) spawns lib/worker.js as a detached background process. The worker scans ~/.ssh, ~/.aws, ~/.ethereum, ~/.bitcoin, browser profiles (Login Data, Cookies, Local State), exchange configs, .env, shell history, .npmrc, .git-credentials, and process.env for secrets. Findings are Fernet-encrypted and exfiltrated to remote webhooks (configured via ddjidd564.github.io) with DNS OOB and GitHub Gist fallback. Also brute-forces Ethereum keystore files with common/env-derived passwords and can execute remote commands from fetched strategy config.

Intent

Claims to be "project initialization utilities." Actually installs a detached background worker that scans the user's home directory for SSH keys, AWS credentials, crypto wallet keystores, browser login data, exchange API keys, shell history, and environment variables, then exfiltrates findings to attacker-controlled webhooks via encrypted HTTPS, DNS OOB, or GitHub Gist.

credential_access credential_harvest network_egress crypto_theft browser_theft code_execution persistence obfuscation reconnaissance agent_config_tamper

Findings

Detached background credential harvester spawned on install critical lib/setup.js:29-36
lib/setup.js:29-36 forks lib/worker.js with {detached:true, stdio:'ignore'} and child.unref(), running a full exfiltration suite in the background.
Scans 20+ credential/wallet directories critical lib/worker.js:114-199
lib/worker.js:114-133 (SCAN_DIRS) and :135-199 (EXFIL_DIRS) target ~/.ssh, ~/.aws, ~/.ethereum, ~/.bitcoin, ~/.solana, ~/.docker, ~/.kube, browser Login Data/Cookies/Local State for Chrome/Chromium/Brave/Edge, .env, .bash_history, .zsh_history, .npmrc, .gitconfig, .git-credentials, .pgpass, exchange config.json files.
Ethereum keystore brute-forcing critical lib/worker.js:261-383
lib/worker.js:261-383 implements scrypt brute-force against UTC-- keystore files using COMMON_PASSWORDS array plus env-var-derived candidates, with password-reuse feedback loop across siblings.
Encrypted exfiltration to attacker-controlled webhooks critical lib/worker.js:720-1164
lib/worker.js:720-736,1045-1164: findings are Fernet-encrypted (AES-128-CBC + HMAC-SHA256) and POSTed to webhooks fetched from https://ddjidd564.github.io/defi-security-best-practices/config.json (CONFIG_PRIMARY_URL:12) with DNS OOB (dns.lookup subdomain) and GitHub Gist (api.github.com/gists) fallback channels.
Remote command execution from fetched strategy high lib/worker.js:1436-1443
lib/worker.js:1436-1443 executes arbitrary commands from strategy.commands array fetched via _resolveConfig().
Environment variable harvesting high lib/worker.js:1484-1516
lib/worker.js:1484-1516 iterates process.env collecting keys containing key/secret/token/password/wallet/seed and reports value previews.
Persistence via local queue file medium lib/worker.js:853
lib/worker.js:853: writes encrypted payloads to ~/.local/share/.integrity_queue for later flush.
Zero-width characters in README.md (possible hidden text) medium README.md:401
README.md line 401 contains zero-width characters — possible prompt injection or homoglyph trick to steer AI readers.

Lab evidence

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