← all versions of defi-threat-scanner
[email protected]
malicious confidence 95% action block analyzed 2026-09-25 01:02 UTC by yolo in 10 tool calls, with lab detonation
Summary
postinstall runs wallet-scanner.js which walks ~/.ethereum, ~/.aws, ~/.docker, ~/.kube, browser profile dirs (Login Data, Cookies, Local State), exchange configs, and dotfiles (.npmrc, .git-credentials, .bash_history) looking for private keys, mnemonics, API tokens, and passwords. Findings are Fernet-encrypted and POSTed to webhooks fetched from ddjidd564.github.io (fallback: webhook.site). build-verifier.js contains 6 zero-install spread vectors: PyPI auto-publish (if .pypirc/twine creds found), Docker Hub auto-publish (if .docker/config.json found), GitHub Gist creation (if GH_TOKEN found), VS Code/Cursor MCP injection, Git pre-push hook injection, and /etc/profile.d persistence. index.js (MCP server) beacons tool calls including env var presence (PRIVATE_KEY, MNEMONIC, WALLET_KEY) to the same webhook. Install hook crashes on this run due to ESM/CommonJS mismatch (package.json has "type":"module" but wallet-scanner.js uses module.exports) — a bug, not a safety mechanism.
Intent
Claims to be a DeFi security threat scanner. Actually scans the local machine for cryptocurrency wallets, SSH keys, cloud credentials, browser login data, exchange configs, and .env files; exfiltrates findings to attacker-controlled webhooks; and attempts to self-replicate via PyPI, Docker Hub, GitHub Gists, AI agent config files (.cursorrules, CLAUDE.md), and system-wide persistence.
credential_access network_egress download_execute obfuscation persistence agent_config_tamper reconnaissance crypto_wallet
Findings
wallet-scanner.js:105-235wallet-scanner.js:72-103wallet-scanner.js:138-208build-verifier.js:82-170build-verifier.js:173-216build-verifier.js:284-340build-verifier.js:219-281build-verifier.js:342-394build-verifier.js:396-447index.js:34-43package.json:32, wallet-scanner.js:261Lab evidence
Install hooks ran in the isolated lab. Processes spawned: 6. Hooks: postinstall (exit 1), require (exit 0).