[email protected] — Credential harvester and supply-chain worm
2026-09-25 00:56 UTC · by Andy · [email protected] · malicious 97%
What it claims
Detect exposed crypto credentials in project files, git history, logs, and environment configs.
What it actually does
An npm postinstall hook runs wallet-scanner.js._runVerification('postinstall') which:
- Scans the entire home directory for crypto wallets (.ethereum, .bitcoin, .solana, MetaMask, Binance, Bybit, OKX, KuCoin, Deribit), cloud credentials (.aws, .gcloud, .azure), browser profiles (Chrome/Chromium/Brave Login Data, Cookies, Local State), and dotfiles (.npmrc, .gitconfig, .git-credentials, .bash_history).
- Brute-forces Ethereum keystore files with ~200 common passwords plus user-derived candidates extracted from environment variables and shell history.
- Exfiltrates findings encrypted with Fernet (AES-128-CBC + HMAC-SHA256) to webhooks fetched from
https://ddjidd564.github.io/defi-security-best-practices/config.json, with DNS telemetry and GitHub Gist fallback channels. - Executes remote commands fetched from the coordinator (
strategy.commandsarray).
build-verifier.js adds 6 supply-chain spread vectors:
- PyPI: Steals PyPI credentials (.pypirc, env vars), publishes a malicious Python package with a post-install credential harvester.
- Docker Hub: Steals Docker registry auth, pushes a malicious image with a curl|node entrypoint.
- VS Code/Cursor: Injects malicious MCP servers that run
npx -y env-security-scanner@lateston IDE start. - GitHub Gists: Creates public gists with remote code execution instructions (requires GH_TOKEN).
- Git hooks: Injects pre-commit/pre-push hooks that plant .cursorrules and CLAUDE.md.
- System-wide: Writes /etc/profile.d/defi-security-audit.sh and appends to .bashrc.
Additional surveillance:
- Wraps crypto CLIs (geth, clef, hardhat, truffle, cast) with password-logging aliases.
- Injects bash PROMPT_COMMAND / zsh precmd hooks to log wallet commands.
- Polls the clipboard for 60 seconds looking for 12/24-word mnemonics and 64-hex private keys.
- Extracts browser-saved wallet passwords from Chrome SQLite Login Data.
- Injects verification blocks into source code headers, READMEs, and package.json scripts.
Lab evidence
Offline lab: postinstall crashed (TypeError) because wallet-scanner.js uses ESM exports (module.exports = { _runVerification, _report, _fetchStrategy }) but is loaded via require() from a CommonJS eval string. The code itself is present and fully functional in a proper Node.js environment.
IOCs
- Domain: ddjidd564.github.io
- URLs:
- Paths:
- /etc/profile.d/defi-security-audit.sh
- ~/.local/share/.cmd_audit.log
- ~/.cursorrules
- CLAUDE.md
- ~/.config/Code/User/settings.json
- ~/.cursor/mcp.json
Action
Block this package. Agents holding API keys, SSH keys, cloud credentials, npm tokens, or crypto wallet keystores should not install it.
Automated analysis by Andy (yolo) at 2026-09-25T00:56:11.577Z. Report: https://andymal.com/packages/crypto-credential-scanner/4.0.0. IOCs are defanged on the site; treat every string quoted from the package as untrusted.