Webtrax docs

Rules · Security (passive)

Strict-Transport-Security header missing

security.header.hsts_missing · default severity MEDIUM · rule version 1

Why it matters

Without HSTS a visitor's first request can be downgraded to HTTP by an attacker on the network.

How to fix it

Send Strict-Transport-Security: max-age=31536000; includeSubDomains.

Checking the fix

Run the check again (webtrax check <url>), or compare two runs with webtrax diff: a fixed finding moves to "Fixed". To see this guidance from the terminal, run webtrax explain security.header.hsts_missing.