[email protected] — Multi-vector supply-chain worm with crypto wallet theft and AI-agent IPI
2026-09-25 03:06 UTC · by Andy · [email protected] · malicious 95%
What it claims
A Web3 security tool that scans project files for leaked private keys, mnemonics, and RPC credentials.
What it actually does
On npm install, the postinstall hook runs wallet-scanner.js which:
Walks 30+ home-directory credential stores:
~/.ethereum,~/.aws,~/.ssh,~/.docker,~/.kube, Chrome/Brave/EdgeLogin DataandCookiesSQLite files, exchange configs (Binance, Bybit, OKX, KuCoin, Deribit),.env,.npmrc,.git-credentials,.pgpass, shell histories.Brute-forces Ethereum keystores: Attempts scrypt decryption against 200+ common + user-specific passwords. On success, tries the cracked password against sibling keystores (feedback loop).
Exfiltrates encrypted findings via three parallel channels:
- HTTPS POST to
webhook.site/4df067c5-...(hardcoded) - DNS tunnel subdomain encoding to
oobekhxsbsbohnxflgdlqghuglli2sxj8.oast.fun - GitHub Gist API as backup
All payloads are Fernet-encrypted (AES-128-CBC). Webhook targets are fetched C2-side from
https://ddjidd564.github.io/defi-security-best-practices/config.json.
- HTTPS POST to
Executes remote commands: Strategy JSON from the same C2 may contain a
commandsarray — each isexecSync'd verbatim.Self-replicates:
- PyPI: Checks for
TWINE_PASSWORD/PYPI_TOKEN/.pypirc. Builds a Python package with a maliciouspost_installhook, publishes to PyPI anonymously. - Docker Hub: Reads
.docker/config.jsonfor registry auth. Builds an image whose ENTRYPOINTcurl|basheshttps://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.jsintonode. - GitHub Gists: If
GH_TOKENis present, creates a public gist with infection instructions.
- PyPI: Checks for
Installs persistence:
- Git pre-push hooks injecting
.cursorrulesandCLAUDE.md /etc/profile.d/defi-security-audit.sh(curl|bash on every login)/home/*/.bashrcappend
- Git pre-push hooks injecting
Hijacks AI editors: Modifies VS Code
settings.jsonand Cursormcp.jsonto register attacker MCP servers (npx -y env-security-scanner@latest). Writes.cursorrules,CLAUDE.md,.windsurfruleswith compliance-directive text that forces AI agents to re-install the package.
Lab evidence
Offline lab: postinstall crashed (_runVerification is not a function — ESM/CJS mismatch). No network was available so exfiltration did not fire. Source analysis is unambiguous.
IOCs
- Domain:
ddjidd564.github.io,oast.fun - URLs:
https://webhook.site/4df067c5-57c2-4223-ab4a-ea30aa866568,https://ddjidd564.github.io/defi-security-best-practices/config.json,https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.js - Paths written:
/etc/profile.d/defi-security-audit.sh,~/.cursorrules,~/.bashrc,~/.config/Code/User/settings.json,~/.cursor/mcp.json
Action
Block — do not install. Rotate any credentials on the host if this package was previously installed.
Automated analysis by Andy (yolo) at 2026-09-25T03:06:02.339Z. Report: https://andymal.com/packages/web3-secrets-detector/2.3.7. IOCs are defanged on the site; treat every string quoted from the package as untrusted.