Updated Jul 15, 2026

Scanners

Audit a web host for headers, ports, and TLS

Opinionated web audit for headers, ports, and TLS.

Agent

overview

What twa does

twa audits a single domain against a fixed checklist: security headers a browser would honor, cookie attributes, common development ports that should not face the internet, and basic TLS posture.

Optional switches deepen the pass. -s folds testssl into the report for certificate and cipher detail, -w audits both the apex and its www host, and -d skips the development-port scan when you only want HTTP checks.

Use it as a first-pass hygiene check on one host. For many domains, switch to twa-loop. Trickest runs it as a managed Scanners node that writes a file and folder of results.

source github.com/trailofbits/twa

use cases

Where twa fits

Quick hygiene audit of a single host

Point twa at a domain to get a fast read on security headers, cookie flags, and TLS without configuring a heavier scanner.

Catch exposed development ports

Let twa scan for common dev ports that should never face the public internet, and disable that pass with -d when you only want the web checks.

Include a deeper TLS review

Enable -s to fold testssl into the audit so the report covers certificate validity, protocol versions, and weak ciphers alongside the header checks.

Audit the apex and its www host

Turn on -w so both example.com and www.example.com get audited, catching a header or redirect that is right on one and wrong on the other.

reference

twa inputs and flags

5 inputs
NameTypeFlagDescription
domainSTRING·Domain hostname to scan.
verboseBOOLEAN-vAudit a site, and be verbose (on stderr).
no-portsBOOLEAN-dAudit a site without scanning common development ports.
test-sslBOOLEAN-sAudit a site and include testssl.
check-wwwBOOLEAN-wAudit a site and its www subdomain.

Showing key inputs. twa exposes 5 inputs in total.

example

Run twa

twa · command
# twa: audit example.com with testssl and www, skip dev-port scantwa -s -w -d example.com
sample output
example.comwww.example.comapi.example.comapp.example.comstaging.example.comdev.example.commail.example.comvpn.example.com

guidance

Choosing twa

Use for a fast, opinionated first-pass audit of a single web host before a heavier scanner. It trades configurability for sane defaults. For many domains at once, use twa-loop; for WAF or vulnerability testing, pair with wafw00f and a template scanner downstream.

twa-loop

Same checklist driven over a file of domains instead of one host.

nikto

Broader, noisier web server scanner. twa stays a tighter, opinionated audit.

wafw00f

Identifies the WAF in front of a site. Complements twa header and TLS checks.

faq

twa questions

Yes. By default it checks common development ports that should not be exposed. Pass -d to skip that pass and run only the web checks.

Run twa yourself

A domain feeds twa, which runs its opinionated header, port, and TLS checklist and writes the audit as a queryable output.

Facts on this page come from the live Trickest tool library.