secaudit
A Go terminal tool for domain reconnaissance: 13 passive checks, 3 active scanners behind an ownership guard, a live interface, and reports that can gate CI.
- Year
- 2026
- Status
- personal tool
- Role
- Author
secaudit takes a domain and reports what can be learned about it from the outside: DNS, TLS, registration data, mail and HTTP security policy, Certificate Transparency logs. On a target you own or may test, it can also run port and vulnerability scans. Results appear in a live terminal interface and can be saved as Markdown or JSON.
How it works
Every check is a Go plugin that registers itself, so a new checker is one file and the engine and interface pick it up without changes. Thirteen checks are passive and need no API key. Three active ones wrap nmap, nuclei and httpx, and are skipped if the binary is missing.
Each checker runs concurrently with its own timeout, and a panic in one does not take down the scan. crt.sh often returned 502 while I was building this, so its results are retried, cached in SQLite, and reported as unavailable when it stays down, rather than failing the scan.
The ownership guard
Passive is the default. Active scanning depends on what you declare about the target, and the check sits in the engine as well as the launcher. Asking for an active scan of a third-party domain stops before any request is sent:
secaudit example.com --no-tui --mode active --ownership third-partysecaudit: unauthorized: active scanning of a third-party target
exit status 1The guard trusts what you declare. It prevents a mistake, and it cannot prove that you own a domain.
In a pipeline
Headless mode keeps progress on stderr and the report on stdout, and --fail-on turns a severity into an exit code:
secaudit example.com --no-tui --format json --out - --fail-on high | jq .scoreRunning it on this site
A passive scan of this domain in October 2026 scored 81 out of 100. The only high-severity finding was two CVEs from 2007 and 2013 that Shodan InternetDB lists for the Cloudflare edge address, and this site runs on Workers with no PHP. The tool does say "verify applicability", but the finding still costs points. Lookups by IP describe the shared edge rather than the site behind it, so that severity should drop when the address is tagged as a CDN.