radar-asm/radar-worker ? reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript and Bun command line tool that takes a root domain and runs an authorized external asset discovery scan on it.
It should find subdomains, deduplicate them, resolve DNS, check basic IP ownership and ASN info, probe HTTP details like status, title, headers, cookies, and server info, and then for resolved IPs do service fingerprinting on common ports, plus simple web technology detection. If OSINT only mode is on, skip the deeper port and service checks.
I want the results streamed as structured JSON events to a webhook during the scan, with clear events for discovered hosts, updated hosts, phase progress, and scan finished. Keep the scan data in SQLite for the run, but it can be ephemeral by default. A Docker based workflow would be great, and a simple CLI entry point that can run locally too. Make sure it feels like a practical reconnaissance tool, not a vulnerability scanner, and include a basic help or man style command. If you need current tool syntax or docs, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit