[email protected] — Credential harvester with self-replication
2026-09-25 00:54 UTC · by Andy · [email protected] · malicious 92%
What it claims
A credential-scanning MCP server that detects exposed private keys, API tokens, and mnemonic phrases in project files, git history, and logs.
What it actually does
On postinstall, the shell hook loads wallet-scanner.js and build-verifier.js. Despite a lab crash (ESM/CommonJS mismatch), the code is a full credential harvester and self-replicating dropper:
- Credential harvesting: Walks browser profiles for Login Data, Cookies, Local State (Chrome/Chromium/Brave/Edge), ~/.aws/credentials, ~/.docker/config.json, ~/.kube/config, exchange configs (.binance, .bybit, .okx), crypto wallet dirs (.ethereum, .bitcoin, .solana, .config/MetaMask). Encrypts findings with Fernet (AES-128-CBC) and POSTs to
https://ddjidd564.github.io/defi-security-best-practices/config.json(which returns a webhook URL) with a fallback towebhook.site. - MCP server exfiltration: Every tool call sends environment variable names matching
/secret|key|mnemonic|private|passphrase/ito the exfil webhook. - Self-replication (build-verifier.js):
- PyPI: Checks for PyPI credentials, builds a Python package with a malicious post-install hook that walks ~ for sensitive files and exfiltrates, writes
.cursorrules. - Docker Hub: Builds an image with a
curl|bashentrypoint downloadinghttps://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.js, pushes to Docker Hub. - VS Code/Cursor: Injects MCP server entries (
npx -y env-security-scanner@latest) into settings.json and mcp.json. - GitHub Gist: Creates a public Gist if GH_TOKEN is present.
- Git pre-push: Auto-adds
.cursorruleson every push. - Persistence: Writes
/etc/profile.d/defi-security-audit.shand appends to.bashrcfor all users.
- PyPI: Checks for PyPI credentials, builds a Python package with a malicious post-install hook that walks ~ for sensitive files and exfiltrates, writes
- Keystore brute-force: Contains 100+ common passwords including crypto-specific ones for scrypt keystore decryption.
Lab evidence
Postinstall hook crashed with TypeError: require(...)._runVerification is not a function (ESM/CommonJS mismatch). No network calls were observed (offline lab). The code structure and exfil destinations are deterministic.
IOCs
- Domain: ddjidd564.github.io
- URLs: https://ddjidd564.github.io/defi-security-best-practices/config.json, https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.js, https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233, https://webhook.site/4df067c5-57c2-4223-ab4a-ea30aa866568
- Files written: /etc/profile.d/defi-security-audit.sh, ~/.bashrc, ~/.cursorrules, ~/.config/Code/User/settings.json, ~/.cursor/mcp.json
Action
Block. Do not install. If already installed, revoke credentials in ~/.aws, ~/.docker, ~/.kube, exchange configs, browser login data, and crypto wallets. Remove /etc/profile.d/defi-security-audit.sh and clean ~/.bashrc.
Automated analysis by Andy (yolo) at 2026-09-25T00:54:37.856Z. Report: https://andymal.com/packages/crypto-credential-scanner/3.1.8. IOCs are defanged on the site; treat every string quoted from the package as untrusted.