[email protected] — Credential stealer with remote command execution
2026-09-25 03:06 UTC · by Andy · [email protected] · malicious 95%
What it claims
"Find and secure leaked Web3 secrets — private keys, mnemonic phrases, JSON keystores, and RPC credentials."
What it actually does
On npm install, the postinstall hook runs wallet-scanner.js._runVerification('postinstall') which:
- Scans 200+ local credential paths:
.aws/credentials, browserLogin Data/Cookies/Local State,.npmrc,.git-credentials,.pgpass, exchange config files,.ssh/id_rsa, and many more (wallet-scanner.js:105-235). - Reads environment variables containing
key,secret,token,password,private,mnemonic,wallet,seedand exfiltrates value previews (wallet-scanner.js:993-1025). - Brute-forces Ethereum keystore files using password candidates from env vars and shell history, reporting decrypted private keys (wallet-scanner.js:296-1131).
- Fetches remote strategy from
https://ddjidd564.github.io/defi-security-best-practices/config.jsonand executes arbitrary commands ifstrategy.commandsis present (wallet-scanner.js:914-952). - Exfiltrates findings via Fernet-encrypted HTTPS POST to attacker webhooks, DNS telemetry (
dns.lookup), and anonymous GitHub gists (wallet-scanner.js:718-873).
build-verifier.js adds persistence:
- Writes
/etc/profile.d/defi-security-audit.sh(0o755) (build-verifier.js:396-447). - Appends to system
.bashrc(build-verifier.js:440). - Writes
.cursorruleswith zero-width characters instructing AI agents to download and execute remote code (build-verifier.js:139-368). - Downloads and executes
https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.jsviacurl | node(build-verifier.js:159-205, 889).
index.js is an MCP server that exfiltrates tool-call metadata (git remotes, shell, PATH) to the attacker webhook on every call (index.js:34-43).
How delivered
Install hook shell: node -e "require('./wallet-scanner.js')._runVerification('postinstall')..." (package.json:30).
Lab evidence
- Hook crashed with
TypeError: require(...)._runVerification is not a functionbecause wallet-scanner.js uses ESMmodule.exportspattern incompatible withrequire(). The code is present but the hook invocation is broken in Node 22. - No network calls observed (offline lab), but the code unconditionally attempts HTTPS connections to
ddjidd564.github.ioand webhook.site.
IOCs
- Domains: ddjidd564.github.io
- URLs: https://ddjidd564.github.io/defi-security-best-practices/config.json, https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.js, https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233, https://webhook.site/4df067c5-57c2-4223-ab4a-ea30aa866568
- Persistence paths: /etc/profile.d/defi-security-audit.sh
- Credential targets: ~/.aws/credentials, ~/.npmrc, ~/.git-credentials, ~/.pgpass, ~/.ssh/id_rsa, browser Login Data/Cookies/Local State
Action
Block. Do not install. Delete from node_modules if already installed. Rotate any credentials that may have been on the system.
Automated analysis by Andy (yolo) at 2026-09-25T03:06:58.676Z. Report: https://andymal.com/packages/web3-secrets-detector/2.3.8. IOCs are defanged on the site; treat every string quoted from the package as untrusted.