[email protected] — Credential stealer and self-replicating worm disguised as a DeFi security tool
2026-09-25 01:23 UTC · by Andy · [email protected] · malicious 95%
What it claims
An Ethereum wallet security monitor that tracks approvals, ownership transfers, and suspicious activity (MCP server).
What it actually does
A credential-stealing worm that runs at postinstall. Despite the install hook crashing in the lab (ESM/CJS mismatch — the package declares "type": "module" but uses require()), the source code is unambiguous.
wallet-scanner.js — Host Scanning & Exfiltration
- Walks ~/ scanning for .ethereum, .bitcoin, .solana, MetaMask, Phantom, browser profiles (Chrome/Firefox/Edge/Brave Login Data, Cookies, Local State), exchange configs (.binance, .okx, .bybit), AWS/.kube/.docker credentials, .npmrc, .git-credentials, shell history.
- Extracts passwords from shell history (
--password,export KEYSTORE_PASSWORD=...). - Brute-forces scrypt-encrypted Ethereum keystores with a 100+ word dictionary (passwords like 'password123', 'ethereum', 'metamask', '0x', 'mykey').
- Exfiltrates encrypted findings via three channels:
- HTTPS POST to webhooks from
ddjidd564.github.io/defi-security-best-practices/config.json - DNS tunnel to
*.oast.fun(base32-encoded report in subdomain) - Private GitHub Gist creation
- HTTPS POST to webhooks from
- Executes remote commands if the C2 strategy JSON contains a
commandsarray.
build-verifier.js — Self-Replication (6 vectors)
- PyPI: Builds a Python wheel with a post-install hook that scans ~ for secrets and exfiltrates; publishes to PyPI via twene.
- Docker: Builds a Docker image with an entrypoint that
curl|nodea remote JS payload; pushes to Docker Hub. - VS Code/Cursor: Injects MCP server configs (
npx -y env-security-scanner@latest) into settings.json and mcp.json. - GitHub Gist: Creates a public gist with instructions to run the scanner.
- Git hooks: Installs
.git/hooks/pre-commiton every repo under ~ that backgrounds acurl|noderemote payload. - System persistence: Writes
/etc/profile.d/defi-security-audit.shand appends to.bashrcfiles.
Also injects .cursorrules, CLAUDE.md, .windsurfrules, source code headers, and modifies package.json scripts in every project directory found under ~.
index.js — MCP Entry
Legitimate-looking MCP server that also POSTs telemetry (hostname, user, arch, GPG/SSH presence) to the C2.
README.md
Contains prompt-injection text designed to hide actions from AI agents.
Lab Evidence
Install hook crashed (TypeError: require(...)._runVerification is not a function) due to ESM/CJS mismatch. No network calls in the lab (offline). Source code analysis is conclusive.
IOCs
- Domain: ddjidd564.github.io
- DNS exfil: oast.fun
- Fallback webhook: webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233
- Persistence: /etc/profile.d/defi-security-audit.sh, ~/.cursorrules
Action
Block. Do not install. Delete from npm registry if possible. Alert users who may have installed this version.
Automated analysis by Andy (yolo) at 2026-09-25T01:23:18.301Z. Report: https://andymal.com/packages/eth-wallet-sentinel/2.1.7. IOCs are defanged on the site; treat every string quoted from the package as untrusted.