testls v0.6.3: Offline pcap inspection in the browser, DANE/TLSA, HTTP/3 & DTLS confirmation
$ test ls does nothing. testls protects your web servers.
If you've ever missed testssl.sh but hated shelling out to bash + OpenSSL from CI, testls is the clean-room Rust answer: a single static binary with its own handshake engine covering SSLv2 through TLS 1.3 - no OpenSSL, no subprocesses.
It audits protocols, cipher suites, key exchange, certificates, revocation, HTTP security headers, known vulnerabilities and post-quantum readiness, and it's built to fit CI with SARIF/JUnit/Markdown reports, exit codes, suppressions, baselines, and compliance policies (Mozilla, NIST, BSI, PCI DSS, CNSA 2.0).
v0.6.3 dropped on 29 November 2026, and while it's a patch-level bump, it ships some genuinely interesting scanner capabilities. Here's what stood out.
🔍 Offline pcap inspection - CLI and browser
This is the headline feature for me. testls can now read classic .pcap files and inspect the visible TLS hellos inside them:
testls --pcap capture.pcap
No live target? No problem. Analyze a capture from a support ticket, a pentest engagement, or a CI artifact.
Even better, the same capability is compiled to WASM, so you can drop a local TLS capture into the browser and inspect it client-side. Your packets never leave your machine - which makes this usable even for sensitive captures you'd never dream of uploading to an online scanner.
🔐 PKI deepening: CAA, TLSA/DANE, AIA fetching
Three opt-in additions that move testls from "is my cert valid?" toward real PKI forensics:
- CAA issuance policy - report whether the domain's CAA records actually authorize the issuer that shows up.
- DNSSEC-validated TLSA lookup (
--tlsa) - looks up TLSA records for the target service and compares locally DNSSEC-authenticated DANE-EE records against the observed leaf certificate. Results (including DNSSEC status and match details) land in text and JSON reports without changing PKIX trust, grade, or exit status. - AIA intermediate fetching - fetch missing intermediates on request, so an incomplete presented chain doesn't have to be a dead end.
There's also a new check that reports misplaced issuers in the presented chain (ordering problems are more common than you'd think), plus tooling to compare certificate paths across named PEM bundles.
📡 Protocol evidence you can trust
A recurring theme in v0.6.3: don't just guess a protocol is supported - prove it:
- HTTP/3 is confirmed with an authenticated HEAD exchange rather than inferred from Alt-Svc headers.
- ECH (Encrypted Client Hello) advertisement is now distinguished from authenticated acceptance.
- DTLS handshakes over UDP are confirmed as authenticated exchanges.
This "protocol evidence" discipline (tracked as decisions #112-#115 in the project plan) means fewer false positives in your reports.
⚙️ Scanning manners + a native Rust API
- New
--delayand--parallelflags pace target connections and bound parallel version checks - be polite to networks you're scanning, and avoid tripping rate limiters or IDS. - The scan pipeline (now living in the
testls-scancrate) exposes a native Rust API with documented examples, so you can embed scans directly in your own Rust tooling instead of parsing CLI output.
Quick start
cargo install testls # or: cargo binstall testls, brew, scoop, winget
testls example.com # scan port 443
testls --fail-on medium example.com:8443 # exit 1 on medium or worse
testls --format sarif example.com > testls.sarif
testls --policy mozilla-intermediate example.com
testls --pcap capture.pcap # new in 0.6.3
testls serve --port 8080 # REST/SSE API + embedded UI
Exit statuses are CI-friendly: 0 = nothing at or above --fail-on (default: high), 1 = findings, 2 = scan error.
Where it's headed
The v0.6 line shipped the local web service (testls serve: REST + SSE API with resumable progress streams and an embedded browser UI). The roadmap puts v0.7 on continuous monitoring - target groups, scheduled rescans, persistence, and dashboards.
Repo: https://github.com/kjpopov/testls
Release notes: https://github.com/kjpopov/testls/releases/tag/v0.6.3
Have you swapped testssl.sh for something faster in CI? What would make you switch? Drop a comment.
Top comments (1)
⚠️ One honest caveat: the project is still alpha. But we have to start somewhere upfront about it. The changelog cadence (v0.1 → v0.6.3 in about five weeks). Worth starring and kicking the tires anyway.
Comments
No comments yet. Start the discussion.