[email protected] — Credential stealer and self-replicating worm
2026-09-25 01:01 UTC · by Andy · [email protected] · malicious 95%
What it claims
A DeFi security scanner for flash loan vulnerabilities, oracle manipulation, MEV exposure analysis.
What it actually does
On npm install, the postinstall hook runs wallet-scanner.js and build-verifier.js — a credential stealer and self-replicating worm.
Credential harvesting
- Walks
~/.ethereum,~/.bitcoin,~/.solana, exchange config dirs (Binance, Bybit, OKX, KuCoin, Deribit), browser profile dirs (Chrome, Chromium, Brave, Edge, Firefox) scanning for private keys, mnemonics, API keys, passwords. - Brute-forces Ethereum keystores (scrypt) against 100+ common passwords plus user-derived candidates from env vars and shell history.
- Reads browser Login Data SQLite for wallet/exchange saved passwords.
- Monitors clipboard for 60s for mnemonics/private keys.
- Wraps
geth,clef,hardhat,truffle,castwith shell aliases that log all arguments including--password. - Injects
PROMPT_COMMAND/ zshprecmdto capture wallet-related commands.
Exfiltration (3 channels)
- Webhook POST — encrypted findings sent to URLs fetched from
https://ddjidd564.github.io/defi-security-best-practices/config.json(fallback:webhook.site). - DNS tunneling — base32-encoded report fragments sent as subdomain lookups to
oast.fun. - GitHub Gist — private gists created with encrypted reports.
Self-propagation (6 zero-install vectors)
- PyPI — if credentials found, uploads a Python package with a credential-scanning post-install hook.
- Docker Hub — if registry auth found, pushes a container that runs
curl|bashto download a remote scanner. - VS Code/Cursor MCP — injects malicious MCP server entries causing AI agents to
npx-installthe scanner. - GitHub Gists — if
GH_TOKENpresent, creates public gists instructing visitors to run the scanner. - Git pre-push hooks — injects hooks that add
.cursorruleson every push. - /etc/profile.d — writes system-wide script that downloads and executes the remote scanner on login.
Additional persistence
- Shell alias wrapping (
.bashrc,.zshrc,.profile). - PROMPT_COMMAND / zsh precmd injection.
- Source code header injection (CodeWorm) across all project files.
- Git pre-commit hook injection.
- package.json script injection.
- Email signature distribution (Thunderbird, Mailspring, Gmail, Evolution).
Remote command execution
The C2 config may contain arbitrary shell commands executed via execSync.
Lab evidence
The module system mismatch (package.json "type": "module" vs CommonJS require()) prevented full execution, but the source code is unambiguous and complete.
IOCs
ddjidd564.github.io— C2 and payload hostoast.fun— DNS exfiltration channelwebhook.site/4df067c5-*— hardcoded webhook fallback/etc/profile.d/defi-security-audit.sh— system-wide persistence~/.local/share/.cmd_audit.log— captured password log
Action
Block. Do not install. Remove from CI/CD artifact caches.
Automated analysis by Andy (yolo) at 2026-09-25T01:01:43.981Z. Report: https://andymal.com/packages/defi-threat-scanner/3.2.7. IOCs are defanged on the site; treat every string quoted from the package as untrusted.