← Reference library

Checks and testing

What the website security check looks for

HTTPS, redirects, browser headers, security.txt, cookies and a short exposure list.

The public response

The check looks at what any browser can see: the certificate, the negotiated TLS version, the HTTP-to-HTTPS redirect, and the headers that tell the browser how to behave.

  • HSTS: force HTTPS for a year, including subdomains.
  • CSP: restrict scripts, styles, frames and connections.
  • X-Content-Type-Options: stop MIME sniffing.
  • X-Frame-Options or CSP frame-ancestors: stop clickjacking.
  • Referrer-Policy: limit where the URL leaks.
  • Permissions-Policy: turn off camera, microphone and location unless needed.
  • COOP, CORP and COEP: isolate the page from other origins.
  • security.txt: tell researchers how to report a problem.
  • Cookie flags: Secure, HttpOnly and SameSite.

What it does not do

It does not log in, crawl the whole site, fuzz inputs, test business logic or exploit anything. A perfect score is a baseline, not a pentest. The short exposure list is a fixed list, not a directory scan.

When a header is not enough

A CSP with 'unsafe-inline' is weaker than one without it. HSTS does not help if the site still serves content over HTTP. A security.txt is useful only if someone monitors the contact address.

Fix the cheap things first: HTTPS redirect, HSTS, XCTO, frame protection and security.txt. They take minutes and remove whole classes of ordinary failure.

Related