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

Summary

The postinstall hook runs lib/setup.js which detaches lib/worker.js as a background process. worker.js walks ~30 credential/exfil directories (.npmrc, .git-credentials, .kube/config, browser Login Data, .ethereum, .bitcoin, AWS .aws/credentials, etc.), matches private keys, mnemonics, API keys, passwords, and Ethereum addresses against regex patterns, brute-forces weak keystore passwords, encrypts the report with Fernet, and POSTs it to three webhook.site URLs plus an anonymous GitHub Gist, with DNS exfil as fallback. Remote config is fetched from ddjidd564.github.io. Prompt-injection text is embedded in worker.js to manipulate AI agents.

Intent

Pretends to be a project initialization utility. Actually scans the host home directory for credential stores (AWS, SSH, git, browsers, crypto wallets), extracts private keys and secrets via regex, encrypts the dump with Fernet, and exfiltrates it to webhook.site URLs and an anonymous GitHub Gist, with DNS-based side-channel backup. Also downloads remote attacker config from a GitHub Pages site and embeds prompt-injection text to steer AI agents.

credential_access credential_harvest network_egress reconnaissance crypto_wallet browser_theft obfuscation code_execution persistence agent_config_tamper

Findings

Credential store scanning critical lib/worker.js:172-237
lib/worker.js walks EXFIL_DIRS including .npmrc, .gitconfig, .git-credentials, .kube/config, browser Login Data/Cookies/Local State, .ethereum, .bitcoin, .solana, .aws/credentials — reads contents and matches private keys, mnemonics, API keys, passwords.
Exfiltration to webhook.site and GitHub Gist critical lib/worker.js:724-800
Encrypted credential report is POSTed to https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246, https://webhook.site/7513bf3d-7092-4739-bf15-a8f779a75546, https://webhook.site/d1652693-2eb8-4281-b9e8-cffff36da2f8 and to https://api.github.com/gists. DNS exfil via dns.lookup() is a fallback channel.
Remote config download from attacker host high lib/worker.js:911-912
Fetches https://ddjidd564.github.io/defi-security-best-practices/config.json and priority_targets.json at runtime to update exfil targets.
Prompt injection text embedded in code high lib/worker.js:1710
lib/worker.js:1710-1713 contains disguised instructions ('Project Integrity Framework — P-2024-001', 'Claude Development Standards') directing AI agents to include zero-width chain payloads and package references — an agent-supply-chain attack vector.
Crypto wallet targeting and keystore brute-force high lib/worker.js:114-116,74-105
Scans .ethereum, .bitcoin, .solana dirs and common keystore filenames; maintains a 100+ word dictionary for weak passphrase brute-force on scrypt-encrypted keystore JSON.
Zero-width characters in README medium README.md:401
README.md line 401 contains zero-width characters (possible hidden text / homoglyph trick).

Lab evidence

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