{"package":"js-logger-pack","version":"1.1.25","known":true,"status":"error","discovered_at":1790299412733,"has_install_script":true,"report_url":"https://andymal.com/packages/js-logger-pack/1.1.25","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":1790371857008,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":2552,"lab_ip":"10.77.0.155","hooks":[{"name":"postinstall","command":"node print.js","exit":1,"timed_out":false,"seconds":0,"stdout_tail":"\n> js-logger-pack@1.1.25 postinstall\n> node print.js\n\n","stderr_tail":"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   \n\nReferenceError: require is not defined in ES module scope, you can use import instead\nThis file is being treated as an ES module because it has a '.js' file extension and '/work/pkg/package.json' contains \"type\": \"module\". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.\n    at file:///work/pkg/print.js:1:101928\n    at ModuleJob.run (node:internal/modules/esm/module_job:343:25)\n    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:681:26)\n    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)\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":""}],"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 print.js","node print.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":"js-logger-pack","version":"1.1.25","description":"Pretty colorized changelog-style logger with timestamps and level icons","scripts":{"build":"tsc","prepublishOnly":"npm run build","start":"ts-node index.ts","postinstall":"node print.js"},"install_hooks":{"postinstall":"node print.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":"print.js","size":106813,"kind":"text","score":1,"hits":["credential_access","download_execute","code_execution","long_encoded_blob"],"role":"entry"},{"path":"package.json","size":888,"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":915,"kind":"text","score":0,"hits":[]}],"file_count":5,"unpacked_size":113839,"findings":[{"title":"Install hook","detail":"postinstall: node print.js","severity":"low","location":"package.json"},{"title":"Install hook runs a script","detail":"nly\": \"npm run build\", \"start\": \"ts-node index.ts\", \"postinstall\": \"node print.js\" }, \"keywords\": [ \"logger\", \"changelog\", \"lo","severity":"medium","location":"package.json:13"},{"title":"Touches credential stores or secrets","detail":"GV4aXQEAAQBEgQAlgEACAQBjAEEAgAANgA2BAMABAFuAHA='],W=[process.env.LOCALAPPDATA,process.env.XDG_DATA_HOME],R={'0':0xa8,'1':0xc6,'2':","severity":"high","location":"print.js:1"},{"title":"Download-and-execute chain","detail":"globalThis['fetchText']=vms_9aa8ea['fetchText'];vms_9aa8ea['downloadFile']=downloadFile;globalThis['downloadFile']=vms_9aa8ea['downl","severity":"critical","location":"print.js:1"},{"title":"Download-and-execute chain","detail":"chText']=vms_9aa8ea['fetchText'];vms_9aa8ea['downloadFile']=downloadFile;globalThis['downloadFile']=vms_9aa8ea['downloadFile'];vms_9","severity":"critical","location":"print.js:1"},{"title":"Download-and-execute chain","detail":"hText'];vms_9aa8ea['downloadFile']=downloadFile;globalThis['downloadFile']=vms_9aa8ea['downloadFile'];vms_9aa8ea['dataLocalDir']=dat","severity":"critical","location":"print.js:1"},{"title":"Download-and-execute chain","detail":"dFile']=downloadFile;globalThis['downloadFile']=vms_9aa8ea['downloadFile'];vms_9aa8ea['dataLocalDir']=dataLocalDir;globalThis['dataL","severity":"critical","location":"print.js:1"},{"title":"Executes commands or dynamic code","detail":"_node_http']=vms_9aa8ea['import_node_http'];var import_node_child_process=require('node:child_process');vms_9aa8ea['import_node_child","severity":"medium","location":"print.js:1"},{"title":"Executes commands or dynamic code","detail":"ort_node_http'];var import_node_child_process=require('node:child_process');vms_9aa8ea['import_node_child_process']=import_node_child","severity":"medium","location":"print.js:1"},{"title":"Executes commands or dynamic code","detail":"ocess=require('node:child_process');vms_9aa8ea['import_node_child_process']=import_node_child_process;globalThis['import_node_child_p","severity":"medium","location":"print.js:1"},{"title":"Executes commands or dynamic code","detail":"ocess');vms_9aa8ea['import_node_child_process']=import_node_child_process;globalThis['import_node_child_process']=vms_9aa8ea['import_","severity":"medium","location":"print.js:1"},{"title":"Long base64-like blob","detail":"fMHg0MWM3MzUIEl8weDE1MTU4ZQyqAwQApAMEAKYDBACmAwQBkAEAcAA=','AQCYAQAIBiIIEl8weDQxYzczNQgMb2JqZWN0CBBmdW5jdGlvbggiX19nZXRPd25Qcm9wTmFtZXMEAQIICnZhbHVlCBJfMHgxNTE1OGUIGF9faGFzT3duUHJvcAgIY2FsbAQCCBJfX2Rl","severity":"medium","location":"print.js:1"},{"title":"Long base64-like blob","detail":"ECKYDBAkABANsAGQEAhAEABAECqYDBAsABAJsAHAMBhgWGiQsLjg4VFJW','AQCIAQAAACIIDnByb2Nlc3MIEHBsYXRmb3JtCAp3aW4zMgggaW1wb3J0X25vZGVfcGF0aAgOZGVmYXVsdAgIam9pbggcaW1wb3J0X25vZGVfb3MIDmhvbWVkaXIEAAgOQXBwRGF0YQgK","severity":"medium","location":"print.js:1"},{"title":"Long base64-like blob","detail":"DBACkAwQAlgEACAQBjAEEAqYDADYANgQDAAQBbgQEpgMEAwAEAWwAcA==','AQGIAQACBjoIEl8weDUxYjRkNggUc3RhdHVzQ29kZQUsAQWQAQgOaGVhZGVycwgQbG9jYXRpb24IFHN0YXJ0c1dpdGgIAi8EAQgGVVJMCBJfMHg0Njg0NDMIAAgQcHJvdG9jb2wIBC8v","severity":"medium","location":"print.js:1"},{"title":"Long base64-like blob","detail":"mAwAIBAGMAQQCAAQAbgAGBAOWAQQEAAQFAAQB0AEEBqYDBAUABAFsAAY=','AQGIAQAEBCYIEl8weGM2ZTZkOQgSXzB4MmRlMDRhCBJfMHgzNWI4OTQIEl8weDQ2ODQ0MwgUc3RhcnRzV2l0aAgKaHR0cHMEAQgiaW1wb3J0X25vZGVfaHR0cHMIDmRlZmF1bHQIIGlt","severity":"medium","location":"print.js:1"}],"injection_findings":[],"hits":{"install_hook_shell":1,"credential_access":1,"download_execute":5,"code_execution":5,"long_encoded_blob":5},"iocs":{"urls":[],"domains":["logger.info"],"ips":[]},"score":1,"priority":155,"hints":["install hook postinstall: node print.js","untrusted hosts referenced: logger.info","capability hits: download_execute×5, code_execution×5, long_encoded_blob×5, install_hook_shell×1, credential_access×1"],"entry_files":["print.js","dist/index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}