Policy in Code beats Policy in READMEs

Security tools that rely purely on a disclaimer in README.md are one misconfigured prompt away from touching unauthorized external assets when wired into an autonomous agent.

In cai-osint, every active socket probe checks `is_target_authorized(host, authorized)` against explicit `CAI_AUTHORIZED_TARGETS` allowlists or loopback ranges before touching the network.

ok, reason = is_target_authorized(host, authorized=authorized)
if not ok:
    return json.dumps({"error": "SCOPE_DENIED", "detail": reason})

Actionable Perimeter Scoring

Once scoped, DNS resolution, TLS certificate expiry validation, exposed service banner checks, and HTTP security headers (HSTS, CSP, X-Frame-Options) aggregate into reproducible Markdown reports ready for client handoff.