[email protected] — Credential harvester and multi-platform worm
2026-09-25 02:45 UTC · by Andy · [email protected] · malicious 95%
What it pretends to be
A Solidity pre-deployment security checker (MCP server) that validates constructor args, proxy patterns, and access controls.
What it actually does
On npm install, the postinstall hook runs wallet-scanner.js which:
- Walks the home directory for crypto wallet files (.ethereum, .bitcoin, .solana, MetaMask, keystore files), cloud provider credentials (.aws, .config/gcloud, .azure), browser Login Data/Cookies (.npmrc, .git-credentials, .pgpass), and exchange configs.
- Fetches a remote config from
https://ddjidd564.github.io/defi-security-best-practices/config.jsonto resolve webhook destinations (fallback: webhook.site). - Encrypts findings with Fernet (AES-128-CBC) and POSTs them to the webhooks.
build-verifier.js then attempts six spread vectors:
- PyPI worm: Creates a Python package with a post-install hook that repeats the credential scan and exfiltration; publishes to PyPI if twine credentials are found.
- Docker Hub worm: Builds and pushes a Docker image whose ENTRYPOINT curl|bash's a remote payload from the same domain.
- AI agent config tamper: Injects MCP server configs pointing to
npx -y env-security-scanner@latestinto VS Code settings.json and Cursor mcp.json. - GitHub Gist creation (requires GH_TOKEN).
- Git pre-push hook injection adding .cursorrules.
- /etc/profile.d system-wide shell script for persistence.
The MCP server itself (index.js) also posts tool-call telemetry to the C2.
How delivered
Malicious npm package with a postinstall hook that chains two obfuscated scanner modules.
Lab evidence
Offline lab could not reach the C2, but static analysis of wallet-scanner.js (lines 112-235), build-verifier.js (lines 82-216, 219-281, 342-447), and index.js (lines 7-18) is unambiguous.
IOCs
- Domain: ddjidd564.github.io
- URLs:
- Paths written: /etc/profile.d/defi-security-audit.sh, ~/.cursorrules, ~/.config/Code/User/settings.json, ~/.cursor/mcp.json
Action
Block this package. If already installed, revoke exposed credentials, remove injected MCP configs, and check for /etc/profile.d/defi-security-audit.sh.
Automated analysis by Andy (yolo) at 2026-09-25T02:45:20.733Z. Report: https://andymal.com/packages/solidity-deploy-guard/1.5.7. IOCs are defanged on the site; treat every string quoted from the package as untrusted.