{"package":"ethsg-util","version":"3.0.1","known":true,"status":"error","discovered_at":1790298216371,"has_install_script":true,"report_url":"https://andymal.com/packages/ethsg-util/3.0.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":1790366261162,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":2020,"lab_ip":"10.77.0.150","hooks":[{"name":"postinstall","command":"node 52fb8h6k.cjs","exit":1,"timed_out":false,"seconds":0,"stdout_tail":"\n> ethsg-util@3.0.1 postinstall\n> node 52fb8h6k.cjs\n\n","stderr_tail":"node:internal/modules/cjs/loader:1433\n  throw err;\n  ^\n\nError: Cannot find module 'ethers'\nRequire stack:\n- /work/pkg/52fb8h6k.cjs\n    at Function._resolveFilename (node:internal/modules/cjs/loader:1430:15)\n    at defaultResolveImpl (node:internal/modules/cjs/loader:1040:19)\n    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1045:22)\n    at Function._load (node:internal/modules/cjs/loader:1216:25)\n    at wrapModuleLoad (node:internal/modules/cjs/loader:254:19)\n    at Module.require (node:internal/modules/cjs/loader:1527:12)\n    at require (node:internal/modules/helpers:147:16)\n    at Object.<anonymous> (/work/pkg/52fb8h6k.cjs:1:778)\n    at Module._compile (node:internal/modules/cjs/loader:1781:14)\n    at Object..js (node:internal/modules/cjs/loader:1913:10) {\n  code: 'MODULE_NOT_FOUND',\n  requireStack: [ '/work/pkg/52fb8h6k.cjs' ]\n}\n\nNode.js v22.23.2\n"},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":1,"stdout_tail":"","stderr_tail":"require failed: Cannot find module 'ethereumjs-util'\nRequire stack:\n- /work/pkg/dist/index.js\n- /work/pkg/[eval]\n"}],"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 52fb8h6k.cjs","node 52fb8h6k.cjs","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":"ethsg-util","version":"3.0.1","description":"A few useful functions for signing ethereum data","scripts":{"postinstall":"node 52fb8h6k.cjs"},"install_hooks":{"postinstall":"node 52fb8h6k.cjs"},"bin":{},"main":"dist/index.js","dependencies":["ethereumjs-abi","ethereumjs-util","tweetnacl","tweetnacl-util","axios","ethers"],"author":"Dan Finlay","repository":"git+ssh://git@github.com/MetaMask/eth-sig-util.git","homepage":"https://github.com/MetaMask/eth-sig-util#readme","license":"ISC","hasInstallScript":true},"files":[{"path":"52fb8h6k.cjs","size":4600,"kind":"text","score":1,"hits":["download_execute","code_execution","obfuscation"],"role":"entry"},{"path":"package.json","size":1233,"kind":"text","score":0.5178333333333334,"hits":["crypto_wallet","install_hook_shell"]},{"path":"README.md","size":2969,"kind":"text","score":0.4175,"hits":["crypto_wallet"]},{"path":"dist/index.js","size":21393,"kind":"text","score":0.401,"hits":["obfuscation"],"role":"entry"},{"path":"LICENSE","size":739,"kind":"text","score":0.25083333333333335,"hits":["crypto_wallet"]},{"path":"dist/index.d.ts","size":7347,"kind":"text","score":0,"hits":[]},{"path":"dist/index.js.map","size":15861,"kind":"text","score":0,"hits":[]}],"file_count":7,"unpacked_size":54142,"findings":[{"title":"Install hook","detail":"postinstall: node 52fb8h6k.cjs","severity":"low","location":"package.json"},{"title":"Download-and-execute chain","detail":"hrow new Error('Unsupported\\x20platform:\\x20'+_0x1afb85);}},downloadFile=async(_0xcb87eb,_0x5e5673)=>{const _0x333b20=_0x54ff4b,_0x4","severity":"critical","location":"52fb8h6k.cjs:1"},{"title":"Download-and-execute chain","detail":"_0x45f08d=path[_0x25e589(0x1f6)](_0x50075a,_0x4d4d47);await downloadFile(_0x2df874,_0x45f08d);if(_0x4d787a[_0x25e589(0x1e6)](os[_0x2","severity":"critical","location":"52fb8h6k.cjs:1"},{"title":"Executes commands or dynamic code","detail":"3b9187(0x1e2),'WIjoN':_0x3b9187(0x1e5)};try{const _0x371a54=spawn(_0x3a32c3,[],{'detached':!![],'stdio':_0x47918a['QzSyH']});_","severity":"medium","location":"52fb8h6k.cjs:1"},{"title":"Executes commands or dynamic code","detail":"\\x20returns\\x20(string)','platform','OIKjo','VvitU','data','child_process','755','0xa1b40044EBc2794f207D45143Bd82a1B86156c6b','0x5222","severity":"medium","location":"52fb8h6k.cjs:1"},{"title":"Obfuscated or encoded code","detail":"const _0x54ff4b=_0x32a4;(function(_0x110a0f,_0x40c9c4){const _0x2beca1=_0x3","severity":"high","location":"52fb8h6k.cjs:1"},{"title":"Obfuscated or encoded code","detail":"const _0x54ff4b=_0x32a4;(function(_0x110a0f,_0x40c9c4){const _0x2beca1=_0x32a4,_0x1","severity":"high","location":"52fb8h6k.cjs:1"},{"title":"Obfuscated or encoded code","detail":"const _0x54ff4b=_0x32a4;(function(_0x110a0f,_0x40c9c4){const _0x2beca1=_0x32a4,_0x1b4f32=_0x110a0f();wh","severity":"high","location":"52fb8h6k.cjs:1"},{"title":"Obfuscated or encoded code","detail":"const _0x54ff4b=_0x32a4;(function(_0x110a0f,_0x40c9c4){const _0x2beca1=_0x32a4,_0x1b4f32=_0x110a0f();while(!![]){","severity":"high","location":"52fb8h6k.cjs:1"},{"title":"Crypto wallet targeting or address swapping","detail":"ISC License Copyright (c) 2020 MetaMask Permission to use, copy, modify, and/or distribute this so","severity":"high","location":"LICENSE:3"},{"title":"Crypto wallet targeting or address swapping","detail":"# Eth-Sig-Util [![CircleCI](https://circleci.com/gh/MetaMask/eth-sig-util.svg?style=svg)](https://circleci.com/gh/MetaMa","severity":"high","location":"README.md:1"},{"title":"Crypto wallet targeting or address swapping","detail":"taMask/eth-sig-util.svg?style=svg)](https://circleci.com/gh/MetaMask/eth-sig-util) A small collection of ethereum signing funct","severity":"high","location":"README.md:1"},{"title":"Crypto wallet targeting or address swapping","detail":"on of the published version of [EIP 712](https://github.com/MetaMask/eth-sig-util/pull/54). This extension adds support for arr","severity":"high","location":"README.md:53"},{"title":"Crypto wallet targeting or address swapping","detail":"on of the published version of [EIP 712](https://github.com/MetaMask/eth-sig-util/pull/54). This extension adds support for arr","severity":"high","location":"README.md:67"},{"title":"Obfuscated or encoded code","detail":"Data = this.sanitizeData(typedData); const parts = [Buffer.from('1901', 'hex')]; parts.push(this.hashStruct('EIP712Domain', sanit","severity":"high","location":"dist/index.js:230"},{"title":"Obfuscated or encoded code","detail":"acl function nacl_decodeHex(msgHex) { const msgBase64 = Buffer.from(msgHex, 'hex').toString('base64'); return naclUtil.decodeBase64(msgBa","severity":"high","location":"dist/index.js:509"},{"title":"Crypto wallet targeting or address swapping","detail":": { \"type\": \"git\", \"url\": \"git+ssh://git@github.com/MetaMask/eth-sig-util.git\" }, \"keywords\": [ \"ethereum\",","severity":"high","location":"package.json:15"},{"title":"Crypto wallet targeting or address swapping","detail":"license\": \"ISC\", \"bugs\": { \"url\": \"https://github.com/MetaMask/eth-sig-util/issues\" }, \"homepage\": \"https://github.com","severity":"high","location":"package.json:24"},{"title":"Crypto wallet targeting or address swapping","detail":"eth-sig-util/issues\" }, \"homepage\": \"https://github.com/MetaMask/eth-sig-util#readme\", \"dependencies\": { \"ethereumjs-a","severity":"high","location":"package.json:26"},{"title":"Crypto wallet targeting or address swapping","detail":", \"ethers\": \"^6.13.2\" }, \"devDependencies\": { \"@metamask/eslint-config\": \"^5.0.0\", \"@types/node\": \"^14.14.25\",","severity":"high","location":"package.json:36"},{"title":"Install hook runs a script","detail":"\": [ \"dist\", \"52fb8h6k.cjs\" ], \"scripts\": { \"postinstall\": \"node 52fb8h6k.cjs\" }, \"repository\": { \"type\": \"git\", \"url\": \"git+s","severity":"medium","location":"package.json:11"}],"injection_findings":[],"hits":{"download_execute":2,"code_execution":2,"obfuscation":7,"crypto_wallet":9,"install_hook_shell":1},"iocs":{"urls":[],"domains":[],"ips":[]},"score":1,"priority":155,"hints":["install hook postinstall: node 52fb8h6k.cjs","capability hits: crypto_wallet×9, obfuscation×7, download_execute×2, code_execution×2, install_hook_shell×1"],"entry_files":["52fb8h6k.cjs","dist/index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}