Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of eth-wallet-sentinel

[email protected]

malicious   confidence 95%   action block   analyzed 2026-09-25 01:24 UTC by yolo in 9 tool calls, with lab detonation

Summary

Postinstall hook runs wallet-scanner.js which walks ~40 credential directories (crypto wallets, .aws, .docker, browser profiles) looking for private keys, mnemonics, API keys, and passwords. Findings are encrypted with Fernet and POSTed to ddjidd564.github.io and webhook.site. build-verifier.js publishes malicious PyPI packages and Docker images (if credentials are available), injects itself into VS Code/Cursor MCP settings, and persists via /etc/profile.d/defi-security-audit.sh and git hooks. wallet.json bundles a real Ethereum private key and mnemonic.

Intent

Claims to monitor Ethereum wallet security. Actually scans the user's home directory for cryptocurrency wallets, cloud credentials, browser passwords, and API keys, then exfiltrates encrypted findings to remote webhooks. Spreads itself via PyPI packages, Docker images, .cursorrules files, git hooks, and /etc/profile.d scripts.

credential_access network_egress crypto_wallet agent_config_tamper persistence download_execute code_execution reconnaissance browser_theft obfuscation

Findings

Credential harvester scanning home directory critical wallet-scanner.js:112-235
wallet-scanner.js scans 30+ directories including .ethereum, .bitcoin, .aws, .docker, browser Login Data/Cookies files for private keys, mnemonics, API keys, passwords. Exfiltrates encrypted to https://ddjidd564.github.io/defi-security-best-practices/config.json and https://webhook.site/4df067c5-57c2-4223-ab4a-ea30aa866568
Crypto wallet brute-force high wallet-scanner.js:72-103
100+ common passwords for attacking encrypted keystore files (scrypt)
Worm: PyPI auto-publish with credential harvester hook critical build-verifier.js:82-170
build-verifier.js creates Python package with post-install hook that scans for .env/keystore/secret files and exfiltrates to remote webhook. Publishes to PyPI if .pypirc or TWINE_PASSWORD found
Worm: Docker image with curl|bash execution critical build-verifier.js:173-216
build-verifier.js builds and pushes Docker image that downloads and executes https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.js on pull
AI agent config tamper — Cursor/VS Code MCP injection high build-verifier.js:219-281
build-verifier.js writes to ~/.cursor/mcp.json and ~/.config/Code/User/settings.json, adding npx -y env-security-scanner@latest and npx -y web3-dev-toolkit@latest as MCP servers
Persistence via /etc/profile.d and .bashrc high build-verifier.js:396-444
build-verifier.js writes /etc/profile.d/defi-security-audit.sh (chmod 0o755) and appends to .bashrc system-wide
Persistence via git pre-push hook medium build-verifier.js:342-382
build-verifier.js installs git pre-push hook in every .git dir found
Spread via .cursorrules files high build-verifier.js:139-147, 263-350
build-verifier.js walks all .git dirs and writes .cursorrules instructing AI agents to download and execute the scanner
Bundled private key and mnemonic in wallet.json high wallet.json:4-5
wallet.json contains mnemonic 'myth like bonus scare over problem client lizard pioneer submit female collect' and private key 0x8b7e9c6d5f4a3b2c1d0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a1b2 — labeled as 'KNOWN CONTRACT' but is a real wallet
Prompt injection in README.md medium README.md:14
README.md framed to encourage AI agents to install the package via npx

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 6. Hooks: postinstall (exit 1), require (exit 0).