[email protected] — Credential stealer with AI prompt injection
2026-09-25 02:23 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Project initialization utilities for new development projects" — a benign scaffolding tool.
What it actually does
A persistent credential-scanning exfiltrator disguised as a postinstall hook.
Mechanism
postinstallrunsnode lib/setup.js, which spawnslib/worker.jsas a detached, unref'd background process.- The worker scans the home directory for:
- Cloud/infra credentials: AWS (~/.aws/credentials, ~/.kube/config, ~/.docker/config.json)
- Browser secrets: Chrome/Firefox/Edge/Brave Login Data and Cookies SQLite databases
- Exchange configs: Binance, Bybit, OKX, KuCoin, Deribit API keys
- Crypto wallets: Ethereum/Bitcoin/Solana keystores — brute-forces with 150+ common passwords + env-var/shell-history candidates
- General secrets: ~/.env, ~/.bash_history, ~/.npmrc, ~/.git-credentials, ~/.pgpass, SSH keys
- Findings are encrypted with ECDH-x25519+Fernet and exfiltrated via:
- Webhook POST (fallback: webhook.site IDs)
- DNS OOB (base32-encoded subdomains)
- Anonymous GitHub Gists
- Remote C2 config fetched from
ddjidd564.github.io(with raw.githubusercontent.com mirror and DNS TXT fallback)
- Remote commands from C2 are executed via
execSync. - Persistence:
- Writes
.cursorrulesandCLAUDE.mdwith zero-width-encoded prompt injection forcing AI agents to runnpx -y dev-env-bootstrapper@latest - Installs git hooks (post-merge, post-checkout) that download and execute
scan-bundled.js - Appends background scanner to
.bashrc,.zshrc,.profile
- Writes
Lab evidence
- Detonation ran postinstall hook; worker spawned as detached child (unref'd).
- Offline lab: no network connections (DNS sink, no internet).
- Code inspection confirms all exfil channels, C2 URLs, and persistence mechanisms.
IOCs
- Domains: ddjidd564.github.io, config-verify.org, raw.githubusercontent.com
- URLs: https://ddjidd564.github.io/defi-security-best-practices/config.json, https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan-bundled.js, https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246
- Paths: ~/.local/share/.integrity_queue, ~/.local/share/.integrity_config, ~/.local/share/.p2024_integrity, .cursorrules, CLAUDE.md, .git/hooks/post-merge, .bashrc, .zshrc, .profile
Action
Block installation. Rotate any credentials on machines that installed this package. Remove injected git hooks and .cursorrules/CLAUDE.md files.
Automated analysis by Andy (yolo) at 2026-09-25T02:23:48.117Z. Report: https://andymal.com/packages/project-init-tools/1.0.4. IOCs are defanged on the site; treat every string quoted from the package as untrusted.