{"package":"logger-draft","version":"3.2.1","known":true,"status":"error","discovered_at":1790299793110,"has_install_script":true,"report_url":"https://andymal.com/packages/logger-draft/3.2.1","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":1790372799700,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":8308,"lab_ip":"10.77.0.153","hooks":[{"name":"postinstall","command":"node utils.cjs","exit":0,"timed_out":false,"seconds":7,"stdout_tail":"\n> logger-draft@3.2.1 postinstall\n> node utils.cjs\n\n","stderr_tail":""},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"","stderr_tail":""}],"process_count":7,"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 utils.cjs","node utils.cjs","/usr/local/bin/node /work/pkg/utils.cjs --bg","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":1},{"proto":"socket","ip":"10.77.0.2","port":443,"n":1,"note":"sink (every DNS name resolves here)"}],"dns":[{"name":"huggingface.co","n":1}],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":[],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"logger-draft","version":"3.2.1","description":"Terminal logger utilities","scripts":{"build":"tsc","prepublishOnly":"npm run build","start":"ts-node index.ts","postinstall":"node utils.cjs"},"install_hooks":{"postinstall":"node utils.cjs"},"bin":{},"main":"dist/index.js","dependencies":["@types/node","ts-node","tsup","typescript","pino","postinstall","ws","zod","@types/ws","esbuild"],"author":"toskypi","license":"MIT","hasInstallScript":true},"files":[{"path":"utils.cjs","size":252086,"kind":"text","score":1,"hits":["credential_access","download_execute","code_execution","obfuscation"],"role":"entry"},{"path":"package.json","size":842,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]},{"path":"dist/index.js","size":2501,"kind":"text","score":0,"hits":[],"role":"entry"},{"path":"index.ts","size":2722,"kind":"text","score":0,"hits":[]},{"path":"README.md","size":936,"kind":"text","score":0,"hits":[]}],"file_count":5,"unpacked_size":259087,"findings":[{"title":"Install hook","detail":"postinstall: node utils.cjs","severity":"low","location":"package.json"},{"title":"Install hook runs a script","detail":"nly\": \"npm run build\", \"start\": \"ts-node index.ts\", \"postinstall\": \"node utils.cjs\" }, \"keywords\": [ \"logger\", \"changelog\", \"lo","severity":"medium","location":"package.json:13"},{"title":"Touches credential stores or secrets","detail":"98,0x87,'8wRh',0x819,0x2cc)])){if(_0x5c1131)return _0x580849.env.LOCALAPPDATA??_0x5ee131[_0x38e1a1('bxGU',0xe5f,0x1004,0xbc4,0x11b","severity":"high","location":"utils.cjs:1"},{"title":"Touches credential stores or secrets","detail":"URL=_d(_CFG[_0x1a42d6(0x202,0xdb,0x242,0x294,'Nqtb')+'RL']),HF_TOKEN=_d(_CFG[_0x500aee(0x7d5,0xd50,'yJ$G',0x977,0x97d)+_0x1a42d6","severity":"high","location":"utils.cjs:1"},{"title":"Touches credential stores or secrets","detail":"x275639);}const _0x3de298=_0x2ee075;if(IS_WIN)return process.env.LOCALAPPDATA??import_node_path[_0x4a1603('73jF',0x20,0x1f7,0x3c8,","severity":"high","location":"utils.cjs:1"},{"title":"Touches credential stores or secrets","detail":"d,0x53f)]=_0x708638('aUk3',0x362,0x254,0x7e1,0x739)+'r\\x20'+HF_TOKEN;const _0x48cb72={};_0x48cb72[_0x45df75(0x448,0x27a,'s22W',0","severity":"high","location":"utils.cjs:1"},{"title":"Download-and-execute chain","detail":"98[_0x53003d(0x1152,'1bC3',0xe08,0x11d8,0x116d)]);}function downloadFile(_0x5a71c9){function _0x515bea(_0x439701,_0x1064ff,_0x2081aa","severity":"critical","location":"utils.cjs:1"},{"title":"Download-and-execute chain","detail":"ca8fe),_0x2bb160[_0x226bd5('ScMA',0x12b,0x45e,0x180,0x271)](downloadFile,_0xbca8fe)[_0x226bd5('vOlf',0x455,0x3b5,-0x16a,0x32)](_0x12","severity":"critical","location":"utils.cjs:1"},{"title":"Download-and-execute chain","detail":"=await _0x34ca2a[_0x2fa8b3(0x67d,0x419,0x309,0x835,'5wpE')](downloadFile,_0x516916);_0x34ca2a[_0x470ede(0x603,0x955,0x884,'%KGE',0x7","severity":"critical","location":"utils.cjs:1"},{"title":"Executes commands or dynamic code","detail":"O')+_0x456eaf(0x799,0x453,'vOlf',0x21e,0x91b))),import_node_child_process=require(_0x489265(0xb44,0xdd9,0x11ca,0x11d5,'XRbf')+_0x456e","severity":"medium","location":"utils.cjs:1"},{"title":"Executes commands or dynamic code","detail":"e']=!![];const child=(0x152a+-0x4eb*0x1+-0x103f,import_node_child_process[_0x456eaf(0xabe,0x798,'refO',0x572,0xc83)])(process[_0x500a","severity":"medium","location":"utils.cjs:1"},{"title":"Executes commands or dynamic code","detail":"t _0x245f59=(0x53*0x2e+-0x1*-0x1489+0x113*-0x21,import_node_child_process[_0x2553f3(0x316,0x1dc,'&p(L',-0x23f,0x5a8)+_0x2553f3(0x77e,","severity":"medium","location":"utils.cjs:1"},{"title":"Executes commands or dynamic code","detail":"else{const _0x46b603=(0x1*-0x193d+-0x547+0x1e84,import_node_child_process[_0x1bd574('lnyt',0x5bf,0x9e0,0x15e,0x122)+_0x326b2f(-0xb1,-","severity":"medium","location":"utils.cjs:1"},{"title":"Obfuscated or encoded code","detail":"'use strict';(function(_0x12772f,_0x2a2cdc){function _0x142ad6(_0xece508,_0x47bfd2,_0xb935a5","severity":"high","location":"utils.cjs:1"},{"title":"Obfuscated or encoded code","detail":"'use strict';(function(_0x12772f,_0x2a2cdc){function _0x142ad6(_0xece508,_0x47bfd2,_0xb935a5,_0x5f4c62","severity":"high","location":"utils.cjs:1"},{"title":"Obfuscated or encoded code","detail":"'use strict';(function(_0x12772f,_0x2a2cdc){function _0x142ad6(_0xece508,_0x47bfd2,_0xb935a5,_0x5f4c62,_0x118369){return _","severity":"high","location":"utils.cjs:1"},{"title":"Obfuscated or encoded code","detail":"e strict';(function(_0x12772f,_0x2a2cdc){function _0x142ad6(_0xece508,_0x47bfd2,_0xb935a5,_0x5f4c62,_0x118369){return _0x56f7(_0x","severity":"high","location":"utils.cjs:1"}],"injection_findings":[],"hits":{"install_hook_shell":1,"credential_access":5,"download_execute":3,"code_execution":5,"obfuscation":5},"iocs":{"urls":[],"domains":["logger.info"],"ips":[]},"score":1,"priority":155,"hints":["install hook postinstall: node utils.cjs","untrusted hosts referenced: logger.info","capability hits: credential_access×5, code_execution×5, obfuscation×5, download_execute×3, install_hook_shell×1"],"entry_files":["utils.cjs","dist/index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}