# How a Surface Scan works

A Surface Scan looks at a website the way a stranger on the internet would. It reads public pages and public records. It does not log in, submit forms or try to break in, and you install nothing.

## What it checks (29 checks in 6 groups)

**HTTPS connection and certificate**

- Site loads over HTTPS
- Certificate is valid
- Certificate isn't expiring soon
- HTTP redirects to HTTPS
- Old TLS is refused

**Browser protection settings**

- HSTS is on
- HSTS lasts long enough
- Content security policy is set
- Content security policy blocks unsafe scripts
- Clickjacking protection is on
- Browsers aren't allowed to guess file types
- Referrer policy is set
- Cookies have basic protections

**Email spoofing protection**

- SPF record is present
- SPF doesn't allow anyone to send
- DMARC is present
- DMARC blocks spoofed mail
- DKIM key is published

**Domain settings**

- CAA record is present
- Domain isn't expiring soon

**Login pages and software versions**

- Staff login page isn't exposed
- XML-RPC is closed
- Software version isn't advertised
- Server version isn't advertised
- Software versions aren't on known-flaw lists

**Leaked files, mixed content and insecure forms**

- Folders don't list their files
- Private files aren't public
- No mixed content
- Forms submit over HTTPS

## What it can and cannot see

- It can see what is public: the HTTPS setup and certificate, browser protection headers, public email records, visible login pages and leftover files.
- It cannot see inside your site, your server, your accounts or anything behind a login.
- A firewall or bot protection can block the scan. Then the report is partial and shows no grade.
- A grade is a point-in-time look. It is not a certification and not a promise about the future.

Hackbait shows how to fix each issue; you or your developer make the changes. Only scan a site you own or are allowed to have checked. See the [FAQ](https://hackbait.com/faq) and [Pricing](https://hackbait.com/pricing).
