Updated Jul 15, 2026

Scanners

Apply one twa checklist across a domains file

Opinionated twa web audits, one pass over a domain list.

commit 80ac87d on Trickest · Shell · MIT license

Free plan: 1 user, 3 execution slots, no card.

overview

What twa-loop does

twa-loop takes a file of domain hostnames and runs the same twa checklist on each one: security headers, cookie attributes, common development ports, and TLS posture. One run gives a hygiene read across an estate instead of a single site.

Flags match twa and apply per host. Enable -s for testssl certificate and cipher review, -w to also audit the www variant, and -d to skip development-port probes. Verbose mode (-v) writes detail to stderr.

Trickest runs twa-loop as a managed scanner node that reads a domains file and emits a file plus a results folder. Place it after subdomain enumeration or a live-host filter when you want one baseline for every host.

source github.com/trailofbits/twa · commit 80ac87d on Trickest

image quay.io/trickest/twa-loop:80ac87d

use cases

twa-loop use cases

Baseline-audit a whole subdomain list

Feed twa-loop the output of subdomain discovery so every host gets the same header, cookie, and TLS checklist in one pass.

Find the odd host out

Run a consistent audit across the estate to surface the one host with a missing header or weak cipher while every other host is clean.

Include TLS review at scale

Enable -s so testssl runs against each domain, extending the audit to certificate validity and protocol versions for the whole list.

Cover apex and www everywhere

Turn on -w so both the apex and www host of every domain in the file are audited, catching per-host redirect and header drift.

reference

twa-loop inputs and flags

5 inputs
NameTypeFlagDescription
domainsFILE·File of domain hostnames to scan.
test-sslBOOLEAN-sAudit each site and include testssl for a deeper TLS review.
check-wwwBOOLEAN-wAudit each site and its www subdomain.
no-portsBOOLEAN-dAudit each site without scanning common development ports.
verboseBOOLEAN-vAudit each site and be verbose on stderr.

Showing key inputs. twa-loop exposes 5 inputs in total.

example

twa-loop command examples

twa-loop · command
# audit each domain in the list; skip dev ports; include www
# twa-loop wraps: twa -d -w <domain>
while read -r d; do twa -d -w "$d"; done < domains.txt
Illustrative
www.example.com PASS headers
api.example.com FAIL missing CSP
app.example.com PASS cookies
staging.example.com FAIL open port 3000
dev.example.com PASS tls
mail.example.com FAIL missing HSTS
cdn.example.com PASS headers

guidance

twa-loop vs alternatives

Use twa-loop when you have a host list and want the same opinionated baseline on every domain. For a single host, use twa. For WAF fingerprinting or template CVE coverage, chain wafw00f or nuclei after it.

ToolPick it when
twaSame checklist for one domain instead of a file.
nikto-listBroader nikto checks over a host list. twa-loop stays a tighter, fixed audit.
wafw00fFingerprints the WAF in front of each host. Complements the twa-loop baseline.

faq

twa-loop FAQ

twa audits one domain. twa-loop reads a domains file and applies the identical checklist to each host in turn.

-v (verbose), -d (skip development ports), -s (include testssl), and -w (also audit www) apply to every host in the file.

When certificate validity, protocol versions, and cipher strength matter alongside the header checklist. -s is slower per host.

The scan of common development ports. Use -d when you only want HTTP and TLS hygiene checks.

A file of hosts from subdomain enumeration or a live-host filter, so a discovered surface gets one baseline audit.

Run twa-loop yourself

A file of domains feeds twa-loop, which runs the opinionated twa checklist against each host and writes the per-host audits as a queryable output.

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