testssl.sh
$ testssl.sh Community Med Risktestssl.sh inspects remote TLS/SSL endpoints for supported protocols, weak ciphers, certificate chains, and known vulnerabilities like Heartbleed or ROBOT. Passing --quiet --color 0 --jsonfile yields clean, ANSI-free JSON findings for automated security checks.
brew install testssl Executes raw OpenSSL and custom socket probes from your host network; no MCP wrapper matches its cipher-level fidelity.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --jsonfile, --quiet, and --color 0 for clean automation, though JSON writes to files (--json auto-names files) rather than clean stdout.
- Flags
--jsonfile,--jsonfile-pretty,--quiet, and--color 0
Purely passive/handshake-level TLS inspection without modifying remote state, though full scans generate many connections to target hosts.
- Read-only TLS probing; supports scoped checks like
-pand-S
Easy Homebrew and package-manager install on macOS and Linux, but Bash/Unix-oriented (Windows requires WSL or Git Bash).
- Available via
brew install testssland Linux distros
Exhaustive TLS cipher, chain, SNI, STARTTLS, and CVE coverage in one self-contained tool.
- Tests protocols, ciphers, HSTS, OCSP, and major TLS vulnerabilities
Long-running community security standard maintained in testssl/testssl.sh under GPL-2.0.
- Established security project with regular cipher/CVE updates
Detailed man page and testssl.sh --help documenting output formats and exit codes.
- Published documentation at
https://testssl.sh/doc/
Security, Auth & Guardrails
Requires no credentials or API keys; performs direct TLS handshakes against target hosts.
Free, GPL-2.0 open-source Bash script with bundled OpenSSL binaries.
# testssl.sh Agent Rules - Always pass `--quiet --color 0` so output stays free of banners and ANSI escape codes. - Use `--jsonfile <file>` or `--jsonfile-pretty <file>` for machine parsing. - Only scan domains or staging endpoints you are authorized to probe.
Agent-Ready Command Recipes
Safe Read-Only Queries
testssl.sh --quiet --color 0 --jsonfile tls-report.json example.com:443
Suppresses the startup banner (--quiet) and ANSI colors (--color 0) while saving structured findings to tls-report.json.
testssl.sh --quiet --color 0 -p -S example.com
Runs a fast read-only check of TLS protocol versions (-p) and server certificate defaults (-S).
Strengths for Agents
- +
--quiet --color 0 --jsonfiledelivers clean, structured vulnerability and cipher reports. - + Zero-auth local execution with deep STARTTLS and certificate chain inspection.
Caveats & Pitfalls
- ! Full default scans can take 30–90 seconds and open dozens of TLS connections; use
-por-Sfor quick checks. - ! Not native on Windows without WSL.