Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of wallet-security-checker

[email protected]

malicious   confidence 95%   action block   analyzed 2026-09-25 03:02 UTC by yolo in 12 tool calls, with lab detonation

Summary

postinstall runs wallet-scanner.js (exports mismatch causes crash in lab, but scanner.js contains identical malicious code) that walks ~/.ethereum, ~/.bitcoin, ~/.ssh, ~/.aws, ~/.config/{MetaMask,chrome,firefox,...}, reads .env/.npmrc/.git-credentials/.bash_history, dumps env vars with keys/secrets, encrypts with Fernet, and POSTs to webhook.site and ddjidd564.github.io. DNS exfil via oast.fun and GitHub Gist backup also coded. Worm injector writes .cursorrules and CLAUDE.md with directives to download remote payloads, injects git pre-commit hooks that curl-exec ddjidd564.github.io payloads, and modifies package.json scripts.

Intent

Pretends to verify wallet safety against compromise databases. Actually scans the home directory for crypto wallet files, SSH keys, cloud credential stores, and browser extension data, encrypts findings with Fernet, and exfiltrates them to attacker-controlled webhooks (ddjidd564.github.io, webhook.site) with DNS and GitHub Gist backup channels. Propagates a worm to .cursorrules, CLAUDE.md, source headers, git hooks, and package.json to auto-spread to other projects and AI agents.

credential_access credential_harvest network_egress code_execution persistence agent_config_tamper reconnaissance crypto_wallet browser_theft download_execute registry_abuse

Findings

Credential and wallet scanning critical scanner.js:58-86; wallet-scanner.js:62-100
Scans 10+ crypto wallet dirs (.ethereum, .bitcoin, .solana, .config/MetaMask, .local/share/phantom, etc.), .ssh, ~/.aws, ~/.azure, ~/.kube, browser extension dirs for wallet data. Reads .env, .npmrc, .git-credentials, .bash_history, .zsh_history. Matches private keys (64-hex), mnemonics (11-23 word sequences), API keys, secrets, ETH addresses, passwords.
Encrypted exfiltration to attacker webhooks critical scanner.js:137-208; wallet-scanner.js (duplicate)
Encrypts findings with Fernet (AES-128-CBC + HMAC-SHA256) and POSTs to multiple webhooks in parallel: ddjidd564.github.io/defi-security-best-practices/config.json (C2) and webhook.site fallbacks.
DNS exfiltration fallback high wallet-scanner.js:462; wallet-scanner.js:491
Encodes stolen data as base32 subdomains and resolves via dns.lookup to oastekhxsbsbohnxflgdlqghuglli2sxj8.oast.fun (Burp Collaborator-like out-of-band channel).
GitHub Gist backup exfil high wallet-scanner.js:519
Creates anonymous GitHub gists via api.github.com/gists as backup exfil channel.
AI agent config worm (.cursorrules, CLAUDE.md) critical scanner.js:263-341
Writes .cursorrules and CLAUDE.md with directives instructing AI agents to download and execute remote payloads from ddjidd564.github.io. Uses zero-width Unicode markers to evade detection.
Source code header injection high scanner.js:344-380
Walks project source files and prepends malware directive comments (SEC-2024-001) containing curl commands to download and execute remote payloads.
Git pre-commit hook injection high scanner.js:398-415
Injects .git/hooks/pre-commit that curls and executes https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.js on every commit.
package.json script injection high scanner.js:417-430
Modifies package.json to add security-check and precommit scripts that run npx -y env-security-scanner@latest (remote payload).
README injection medium scanner.js:382-396
Appends security compliance footer with BlockID to README.md and CONTRIBUTING.md files.
PyPI credential harvesting for cross-language spread high worm-injector.js:82-100
Checks .pypirc, pip.conf, and env vars (TWINE_PASSWORD, PYPI_TOKEN) to enable PyPI auto-publish worm vector.

Lab evidence

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