Guides

Website security checklist for agencies

A checklist you can run on every client site from the outside, with no server access, and what each item protects against.

Updated

What an outside check is for

Most of what goes wrong on a client site is visible to anyone who asks the site the right questions: an expired certificate, a missing header, an admin page left open, a plugin three versions behind. Attackers ask those questions automatically and at scale. Asking them first is cheap.

An outside check does not replace updates, backups or access control, and it cannot see pages behind a sign-in. It tells you what the site shows the world today. Run it when you take a site on, and keep running it, because sites change.

1. HTTPS, everywhere and for good

  • The certificate is valid, covers every hostname the site answers on (with and without www), and is not within two weeks of expiry.
  • Plain http:// redirects to https:// in one hop.
  • The site sends Strict-Transport-Security with a max-age of at least six months, so a browser that has visited once never tries plain HTTP again.
  • TLS 1.0 and 1.1 are switched off. TLS 1.2 is the floor and TLS 1.3 is offered.
  • No page loads images, scripts or styles over http:// (mixed content).

2. Security headers

Headers are instructions to the browser. They cost nothing to send and they limit what a successful attack can do.

  • Content-Security-Policy, even a modest one, with object-src 'none', base-uri 'self' and frame-ancestors set.
  • X-Content-Type-Options: nosniff.
  • Referrer-Policy: strict-origin-when-cross-origin or stricter.
  • Permissions-Policy switching off the device features the site does not use.

The values, and the old headers to stop sending, are in HTTP security headers explained.

3. Cookies

  • Every session or login cookie has Secure, HttpOnly and a SameSite value.
  • Cookies are scoped to the host that needs them, not to the whole registered domain.
  • You know which third-party and tracking cookies the site sets, because the client will be asked.

4. Email records

A client domain without SPF, DKIM and DMARC can be used as the sender of somebody else's phishing mail. Check that all three exist and that the DMARC policy is quarantine or reject, not none. A domain that sends no mail needs records that say so. See SPF, DKIM and DMARC explained.

5. What the site gives away

  • The Server and X-Powered-By headers do not announce exact versions.
  • Version-control folders, environment files and backups are not reachable (/.git/, /.env, backup.zip).
  • Directory listing is off.
  • Error pages do not print stack traces or file paths.
  • Source maps for the site's own JavaScript are not published unless that is deliberate.
  • The admin sign-in is protected by more than a password where the platform allows it.

6. Software with known vulnerabilities

List what each site runs and can be seen running: the CMS and its version, plugins and themes, the server software, the JavaScript libraries in the page. Compare that list with published advisories, and give priority to anything on the CISA Known Exploited Vulnerabilities catalogue, which lists flaws being used in real attacks.

A version read from outside is the one the site announces. A proxy or a vendor backport can make it wrong, so confirm on the server before acting.

7. Third-party scripts

Count the outside origins each page loads scripts from, remove the ones nobody can explain, and get told when a new one appears. A script from a vendor runs with the same access as the site's own code. See Third-party scripts and supply-chain risk.

8. Reputation and renewal dates

  • The domain and its address are not on a phishing, malware or spam blocklist.
  • The domain registration is not about to lapse, and somebody at the client still receives the renewal notices.

Keep checking

A site that passed in March can fail in June without anybody touching the code: a certificate renewal breaks, a plugin is added, a tag manager starts loading a new vendor. A checklist run once is a snapshot. Run it on a schedule and be alerted to the changes that matter.

An OpSniper scan covers the items on this list that can be seen from outside, in about 30 seconds; what it checks is published. The rest, such as who receives renewal notices and how the admin sign-in is protected, you confirm with the client. You can scan any site free and add client sites to monitoring on a plan.