What does the Security Audit actually do?
Your website has a lock icon in the address bar. Your hosting provider says the SSL is active. Your developer told you the site is secure. But none of that tells you whether your server is sending the headers that stop cross-site scripting, whether your cookies are flagged correctly, whether your CMS version is exposed in the source code, whether anyone can send email pretending to be you, or whether the software running your site has a known vulnerability published in a government database. The Security Audit checks all of that — 64 checks, covering everything from HTTP headers to mail DNS to the source code of your pages — and tells you exactly what to fix.
This is not a technical manual. It is written for the person who owns the website, pays for the hosting, and needs to understand what a security audit actually checks, why each check matters, and what it means when something fails. If you have ever wondered whether your site is genuinely secure or just has a padlock icon, this page answers that question.
Run the Security Audit — 64 checks, every finding shows what to fix.
Pay as you go · No subscription · Credits never expire
Chapter 1: The website with the padlock
Spenderella is not wrong — her connection is encrypted. But she is confusing one thing with everything. The padlock means the connection between the visitor's browser and her server is encrypted using TLS. It means that if someone intercepts the traffic between the browser and the server, they cannot read it. That is important. But it is one aspect of security, and there are dozens of others the padlock says nothing about.
The padlock does not tell Spenderella whether her server is sending the headers that stop attackers from injecting scripts into her pages. It does not tell her whether her cookies — the small files that keep visitors logged in — are flagged so that only her site can read them. It does not tell her whether the version of WordPress she is running has a known vulnerability that attackers are actively exploiting. It does not tell her whether anyone can send email that looks like it comes from her domain. It does not tell her whether the source code of her pages contains a secret key that a developer left behind.
The padlock tells her the pipe is secure. It says nothing about what is at either end of the pipe.
This is the problem the Security Audit solves. It checks everything the padlock does not: the headers, the cookies, the certificates, the protocol versions, the server disclosure, the known vulnerabilities, the email authentication, the page content, the upload handling, and more — 64 checks in total. Every check produces a pass or a fail, and every failure tells you exactly what the setting is, where to change it, and what it does.
Chapter 2: What website security actually means
Website security is not one thing. It is a collection of settings, configurations and practices that together determine how well your site protects its visitors, its data and itself. Each setting covers a specific risk. Missing one does not necessarily mean disaster, but each missing setting is a gap — and attackers look for gaps.
Think of it like a house. The padlock is the front door lock. Essential, but not sufficient. Website security also includes whether the windows are locked (HTTP headers), whether the letterbox has a guard (cookie flags), whether the house number is hidden (server disclosure), whether the alarm is set (CVE monitoring), whether the postbox stops fake letters (mail DNS), whether the garage door closes properly (upload handling), and whether someone left a spare key under the mat (exposed secrets in source code).
No single check covers everything. That is why the Security Audit runs 64 of them. Each one checks a specific setting against a recognised standard — the OWASP Top 10, browser security guidance, RFC specifications for DNS and email, and the NIST National Vulnerability Database. Together, they cover the security surface that any visitor or attacker interacts with when they visit your site.
Chapter 3: What a passive scan means
The Security Audit is a passive scan. This is an important distinction, because it determines what the audit can and cannot do, and why it is safe to run on any live website.
A passive scan reads only what any visitor's browser can see. When you visit a website, your browser receives headers from the server, reads the HTML source of the page, checks the TLS certificate, stores cookies, and looks up DNS records. All of this information is public — it is sent to every visitor. The Security Audit reads exactly the same information and checks it against security standards.
A passive scan does not attempt to log in. It does not try default passwords. It does not send SQL injection strings. It does not probe for directory traversal. It does not upload malicious files. It does not try to exploit any vulnerability it finds. It reads what is publicly visible and reports whether it meets the standard.
This means the Security Audit is safe to run on any live website — yours, a client's, a competitor's, or a site you are considering buying. It will not trigger security alerts, it will not be blocked by a firewall (it looks like a normal visitor), and it will not cause any damage.
The one exception is the active upload test, which sends a small, harmless test file to any upload endpoint the audit finds. This is an opt-in test — it only runs when you tell it to — and it tests how the server handles the upload, not whether the server can be compromised. Even this test is safe, because the file is harmless and the test checks the server's response, not its internal processing.
Chapter 4: HTTP security headers — the instructions browsers obey
When your server sends a web page to a visitor's browser, it also sends a set of headers — invisible instructions that tell the browser how to handle the content. Some of these headers are about caching, some are about content type, and some are about security. The security headers tell the browser what to trust, what to block, and what to refuse.
If your server does not send these headers, the browser uses its default behaviour, which is permissive — it allows scripts from anywhere, it allows framing by any site, it allows MIME type sniffing, and it sends the full URL as a referrer to every site you link to. This permissive default is what attackers exploit.
Strict-Transport-Security (HSTS)
HSTS tells the browser: always use HTTPS for this site, even if someone types http:// or follows an HTTP link. Without HSTS, there is a brief moment when the browser connects over plain HTTP before the server redirects to HTTPS. That moment is enough for an attacker on the same network to intercept the connection — a man-in-the-middle attack. HSTS eliminates that moment by telling the browser to never use HTTP at all.
The audit checks whether HSTS is present, whether the max-age is long enough (at least one year is recommended), and whether the includeSubDomains directive is set.
Content-Security-Policy (CSP)
CSP is the most powerful security header and the most complex. It tells the browser where scripts, styles, images, fonts, frames and other resources are allowed to load from. If a script tries to load from a source that is not on the allow list, the browser blocks it.
This is the primary defence against cross-site scripting (XSS) — an attack where an attacker injects a script into your page that runs in the visitor's browser. If your site has a CSP that only allows scripts from your own domain, an injected script from an attacker's domain will be blocked.
CSP is also the header most likely to break your site if configured incorrectly, because it blocks anything not on the allow list — including legitimate scripts you forgot to list. The audit checks whether CSP is present and whether it uses unsafe-inline or unsafe-eval, which weaken the policy.
X-Frame-Options
This header (or the equivalent frame-ancestors directive in CSP) tells the browser whether your pages can be loaded inside a frame on another site. Without it, an attacker can load your site in an invisible frame and trick a visitor into clicking on it — a clickjacking attack. The visitor thinks they are clicking a button on the attacker's page, but they are actually clicking a button on your page inside the hidden frame.
X-Content-Type-Options
When a server sends a file, it includes a Content-Type header saying what the file is — text/html, image/png, application/javascript. Without X-Content-Type-Options: nosniff, the browser may ignore that header and guess the file type from its contents. This can allow an attacker to upload a file that is served as an image but executed as a script.
Referrer-Policy
When a visitor clicks a link on your site to go to another site, the browser sends a Referer header to the destination containing the URL the visitor came from. Without a Referrer-Policy, the full URL — including any query parameters — is shared with every site you link to. If your URLs contain session identifiers, tracking parameters, or other sensitive information, those are leaked to every external site. The audit checks whether a Referrer-Policy is set and whether it limits what is shared.
Permissions-Policy
Permissions-Policy (formerly Feature-Policy) tells the browser which platform features your site uses — camera, microphone, geolocation, payment, fullscreen. Features you do not use should be disabled, so that if an attacker injects code into your page, that code cannot access the visitor's camera or microphone. The audit checks whether Permissions-Policy is present and what it allows.
Chapter 4b: What happens when headers are missing — real attacks explained
The headers described above are not theoretical protections. Each one exists because a specific attack was common enough to warrant a defence built into every browser. Here is what actually happens when each header is missing.
Without HSTS: the coffee shop attack
You are sitting in a coffee shop using the free WiFi. You type the address of your bank into the browser. Your browser sends the first request over HTTP — just for a moment, before the bank's server redirects to HTTPS. That moment is enough. An attacker on the same WiFi network is running a tool that intercepts that first HTTP request and replaces it with their own page — a page that looks exactly like the bank's login page but sends your username and password to the attacker. With HSTS, your browser would never send the HTTP request in the first place — it would go straight to HTTPS. The first request is the vulnerability. HSTS eliminates it.
This is not science fiction. The tool that does this — sslstrip — has been publicly available since 2009. It works in any network where the attacker shares the same connection: coffee shops, hotels, airports, shared offices, conference centres. HSTS is the defence, and it costs one line in a server configuration file.
Without CSP: the injected script
Your site has a blog with comments. A commenter posts a comment that contains a carefully crafted piece of text that your site interprets as HTML. The HTML contains a script tag that loads a script from the attacker's server. Every visitor who reads the comment loads the attacker's script. The script reads the visitor's session cookie and sends it to the attacker. The attacker now has the session of every visitor who read the comment.
With CSP, the browser would refuse to load the script because it comes from a domain not on the allow list. The script tag would still be in the HTML, but the browser would not execute it. CSP does not stop the injection — it stops the execution. The comment still appears (with the broken script tag visible), but the attack fails. This is why CSP is considered the most important security header: it is the last line of defence against the most common web attack.
Without X-Frame-Options: the invisible click
An attacker creates a web page that looks like a game — "Click the duck to win a prize!" — but behind the visible page, in an invisible iframe, is your website. The attacker positions the iframe so that the "Delete my account" button on your site sits exactly where the duck is on the game page. The visitor clicks the duck. They actually click "Delete my account" on your site. Because they are logged in (their session cookie is sent with the request), the action happens. This is clickjacking, and X-Frame-Options prevents it by telling browsers not to load your site in a frame.
Without Referrer-Policy: the leaking URL
Your site has a password reset page. The URL contains a token: https://yoursite.com/reset?token=abc123. The page has a link to your privacy policy, which is on a different domain. When the visitor clicks the link, the browser sends the full URL — including the reset token — to the privacy policy domain in the Referer header. The privacy policy site now has a valid password reset token for your user. Without Referrer-Policy, every external link on every page leaks the full URL to the destination.
Chapter 5: TLS — checking the actual handshake, not a simulation
When a browser connects to your site over HTTPS, it performs a TLS handshake — a negotiation where the browser and the server agree on a protocol version, a cipher suite, and exchange cryptographic keys. The Security Audit performs a real handshake with your server and reports exactly what it negotiated.
This is different from a simulation. Some tools check TLS configuration by looking up cached data from services like Censys or crt.sh, or by simulating what a handshake would negotiate based on the server's advertised capabilities. The Security Audit actually connects to your server, performs the handshake, and reports the real result — the actual protocol version that was used, the actual cipher suite that was selected, the actual certificate that was presented.
The audit checks the certificate is valid, not expired, covers the domain, and is issued by a trusted certificate authority. It checks that only TLS 1.2 and TLS 1.3 are accepted — TLS 1.0 and 1.1 are deprecated and no longer supported by major browsers. It checks the cipher suite for known weaknesses.
Chapter 6: Cookies — the flags that stop theft
Cookies are small pieces of data stored in the visitor's browser by your server. The most important cookies are session cookies — the ones that keep a visitor logged in. If an attacker can steal a session cookie, they can impersonate the visitor and access their account without knowing the password.
Three flags protect cookies from theft:
Secure. A cookie with the Secure flag is only sent over HTTPS connections. Without it, the cookie can be sent over plain HTTP, where it can be intercepted by anyone monitoring the network.
HttpOnly. A cookie with the HttpOnly flag cannot be read by JavaScript. Without it, an XSS attack — a script injected into the page — can read the cookie and send it to the attacker. The visitor's session is stolen without them knowing.
SameSite. A cookie with the SameSite attribute is only sent with requests that originate from the same site. Without it, the cookie is sent with every request to your server, including requests triggered by other sites — which enables cross-site request forgery (CSRF) attacks, where an attacker tricks the visitor's browser into making a request to your site using the visitor's session.
The Security Audit checks every cookie your server sets and reports which flags are present and which are missing. If a session cookie is missing the Secure flag, the audit tells you. If it is missing HttpOnly, the audit tells you. If SameSite is not set, the audit tells you. Each flag is a one-line change in your server configuration.
Chapter 7: Information exposure — what your server tells attackers
Your server and your page source may be revealing information that helps attackers target your site. This is not a vulnerability in itself — hiding information does not fix a security hole. But it removes a signpost. If an attacker can see that you are running WordPress 6.3.1, they can search the NIST database for known vulnerabilities in that specific version. If they cannot see the version, they have to guess or probe, which is harder and more likely to trigger defences.
The audit checks for several types of information exposure:
Server header. Many servers send a Server header that says "Apache/2.4.52" or "nginx/1.21.4." This tells anyone looking which software and version is running. The fix is to remove or simplify the Server header.
X-Powered-By header. Some frameworks add a header like "X-Powered-By: PHP/8.1.4" or "X-Powered-By: Express." Same problem, same fix — remove it.
CMS version in source. WordPress, Drupal, Joomla and other CMS platforms often include their version number in meta tags, script URLs or comment tags in the page source. The audit checks the HTML for these patterns.
HTML comments. Developers sometimes leave comments in the HTML that contain database names, server paths, TODO notes with security implications, or debugging information. The audit scans for these patterns.
Source maps. Source maps are files that allow browsers to map minified JavaScript back to the original source code. If your production site serves source maps, anyone can read your original code — including any logic, API endpoints, or patterns that should not be public.
Stack traces. If your server encounters an error and displays a stack trace — a detailed error message showing file paths, function names and line numbers — that information helps an attacker understand your server's internal structure.
Secret keys in source. API keys, database connection strings, authentication tokens and other secrets are sometimes accidentally committed to client-side code. The audit checks the page source for patterns that look like exposed secrets.
Directory listings. If your server is configured to show the contents of a directory when no index file is present, anyone can browse your server's file structure. The audit checks for open directory listings.
Chapter 7b: Why information exposure matters more than people think
When people hear "your server version is exposed," they often think: "So what? Anyone can find out what software I am running." That is true. A determined attacker can probe a server, test its responses, and usually work out what it is running. But the word "determined" is doing a lot of work in that sentence.
Most attacks against small business websites are not carried out by determined attackers who carefully probe each site. They are carried out by automated scanners that sweep millions of websites looking for specific patterns. These scanners read the Server header, the X-Powered-By header, and the meta generator tag. If the header says "Apache/2.4.49" — a version with a known path traversal vulnerability — the scanner adds the site to a list. Within minutes, another automated tool tries the exploit. If it works, the site is compromised. If the headers do not reveal the version, the scanner moves on. It does not stop to probe further, because there are millions of other sites to check.
This is not security through obscurity. Obscurity means hiding a vulnerability and hoping nobody finds it. Removing version information means removing the signpost that automated tools use to find you. The vulnerability itself needs patching — but while you are arranging the patch, not advertising the version buys you time.
The same applies to HTML comments, source maps and stack traces. Each one is a piece of information that helps an attacker understand your server's structure without sending a single probe. Comments that mention database names, paths or TODO items are breadcrumbs. Source maps are a complete blueprint. Stack traces are a map of the internal corridors. None of these need to be in production, and removing them has no cost.
Chapter 8: CVE matching — checking against the government database
CVE stands for Common Vulnerabilities and Exposures. It is a system for identifying and cataloguing known security vulnerabilities. Each vulnerability gets a unique identifier — CVE-2024-12345 — and is published in the NIST National Vulnerability Database (NVD) with a description, severity rating, affected software versions, and references to patches.
The Security Audit detects the software running on your site — the web server, the CMS, known JavaScript libraries — and checks those versions against the NIST NVD. If a published vulnerability exists for the version you are running, the audit flags it with the CVE identifier, the severity rating (from low to critical), and a link to the full details.
This is not vulnerability scanning. The audit does not probe your site for exploitable weaknesses. It detects the software version from public information (headers, meta tags, script URLs) and cross-references it against published vulnerabilities. If the version is exposed and has a known CVE, you need to know — either to update the software or to confirm the vulnerability has been mitigated by another means.
Many small business websites run software that is months or years behind the current version. The owner does not know there are updates, or knows but has not applied them, or applied them once but stopped when an update broke something. The CVE check tells them whether any of the published vulnerabilities apply to what their site is currently running.
Chapter 9: Mail DNS — stopping people sending email as you
Your domain is not just a website. It is also an email address. And unless you have set up the right DNS records, anyone in the world can send email that appears to come from your domain. Not "from a similar-looking domain" — from your actual domain. The email will say it is from you, and without the right records, the recipient's mail server has no way to know it is a fake.
This is not a theoretical risk. Domain spoofing is one of the most common phishing techniques. An attacker sends email from your domain to your customers, your suppliers, or your staff. The email looks legitimate because it genuinely comes from your domain — the attacker did not need your password, they just sent it. The fix is a set of DNS records that tell receiving mail servers which servers are authorised to send email for your domain.
SPF (Sender Policy Framework)
SPF is a DNS TXT record that lists the IP addresses and servers that may send email for your domain. When a receiving mail server gets an email claiming to be from your domain, it checks the SPF record. If the sending server is not on the list, the email fails SPF — which the receiving server can use to reject it, quarantine it, or flag it as suspicious.
DKIM (DomainKeys Identified Mail)
DKIM adds a cryptographic signature to every outgoing email. Your email server signs each message with a private key, and the corresponding public key is published in a DNS record. The receiving server checks the signature against the public key. If the signature is valid, the email was sent by a server that has your private key — which should be only your authorised email servers.
DMARC (Domain-based Message Authentication, Reporting and Conformance)
DMARC ties SPF and DKIM together. It tells receiving servers what to do when an email fails both SPF and DKIM: reject it, quarantine it, or allow it through. DMARC also provides a reporting mechanism — receiving servers send reports back to you showing how much email they received from your domain, how much passed authentication, and how much failed. This lets you see whether anyone is spoofing your domain.
MTA-STS (Mail Transfer Agent Strict Transport Security)
MTA-STS tells sending mail servers that they must use TLS (encryption) when delivering email to your domain. Without it, a sending server might fall back to plain text if the TLS connection fails, which allows the email to be intercepted in transit.
TLS-RPT (TLS Reporting)
TLS-RPT is a reporting mechanism for email TLS failures. It tells sending servers where to send reports when they cannot establish a TLS connection to your mail server. This lets you detect problems with your email encryption before they cause delivery failures.
DANE (DNS-based Authentication of Named Entities)
DANE publishes your server's TLS certificate in DNS, bound by DNSSEC. This prevents an attacker from presenting a fraudulent certificate for your mail server. It is the most advanced of the email security records and requires DNSSEC to be enabled on your domain.
The Security Audit checks all six records. For each one, it reports whether the record exists, whether it is correctly formatted, and what it says. Missing records are flagged with an explanation of what they do and why they matter.
Chapter 9b: The email authentication chain — how the six records work together
SPF, DKIM, DMARC, MTA-STS, TLS-RPT and DANE are not six separate systems. They are a chain, and each link reinforces the others.
SPF tells the receiving server which IP addresses may send email for your domain. This is the first check. If the email comes from an IP address not on the SPF list, it fails. But SPF has a limitation: it checks the envelope sender (the return-path), not the header from (the address the recipient sees). An attacker can set the header from to your domain while using their own domain as the envelope sender. The recipient sees your domain. SPF passes because the envelope sender is legitimate for the attacker's domain. This is called SPF alignment failure.
DKIM fixes the alignment problem. DKIM signs the email with a cryptographic key tied to your domain. The receiving server checks the signature against the public key in your DNS. If the signature is valid, the email was signed by someone who has your private key — which should be only your authorised email servers. DKIM checks the domain in the DKIM signature, not the envelope sender, so it catches the alignment problem SPF misses.
DMARC ties SPF and DKIM together and adds a policy. DMARC says: for an email to pass, it must pass either SPF or DKIM with alignment (the domain in the check must match the domain in the header from). If it fails both, DMARC tells the receiving server what to do: nothing (p=none, monitoring only), quarantine (send it to spam), or reject (refuse delivery). DMARC also sends reports back to you, so you can see who is sending email from your domain and whether it is passing or failing authentication.
MTA-STS enforces TLS encryption for email in transit. Without MTA-STS, a sending server will try TLS but fall back to plain text if the TLS connection fails. An attacker who can intercept the network can deliberately make the TLS connection fail, forcing the fallback, and read the email in plain text. MTA-STS tells sending servers: TLS is required, do not fall back to plain text, and here is the certificate to expect. If TLS fails, the email is not delivered rather than being delivered insecurely.
TLS-RPT provides reporting for email TLS failures. When a sending server cannot establish a TLS connection to your mail server, it sends a report to the address in your TLS-RPT record. This lets you detect problems — certificate expiry, misconfiguration, or deliberate TLS downgrade attacks — before they cause widespread delivery failures.
DANE publishes your certificate's fingerprint in DNS, signed by DNSSEC. This prevents an attacker who compromises a certificate authority from issuing a fraudulent certificate for your mail server. Without DANE, any certificate authority can issue a certificate for any domain, and a compromised CA can issue one for yours. With DANE, the receiving server checks the certificate against the fingerprint in your DNS, so only the specific certificate you published is accepted.
Together, these six records form a complete chain: SPF says who may send, DKIM proves the message is genuine, DMARC enforces the policy and reports failures, MTA-STS encrypts the delivery, TLS-RPT monitors the encryption, and DANE locks the certificate. Each record strengthens the others. Each missing record is a gap in the chain.
The Security Audit checks all six. For most small businesses, the minimum is SPF, DKIM and DMARC. For businesses that handle sensitive communication — legal, medical, financial — the full chain is recommended.
Chapter 10: CAA, DNSSEC, robots.txt and security.txt
CAA (Certificate Authority Authorization)
A CAA record tells certificate authorities which of them is allowed to issue certificates for your domain. Without a CAA record, any certificate authority can issue a certificate for your domain — which means an attacker who compromises a certificate authority could get a valid certificate for your site. With a CAA record, only the authority you specify can issue certificates.
DNSSEC
DNSSEC adds cryptographic signatures to your DNS records, so that when a browser or mail server looks up your domain, it can verify the response has not been tampered with. Without DNSSEC, DNS responses can be spoofed — an attacker can redirect your visitors to a different server without touching your site. DNSSEC prevents this.
robots.txt
robots.txt tells search engines which parts of your site to crawl and which to avoid. From a security perspective, the audit checks whether robots.txt accidentally reveals the locations of admin pages, backup directories, or other paths that should not be publicly known.
security.txt
security.txt is a standard file (at /.well-known/security.txt) that tells security researchers how to report vulnerabilities they find on your site. Without it, a researcher who finds a problem has no easy way to contact you, and may publish the vulnerability instead. The audit checks whether security.txt exists and whether it contains the required fields.
Chapter 11: Page content checks — secrets hiding in plain sight
The audit's page content checks look at the actual HTML source code of your pages for things that should not be there. These are the 10 checks that catch problems hidden in the content itself, not in the headers or DNS.
Secret keys and tokens. API keys for services like Google Maps, Stripe, AWS, Firebase and others are sometimes included directly in client-side JavaScript. If the key is in the page source, anyone who views the source can see it and use it. The audit checks for patterns that match known key formats.
HTML comments with sensitive information. Comments like <!-- TODO: remove before production --> or <!-- database: prod_db_host --> are surprisingly common. The audit flags comments that contain keywords associated with internal information.
Source maps in production. Source maps allow anyone to read your original, unminified JavaScript. The audit checks whether your production pages link to source map files.
Stack traces in responses. Error pages that display full stack traces reveal internal file paths, function names, and sometimes database query structures. The audit checks for stack trace patterns in the page response.
Directory listings. If a URL returns a directory listing instead of a page, the audit flags it — it means your server is exposing its file structure to anyone who requests that path.
Mixed content. If your HTTPS page loads images, scripts, or styles over plain HTTP, the page has mixed content. This weakens the HTTPS protection because the HTTP resources can be intercepted and modified. Modern browsers block some mixed content and warn about the rest. The audit checks every resource reference on the page.
Forms without HTTPS action. If a form on your HTTPS page submits to an HTTP URL, the form data — including passwords or personal information — is sent in plain text. The audit checks every form's action URL.
Forms without CSRF protection. Forms that submit data should include a CSRF token to prevent cross-site request forgery. The audit checks for the presence of hidden CSRF fields in forms.
Chapter 12: The active upload test — 16 real-world behaviours
If the audit finds upload endpoints on your site — file upload forms, image upload areas, document submission forms — it offers to run the active upload test. This test sends a small, harmless test file and checks how the server responds.
The test covers 16 real-world upload behaviours that servers exhibit:
Accepting the file without validation. Rejecting the file with an error message. Silently refusing the file (accepting the request but not saving the file). Redirecting to another page. Rate-limiting the upload. Requiring authentication. Checking the file type. Checking the file size. Checking the file name. Renaming the file. Storing the file in a different location. Returning the file URL. Returning an error but keeping the file. Accepting files with no extension. Accepting files with dangerous extensions. Accepting multiple files in one request.
Each behaviour tells you something about how your upload handling works. The dangerous ones — accepting files without validation, accepting dangerous extensions, accepting multiple files without limits — are flagged. The safe ones — rejecting invalid types, rate-limiting, requiring authentication — are confirmed as passing.
This is an opt-in test. The audit does not automatically upload files to your site. You choose to run it, and you can see exactly what was sent and how the server responded.
Chapter 12b: What the page content checks catch that header checks do not
Most security scanners check headers and certificates — the instructions the server sends before the page content. They never look at the page itself. The Security Audit does both: it checks the headers and the certificates, and then it reads the actual HTML source of your pages looking for problems that live in the content rather than the configuration.
This is an important distinction. Headers protect the connection. Page content checks protect the data. A server with perfect headers can still have an API key in its JavaScript, a database connection string in an HTML comment, or a source map that reveals the entire original codebase. These are not configuration problems — they are content problems, and they require reading the page to find them.
How secret keys end up in page source
A developer is building a feature that uses the Google Maps API. During development, they put the API key directly in the JavaScript file so they can test quickly. The feature works. They commit the code. It goes to production. The key is now in the page source of every page that loads that JavaScript file, visible to anyone who views the source.
This happens more often than developers admit. The key is usually not the developer's — it belongs to the business. It may have billing attached. It may grant access to services beyond what the page needs. An unrestricted Google API key, for example, can be used for any Google Cloud service, not just Maps. The business does not know the key is exposed until they receive an unexpected bill or the Security Audit flags it.
The same pattern applies to Firebase configuration, Stripe publishable keys (which should be client-side but can be over-permissioned), AWS access keys that were accidentally committed, and authentication tokens from development that made it to production. The Security Audit checks for patterns matching all major cloud provider key formats.
How HTML comments become security risks
HTML comments are invisible to visitors but visible to anyone who views the page source. Developers use them for notes, TODO items, debugging, and documentation. In development, this is harmless. In production, some of those notes reveal information that should be private.
Comments like <!-- database: prod_mysql_01 --> tell an attacker the database server name. Comments like <!-- TODO: implement rate limiting on /api/admin --> tell an attacker which endpoint has no rate limiting. Comments like <!-- old login page at /admin-legacy/ --> reveal a path that might not be linked anywhere but still works. The audit flags comments that contain keywords associated with internal infrastructure, credentials, paths, and debugging information.
How source maps reveal your entire codebase
When JavaScript is minified for production — variable names shortened, whitespace removed, code compressed — the original source code is unreadable. Source maps are files that reverse that process, mapping the minified code back to the original. They are essential during development for debugging. They should never be deployed to production.
A source map on a production site means anyone can read the original JavaScript — the full, commented, readable version with meaningful variable names, function names, and logic. For a simple marketing site, this is embarrassing but not dangerous. For a site with authentication logic, payment processing, or admin functionality in its client-side code, source maps expose the entire logic to anyone who looks.
The audit checks every script reference on the page for a corresponding source map file, and flags any that are accessible.
How mixed content weakens HTTPS
HTTPS encrypts the connection between the browser and the server. But if the HTTPS page loads a resource — an image, a script, a stylesheet, a font — over plain HTTP, that resource is not encrypted. An attacker who can intercept the network can modify the HTTP resource in transit. If the resource is a script, the attacker can inject code into it. If it is a stylesheet, the attacker can change the appearance of the page. If it is an image, the attacker can replace it.
Modern browsers block "active" mixed content (scripts, stylesheets, iframes) automatically and warn about "passive" mixed content (images, audio, video). But the warning itself — a broken padlock or "not secure" indicator — damages trust. Visitors to a law firm, a medical practice, or a financial service see the warning and leave. The Security Audit checks every resource reference on the page and flags any that use HTTP instead of HTTPS.
Chapter 13: What Prince Smarming's scan missed
Prince Smarming ran a free SSL checker on Spenderella's candle shop. The result said "A+" and showed a green lock icon. He ran a free security scanner that checked whether the site was on a blocklist. It was not. He ran a free header checker that said "7 out of 10 headers found." He combined these into a report with his logo on it and charged Spenderella £400 for a "comprehensive security review."
Here is what Prince Smarming's review covered: TLS certificate validity, blocklist presence, and a count of headers. Here is what it did not cover: whether the headers that were present were correctly configured, whether the cookies had security flags, whether the CMS version was exposed, whether any page had a secret key in its source code, whether email DNS records were set up, whether the server had known CVEs, whether upload endpoints were protected, whether the page had mixed content, whether forms submitted over HTTPS, or whether anyone had left a source map in production.
Three months later, Spenderella's hosting provider sent her an email saying her site was being used to send phishing emails. Someone had spoofed her domain — sent emails that looked like they came from her — because she had no SPF, DMARC or DKIM records. Her customers received fake invoices that appeared to come from her shop. Two of them paid. It took weeks to sort out, and the damage to her reputation took longer.
Prince Smarming's scan would not have caught this, because it did not check mail DNS records. The Security Audit would have caught it on the first run — SPF, DMARC and DKIM would all have been flagged as missing, with instructions on how to add them.
Chapter 13b: What a comprehensive security scan actually covers — the full 64 checks
People often ask: what exactly are the 64 checks? Here is the full breakdown, grouped by category. Each check produces a pass or a fail, and each failure includes a description of the problem, its severity, and what to do about it.
HTTP security headers (6 checks)
Strict-Transport-Security (HSTS) with max-age and includeSubDomains. Content-Security-Policy (CSP) with unsafe-inline and unsafe-eval detection. X-Frame-Options or frame-ancestors in CSP. X-Content-Type-Options: nosniff. Referrer-Policy with appropriate value. Permissions-Policy with unused features disabled.
TLS and certificates (5 checks)
Certificate validity and trust chain via real handshake. Certificate expiry date. Protocol versions (TLS 1.2 and 1.3 only). Cipher suite strength. HTTP to HTTPS redirect.
Cookie security (3 checks)
Secure flag on session cookies. HttpOnly flag on session cookies. SameSite attribute on all cookies.
Server and CMS disclosure (5 checks)
Server header version removal. X-Powered-By header removal. CMS version in meta generator tag. CMS version in script URLs. CMS version in stylesheet URLs.
Known vulnerabilities (3 checks)
Detected server software version against NIST NVD. Detected CMS version against NIST NVD. Detected JavaScript library versions against NIST NVD.
Mail DNS (6 checks)
SPF record presence and validity. DKIM selector presence. DMARC record presence and policy. MTA-STS policy presence. TLS-RPT record presence. DANE TLSA record presence.
DNS security (2 checks)
CAA record specifying allowed certificate authorities. DNSSEC validation.
Security files (2 checks)
robots.txt sensitive path disclosure. security.txt presence and required fields (RFC 9116).
Page content (10 checks)
Secret keys and tokens in page source (regex patterns for AWS, Google, Stripe, Firebase, generic API keys). HTML comments with sensitive keywords (database, password, TODO, admin, config). Source map references in production. Stack traces in page response. Directory listings. Mixed content (HTTP resources on HTTPS pages). Forms with HTTP action URLs. Forms without CSRF tokens. Script integrity attributes (SRI). Inline event handlers in HTML.
Active tests (4 checks)
Upload endpoint detection. File upload validation (accepts/rejects/redirects across 16 behaviours). Rate limiting detection. Error handling (whether error pages expose stack traces or server information).
Additional passive checks (18 checks)
CORS configuration. X-XSS-Protection (legacy but still checked). Cache-Control on sensitive pages. Set-Cookie on login responses. Session fixation indicators. Autocomplete on password fields. Iframe sandboxing. Subresource integrity (SRI) on third-party scripts. Cross-origin headers on font and script resources. Content-Type header correctness. Character encoding declaration. Document type declaration. Canonical URL consistency. Redirect chain length. HTTPS everywhere (all internal links use HTTPS). External link security (rel="noopener" on target="_blank" links). Clickjacking via meta refresh. Open redirect detection.
Chapter 14: How the scoring works
Each of the 64 checks produces a pass or a fail. The overall score is a percentage of checks passed, weighted by severity.
Not all checks are equal. A missing Content-Security-Policy header is more serious than a missing X-Content-Type-Options header, because CSP protects against a wider range of attacks with more severe consequences. A session cookie without the Secure flag is more serious than a tracking cookie without it, because a stolen session cookie gives access to the visitor's account. A critical CVE is more serious than a low-severity one.
The weighting reflects this. High-severity checks contribute more to the score than low-severity ones. This means a site can fail a few low-severity checks and still score well, but failing a high-severity check will drop the score significantly.
The score gives you a single number to track over time. Run the audit after setting up your server, note the score, then run it again after each change. The score should go up. If it goes down, something you changed weakened the security configuration — the individual check results will show what.
But the score is not the point. The point is the individual results. Each failing check is a specific setting that needs attention. The score tells you the summary. The results tell you what to do.
Chapter 14b: Understanding the results — what pass, fail, and severity mean
When the Security Audit produces its results, every check is marked as pass or fail. No maybes, no warnings, no "could be better." Either the setting meets the standard or it does not. This binary approach is deliberate — it makes the results actionable. A warning that says "you might want to consider adding this header" is easy to ignore. A fail that says "Content-Security-Policy is missing — here is what it does and how to add it" is not.
Each failing check also carries a severity level: critical, high, medium, or low.
Critical means the finding represents an immediate, exploitable risk. A critical CVE on exposed software. A session cookie without the Secure flag on a site that handles payments. A missing HSTS header on a login page. These are findings that should be fixed before anything else, because they represent active risk — not theoretical risk, but risk that automated tools are scanning for right now.
High means the finding represents a significant gap that an attacker could exploit with moderate effort. A missing Content-Security-Policy. Missing DMARC with p=reject. A source map exposed in production. These are not as immediately exploitable as critical findings, but they represent gaps that any competent attacker would notice and many automated tools would flag.
Medium means the finding is a best-practice recommendation that reduces risk but whose absence does not create an immediate exploitable vulnerability. A missing Permissions-Policy header. Missing CAA records. Missing security.txt. A Referrer-Policy set to a less restrictive value than recommended. These should be fixed but do not need to be fixed today.
Low means the finding is a refinement — something that marginally improves security but whose absence is unlikely to be exploited. A missing X-Content-Type-Options: nosniff header on a site that serves no user-uploaded content. A missing DANE record on a domain that already has DMARC with p=reject. These are polish, not protection.
The scoring weights reflect these severities. A site with one critical failure will score lower than a site with five low failures, because the critical failure represents more risk. This means the score reflects actual security posture, not a count of settings. A site that passes all the critical and high checks but fails a few low ones is in good shape. A site that passes every low check but fails a critical one is not.
The report shows the results in severity order — critical first, then high, medium, low, then passes. This means you read the most important findings first and work your way down. If you can only fix three things today, the report tells you which three matter most.
Chapter 15: How the Security Audit compares to other tools
Qualys SSL Labs
SSL Labs is the gold standard for TLS testing. It tests protocol versions, cipher suites, certificate chains, known TLS vulnerabilities (BEAST, POODLE, Heartbleed, ROBOT), key exchange parameters, and certificate transparency. If you want the deepest possible analysis of your TLS configuration, SSL Labs is the tool. The Security Audit checks TLS as one part of a broader scan — it performs a real handshake and reports the basics (certificate validity, protocol version, cipher suite), but it does not test for every TLS-specific vulnerability the way SSL Labs does. SSL Labs goes deeper on TLS. The Security Audit goes wider across the whole security surface.
Hardenize
Hardenize is a monitoring service that covers TLS, HTTP headers and email security in a single report. It is well-regarded and covers similar ground to parts of the Security Audit. The difference is scope and model: Hardenize is a subscription monitoring service that tracks your configuration continuously. The Security Audit is a pay-as-you-go point-in-time scan that also covers page content checks (exposed secrets, source maps, stack traces, directory listings), active upload testing, CVE matching, cookie flags and mixed content — areas Hardenize does not test. If you want continuous monitoring, Hardenize is a good choice. If you want a comprehensive point-in-time scan without a subscription, the Security Audit covers more ground per run.
Mozilla HTTP Observatory
The HTTP Observatory checks HTTP security headers and related configuration — CSP, HSTS, cookies, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and several others. It is free, well-designed, and focused specifically on headers. The Security Audit includes all the same header checks plus everything else — TLS, cookies, CVEs, mail DNS, page content, upload handling, server disclosure. If you only need header checks, the Observatory is excellent. If you need the full picture, the Security Audit covers it.
REDbot
REDbot analyses HTTP responses in detail — caching headers, content negotiation, transfer encoding, connection management. It is a diagnostic tool for HTTP correctness, not specifically a security tool. The overlap with the Security Audit is small — both check some headers — but the purpose is different. REDbot tells you whether your HTTP responses are correct. The Security Audit tells you whether they are secure.
Chapter 16: Real scenarios — what the audit finds in practice
The accountant whose emails were being spoofed
An accountant's website had a valid SSL certificate, a modern WordPress installation, and reasonable page speed. Everything looked fine. But the accountant had no SPF, DMARC or DKIM records. An attacker sent emails from the accountant's domain to their clients, requesting payment to a new bank account. Three clients paid before the accountant found out. The total loss was over £12,000. The Security Audit would have flagged all three missing records with instructions for adding them. The fix takes 20 minutes in a DNS control panel.
The restaurant with an exposed API key
A restaurant's website used Google Maps to show its location. The developer had put the Google Maps API key directly in the page source — visible to anyone who viewed the source. The key was unrestricted, meaning it could be used for any Google API service, not just Maps. An attacker found the key and used it to run up Google Cloud charges. The restaurant received a bill for £2,300 from Google. The Security Audit's secret key check would have flagged the exposed key on the first run.
The ecommerce site with no CSP
An ecommerce site selling kitchen equipment had no Content-Security-Policy header. A third-party review widget had a vulnerability that allowed script injection. An attacker used it to inject a script that skimmed credit card numbers from the checkout page. The script loaded from an external domain — if CSP had been in place and limited script sources to the site's own domain, the browser would have blocked the script entirely. The attack went undetected for three weeks. The Security Audit would have flagged the missing CSP as a high-severity finding.
The charity running WordPress 5.9
A charity's website was built on WordPress and never updated after launch. It was running WordPress 5.9, which had three known CVEs with severity ratings from medium to critical. The site had been defaced once and cleaned up, but the core software was never updated, so the same vulnerability was exploited again two months later. The Security Audit's CVE check would have matched the WordPress version against the NIST database and flagged the specific vulnerabilities.
The startup that left source maps in production
A SaaS startup built a customer dashboard using React. The build process generated source maps alongside the minified JavaScript bundles. The developer forgot to disable source map generation for the production build. The source maps were deployed to the production server and served to anyone who requested them.
A competitor's developer — not an attacker, just someone curious — opened the browser developer tools on the startup's login page, found the source map reference, and downloaded the original source code. The code revealed the entire authentication logic, the API endpoint structure, the rate limiting implementation, and several commented-out sections that described planned features the startup had not yet announced. The competitor adjusted their own product roadmap based on the leaked source code.
No data was stolen. No customers were harmed. But the startup's proprietary code and unreleased product plans were exposed to a competitor because a build configuration was wrong. The Security Audit would have flagged the source map reference on the first run, and the fix — disabling source maps in the production build — takes one line in the build configuration.
The ecommerce site with no CSRF protection
An ecommerce site had a "quick reorder" feature — a button on the order history page that placed the same order again with one click. Convenient for the customer. The form behind the button had no CSRF token.
An attacker created a web page containing a hidden form that submitted a reorder request to the ecommerce site. The attacker sent an email to the site's customers — using the site's own domain, because mail DNS was also not configured — with a link to a "special offer." Customers who clicked the link and were logged in to the ecommerce site unknowingly submitted a reorder of their last order. The attacker changed the delivery address to their own. Several customers received unexpected charges, and the site processed orders to an address it had never seen before.
Two findings would have prevented this: the missing CSRF token on the form (flagged by the page content checks) and the missing mail DNS records (flagged by the mail DNS checks). Both are fixable in under an hour.
The law firm with mixed content
A law firm's HTTPS website loaded its logo from an HTTP URL. This was mixed content — an HTTP resource on an HTTPS page. Modern browsers showed a warning icon in the address bar, replacing the padlock with a "not secure" indicator. The firm's clients — people seeking legal advice on sensitive matters — saw the warning and left. The Security Audit would have flagged the mixed content and identified the specific resource causing it.
Chapter 16b: Why free security scanners give false confidence
There are dozens of free security scanners available online. Many of them produce a grade — A, B, C — and a coloured badge. Website owners run the scan, see an A grade, and believe their site is secure. This is false confidence, and it is worse than not scanning at all, because it creates a belief that the job is done.
Here is what most free scanners actually check:
SSL certificate validity. Is the certificate present, trusted, and not expired? This is one check out of 64. It tells you nothing about the server's TLS configuration, the protocol versions accepted, or the cipher suites available. A server can have a valid certificate and still accept TLS 1.0 with weak ciphers.
Blocklist presence. Is the domain on a known malware or phishing blocklist? If your site has not been compromised and listed, this passes. It tells you nothing about whether your site is vulnerable to being compromised in the future. It is a reactive check, not a preventive one.
Basic header presence. Does the server send certain headers? Some free scanners count how many security headers are present — "7 out of 10 found" — without checking whether the headers are correctly configured. A Content-Security-Policy header that allows unsafe-inline and unsafe-eval is worse than useless — it gives the appearance of protection while allowing the most common attacks through. A scanner that counts its presence as a pass is misleading.
What free scanners typically miss:
Cookie flags. Mail DNS records. Known CVEs. Source code analysis. Upload handling. Server fingerprinting. Mixed content. Form security. CSRF tokens. CAA records. DNSSEC. MTA-STS. TLS-RPT. DANE. The page content checks that find exposed secrets, source maps and stack traces. The active upload test. The weighted scoring that reflects actual risk rather than counting passes.
The result is a scan that checks three to five things, produces a grade, and leaves the other 59 things unchecked. The website owner sees the grade and stops looking. The gaps remain.
The Security Audit is not free. But it checks 64 things, not five. Every check produces a specific finding — not a grade, not a badge, but a pass or fail on a named setting with an explanation of what it does and how to fix it. A score of 85/100 on the Security Audit means more than an "A" from a free scanner, because the Security Audit checked the things that actually matter.
Chapter 17: What the audit costs and how the pricing works
The Security Audit is pay as you go. Credits are bought in packs and they never expire. There is no subscription, no monthly fee, no contract. You run an audit when you need one and pay only for what you use.
This pricing model exists because most website owners do not need a security audit every day. They need one after setting up a server, after changing their hosting, after a CMS update, after adding email DNS records, after a breach, or as a periodic health check. A subscription charges them every month for a tool they use a few times a year. Pay as you go charges them only when they scan.
The free tier lets you try the audit without an account. Beyond that, credits start from £4.99 and each audit run costs from the credit balance.
Chapter 17b: Why pay-as-you-go works better than subscription for security audits
Security audit subscriptions typically cost between £10 and £100 per month, depending on the tool and the number of sites. For a business that runs an audit once a quarter, that is £120 to £1,200 per year for four audits. The same four audits on a pay-as-you-go model cost a fraction of that — four runs from a credit balance, with the unused credits carrying forward to whenever they are needed next.
Subscription models work well for tools that run continuously — monitoring services that check your configuration every hour and alert you when something changes. If you need continuous monitoring, a subscription makes sense. But most small businesses do not need continuous security monitoring. They need to check their configuration after a change, after an incident, or on a schedule they set themselves.
The pattern for most small business websites is: set up the server, run an audit, fix what needs fixing, then not think about security again until something changes. When something changes — a CMS update, a hosting migration, a new plugin, a TLS certificate renewal, a report of a breach — they run another audit. The gap between audits might be a month, three months, or a year. A subscription charges them for every month in between. Pay as you go charges them only when they scan.
This is why the Security Audit uses a credit model. Credits start from £4.99, they never expire, and each audit run deducts from the balance. If you run four audits in January and none until April, you pay for four audits. If you run one audit in January and one in July, you pay for two. The credits are still there whenever you need them.
The free tier exists because running one audit to see whether the tool is useful should not cost anything. The paid tier exists because checking 64 settings with real TLS handshakes, DNS lookups, CVE matching and page content analysis costs computing resources. The model is designed so the cost matches the usage, and the usage matches the need.
Chapter 18: When to run a security audit
After setting up a new website or server
Default configurations are rarely secure. Run the audit immediately after launch to establish a baseline and fix anything missing before visitors arrive.
After a CMS or server update
Updates can change configuration. A WordPress update might reset a security header. A server update might change TLS settings. Run the audit after any update to confirm nothing has regressed.
After adding or changing email DNS records
SPF, DMARC and DKIM records need to be correctly formatted and consistent with each other. A misconfigured DMARC record can cause legitimate email to be rejected. Run the audit after any DNS change to verify the records.
After a breach or compromise
After cleaning up a breach, run the audit to verify that all security settings are correctly restored. Attackers often weaken security configuration to maintain access — the audit catches any settings that were changed.
Before buying a website or domain
If you are buying an existing website, run the Security Audit as part of due diligence. The results show the current state of the site's security configuration — missing headers, exposed secrets, vulnerable software, weak email authentication.
As a periodic health check
Configuration drifts over time. Certificates expire. Software gets out of date. DNS records get changed by mistake. A quarterly audit catches these changes before they become problems.
Chapter 18b: Security for different types of website
Not all websites carry the same risk. A personal blog and an ecommerce site both need security, but the consequences of a gap are different and the priorities are different. Here is what matters most for each type.
Ecommerce sites
Ecommerce sites handle payment information, customer addresses, account credentials, and order histories. The stakes are the highest of any small business website. The most critical checks are: CSP (to prevent script injection that skims credit card numbers), cookie flags (to prevent session theft that gives an attacker access to customer accounts), HSTS (to prevent connection downgrade on shared networks), mixed content (which breaks the trust indicator visitors look for before entering payment details), and form security (to prevent CSRF attacks that could place orders using a logged-in customer's session).
Ecommerce sites should also pay close attention to CVE checks, because ecommerce platforms (WooCommerce, Shopify themes, Magento, BigCommerce) have a larger attack surface than a simple site — more code, more plugins, more points where a vulnerability can appear. The upgrade cycle for ecommerce platforms is relentless, and falling behind by even a few months can mean running code with known, published vulnerabilities that automated scanners are actively looking for.
Professional services — law firms, accountancies, medical practices
Professional services handle sensitive client information and are held to higher standards by their regulators. For these businesses, the most critical checks are: mail DNS (email spoofing against a law firm or accountancy is devastating — a fake invoice from your domain to your client can result in losses the firm is liable for), HSTS and CSP (to protect client portals and login areas), cookie security (session theft gives access to case files, medical records, or financial data), and information exposure (revealing the CMS version or server software tells attackers exactly where to look for vulnerabilities).
Professional services firms are also subject to data protection regulations that require "appropriate technical measures" to protect personal data. A missing Content-Security-Policy header, a missing HSTS header, or cookies without the Secure flag are examples of technical measures that are easy to implement and whose absence is hard to justify if a breach occurs and the regulator asks what security measures were in place.
Content sites — blogs, news, magazines
Content sites typically do not handle payment information or sensitive personal data, but they handle something else valuable: trust. A blog that is defaced, a news site that serves malware through an injected script, or a magazine site whose email domain is spoofed all suffer the same damage — the audience stops trusting the site. The most critical checks for content sites are: CSP (to prevent script injection via comments or third-party ad scripts), X-Frame-Options (to prevent clickjacking), and security.txt (to give security researchers a way to report vulnerabilities instead of publishing them).
Content sites that accept user-generated content — comments, forum posts, reviews — have additional risk, because every user submission is a potential injection vector. CSP is essential, and form security (CSRF tokens) prevents an attacker from submitting comments as a logged-in user.
Portfolio and brochure sites
Simple sites with no logins, no forms, and no user interaction still need basic security. The most critical checks are: HSTS and TLS (visitors expect the padlock), headers (even a simple site can be framed or scripted), and mail DNS (even if the site does not send email, the domain can be spoofed for phishing). The Security Audit is quick on simple sites — fewer pages, fewer endpoints, fewer things to check — and the fixes are equally straightforward.
Sites behind a CDN or reverse proxy
Sites that use Cloudflare, Fastly, AWS CloudFront, or another CDN add a layer between the visitor and the server. The CDN may add some security headers by default, and many CDN dashboards allow you to configure additional headers. But the CDN does not add all headers, it does not set cookie flags, it does not publish mail DNS records, it does not hide version information from the page source, and it does not monitor CVEs. The Security Audit checks the response as the visitor receives it — including whatever the CDN adds or modifies — so the results show the actual security posture, not the server's configuration in isolation.
One common mistake with CDN setups is assuming the CDN handles everything. The CDN handles network-level protections — DDoS mitigation, bot management, WAF rules. The server-level and page-level security — headers, cookies, CVEs, mail DNS, page content — is still the site owner's responsibility, and the Security Audit is what checks it.
Chapter 19: Common mistakes people make with website security
Thinking the padlock means secure
The padlock means the connection is encrypted. It says nothing about headers, cookies, software versions, email authentication, or any of the other 60+ checks the audit covers. The most common mistake is treating the padlock as a complete security indicator. It is not.
Setting up headers once and never checking again
Security headers can be lost in a server migration, a CMS update, a CDN change, or a hosting provider change. What was set correctly six months ago may not be set correctly now. The only way to know is to check.
Ignoring email DNS records
Many website owners think email security is their email provider's problem. It is not. SPF, DMARC and DKIM are DNS records on your domain. You control them. If they are not set up, your domain can be spoofed regardless of which email provider you use.
Leaving software versions exposed
Removing version information from headers and source code is not security through obscurity — it is removing a convenience for attackers. A determined attacker can still probe for versions, but automated scanners that look for specific versions in headers will skip a site that does not advertise them.
Not checking page source for exposed secrets
Developers work with API keys, tokens and configuration values every day. It is easy for one to end up in client-side code and be deployed to production. The developer may not even realise, because the site works fine — the key is doing its job. But it is also visible to anyone who views the page source.
Assuming a CDN handles everything
CDNs like Cloudflare, Fastly and Akamai add some security headers by default and can be configured to add more. But they do not add them all, they do not set cookie flags, they do not publish your email DNS records, and they do not update your CMS. The CDN handles the network layer. The server configuration is still your responsibility.
Chapter 20: The real cost of not checking
A missing SPF record costs nothing to add but can cost thousands in phishing damage. A missing CSP header costs nothing to add but can cost a business its customers' credit card numbers. An exposed API key costs nothing to restrict but can cost hundreds in fraudulent charges. An outdated CMS costs nothing to update but can cost weeks of downtime after a defacement.
The pattern is the same every time. The fix is cheap or free. The damage is expensive. And the audit that would have caught the problem costs less than a cup of coffee. The maths is not complicated — but the problem is that the damage only happens if the gap is found by an attacker before it is found by the owner. The audit makes sure the owner finds it first.
Chapter 20b: The numbers — what security incidents actually cost small businesses
The UK government's Cyber Security Breaches Survey publishes data every year on the cost and frequency of cyber incidents among UK businesses. The numbers are consistent year after year: about a third of UK businesses experienced a security breach or attack in the preceding 12 months. Among those, the most common attacks were phishing (the kind that email authentication prevents), followed by impersonation (which domain spoofing enables), and then hacking attempts that exploit known vulnerabilities (which CVE monitoring catches).
The average cost of a breach for a small business is not measured in thousands. It is measured in time, reputation and trust. A phishing email sent from your domain to your customers costs you credibility that takes months to rebuild. A defaced website costs you visitors who try to reach you, see the defacement, and never come back. An exposed API key costs you whatever the attacker charges to your account before you notice.
The Security Audit costs less than a cup of coffee per run. The email authentication records it checks are free to add. The headers it recommends are free to set. The version information it flags is free to hide. The source code it checks for exposed secrets is free to clean. Every fix is either free or trivially cheap. The damage those fixes prevent is not.
This is not a sales pitch. It is arithmetic. The cost of running the audit and fixing what it finds is less than the cost of a single phishing incident, a single defacement, or a single exposed API key. The audit pays for itself the first time it catches a problem that would otherwise have cost you money, time or trust.
The businesses that get hurt are not the ones that check and find nothing. They are the ones that never check, assume the padlock means secure, and discover the gap when an attacker finds it first.
Chapter 21: What Spenderella learned about security
Spenderella learned that a padlock is not a security audit. It is one check out of 64. The other 63 checks cover the headers that stop scripts being injected, the cookies that stop sessions being stolen, the DNS records that stop email being spoofed, the version numbers that stop attackers targeting known vulnerabilities, the page source that might be leaking secrets, and the upload forms that might be accepting anything.
She learned that security is not a state — it is a practice. Setting everything up correctly once does not mean it stays correct. Servers get updated. Configurations change. Certificates expire. Software gets old. The only way to know whether her site is secure today is to check it today.
She learned that The Bin Man was right. He checks the things nobody thinks to look at — the headers, the DNS records, the page source, the cookie flags. He does not assume the padlock means everything is fine. He checks.
She learned that OMG It's OCD Lee would not sign off on a security review that only checked TLS. He wants all 64 checks. He wants every header, every cookie, every DNS record, every piece of exposed information. Not because he is difficult, but because that is what a security audit means. No shortcuts. No "good enough." Just whether it passed.
How-to guides
How to run a website security audit
Use the Security Audit to scan any public website against 64 security checks.
You get: A report showing pass or fail for each check with fix instructions. Time: about 3 minutes. Cost: Pay as you go. You need: A public URL.
Step 1: Open the Security Audit. Go to aiwebpageseo.com/security-audit.html and enter the URL of the site you want to check.
Step 2: Run the scan. The audit runs 37 passive checks immediately — headers, certificates, cookies, DNS records.
Step 3: Review the results. Each check shows pass or fail with what was found and what it means. Failed checks include what to fix.
Step 4: Run the active tests. If upload endpoints were found, opt in to the active upload test to check how the server handles file uploads.
Step 5: Fix and re-test. Fix each failing check, then run the audit again to confirm.
How to fix missing HTTP security headers
Find which headers are missing and add them to your server configuration, one at a time.
You get: All recommended headers correctly configured. Time: 15–30 minutes. Cost: Pay as you go for the audit. You need: Access to your server configuration.
Step 1: Run the Security Audit. The HTTP headers section shows which headers are present and which are missing.
Step 2: Start with HSTS. Add Strict-Transport-Security with a short max-age first, test, then increase.
Step 3: Add CSP. Start with Content-Security-Policy-Report-Only to see what it blocks before enforcing.
Step 4: Add the simpler headers. X-Frame-Options, X-Content-Type-Options: nosniff, Referrer-Policy and Permissions-Policy rarely break anything.
Step 5: Re-run the audit. Confirm each header appears. Check the site works after each change.
How to set up email authentication DNS records
Add SPF, DMARC and DKIM to stop attackers sending email from your domain.
You get: Complete email authentication. Time: 20–30 minutes. Cost: Free (DNS records cost nothing). You need: Access to your DNS control panel.
Step 1: Check current records. Run the Security Audit — the mail DNS section shows what is present and missing.
Step 2: Add SPF. Create a TXT record listing your authorised mail servers. Your email provider's docs give the exact record.
Step 3: Set up DKIM. Your email provider generates the key pair and gives you the DNS record.
Step 4: Add DMARC. Create a TXT record at _dmarc.yourdomain.com. Start with p=none, move to p=reject once confident.
Step 5: Consider MTA-STS and DANE. Advanced but increasingly important for enforcing email encryption.
Step 6: Re-run the audit. Confirm all records are published and correctly formatted.
How to check your TLS certificate and protocol configuration
Verify your site uses a valid certificate, modern TLS versions and secure cipher suites.
You get: Confirmation your TLS meets current standards. Time: 5 minutes. Cost: Pay as you go. You need: A public HTTPS URL.
Step 1: Run the Security Audit. The TLS section performs a real handshake and reports the certificate, protocol and cipher suite.
Step 2: Check the certificate. Valid, not expired, correct domain, trusted authority.
Step 3: Check protocols. Only TLS 1.2 and 1.3 should be enabled.
Step 4: Check ciphers. The audit flags weak or deprecated cipher suites.
Step 5: Fix and re-test. Disable old protocols and weak ciphers, then re-run.
How to check your site's security after a breach
Verify all security settings are correctly restored after a breach, password change or server rebuild.
You get: Verification that nothing was left weakened. Time: 10 minutes. Cost: Pay as you go. You need: Your website URL.
Step 1: Run the full Security Audit. Every setting needs verifying — attackers weaken configuration to maintain access.
Step 2: Check page content. Look for exposed secrets, source maps or stack traces added during the breach.
Step 3: Check TLS. Verify the certificate has not been replaced and protocols not downgraded.
Step 4: Check mail DNS. Attackers sometimes modify mail DNS to send phishing from your domain after a breach.
Step 5: Compare with a previous audit. Any check that was passing before and is now failing may be an attacker's change.
Step 6: Schedule regular audits. Run quarterly to catch configuration drift.
Chapter 22: Frequently asked questions
Questions and answers about the Security Audit
What does the Security Audit check?
64 checks covering HTTP security headers (HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), TLS certificate and protocol versions, cookie flags, mixed content, server and CMS version disclosure, known CVEs against the NIST database, mail DNS records (SPF, DMARC, DKIM, MTA-STS, TLS-RPT, DANE), CAA and DNSSEC, robots.txt and security.txt, page content checks for exposed secrets and source maps, and active tests for upload handling and rate limiting.
Is the audit safe to run on a live website?
Yes. It is a passive scan — it reads only what any visitor's browser can see. It does not log in, probe for vulnerabilities, send unusual requests or modify anything. The active upload test is opt-in and sends only a small, harmless test file.
What are HTTP security headers?
Instructions your server sends with every page, telling the browser how to handle the content safely. They cost nothing to add and protect against common attacks like cross-site scripting and clickjacking. The main ones are HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy and Permissions-Policy.
What is a CVE check?
A CVE check compares the software versions detected on your site against the NIST National Vulnerability Database. If your server, CMS or a known library has a published vulnerability, the audit flags it with the CVE identifier and severity rating.
What mail DNS records does the audit check?
SPF (which servers may send email for your domain), DMARC (what to do when authentication fails), DKIM (cryptographic signature), MTA-STS (enforcing TLS for email), TLS-RPT (reporting TLS failures), and DANE (binding certificates to DNS). Without these, anyone can send email that appears to come from your domain.
What is the difference between this and Qualys SSL Labs?
SSL Labs tests TLS in depth — protocol versions, cipher suites, certificate chains, known TLS vulnerabilities. The Security Audit checks TLS as one part of a broader scan that also covers headers, cookies, CVEs, mail DNS, page content and server disclosure. SSL Labs goes deeper on TLS. The Security Audit goes wider.
What is the difference between this and Hardenize?
Hardenize covers TLS, headers and email security with continuous monitoring. The Security Audit adds page content checks, active upload testing, CVE matching, cookie analysis and mixed content detection. Hardenize is a subscription. The Security Audit is pay as you go.
What does the active upload test do?
It sends a small, harmless test file to any upload endpoint found on your site and checks how the server responds — accept, reject, redirect, rate-limit, or silently refuse. It tests 16 real-world behaviours. It is opt-in.
What does the audit cost?
Pay as you go, no subscription. Credits are bought in packs and never expire. No monthly fee, no contract.
How often should I run a security audit?
After any server, hosting, CMS or plugin change. After a TLS certificate renewal. After changing email DNS records. After a security alert. And quarterly as a health check to catch configuration drift.
Can I run the audit on a site I do not own?
Yes. The audit reads only publicly available information — the same headers, certificates and DNS records any visitor sees. Acting on the findings requires server access.
What is the scoring methodology?
Each check produces pass or fail. The overall score is a percentage weighted by severity — high-severity checks (missing CSP, critical CVE) count more than low-severity ones. The score tracks progress over time. The individual results tell you what to fix.
The Security Audit is a passive scan of any public website running 64 checks: HTTP security headers (HSTS with max-age and includeSubDomains, CSP with unsafe-inline/unsafe-eval detection, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), TLS via real handshake (certificate validity/chain/expiry, protocol version, cipher suite), cookie flags (Secure, HttpOnly, SameSite on all set-cookie headers), mixed content (HTTP resources on HTTPS pages), server/CMS version disclosure (Server header, X-Powered-By, meta generator, script version strings), CVE matching against NIST NVD for detected software versions, mail DNS (SPF TXT record, DMARC at _dmarc, DKIM selector, MTA-STS policy at _mta-sts, TLS-RPT at _smtp._tls, DANE TLSA records), CAA records, DNSSEC validation, robots.txt (sensitive path disclosure), security.txt (RFC 9116), page content checks (regex patterns for API keys/tokens, HTML comments with sensitive keywords, source map references, stack trace patterns, directory listing detection, form action over HTTP, missing CSRF tokens), and opt-in active upload test covering 16 server behaviours. Scoring: weighted pass/fail percentage, severity-adjusted. Pay as you go, no subscription, credits from £4.99, never expire.
Read more
- Run the Security Audit →
- Blog: How to check website security and fix missing headers →
- What does the Google Spam Policy Audit do? →
- What does the Accessibility Audit do? →
- What does the Markdown Generator do? →
- Run the Google Spam Policy Audit →
- Run the Accessibility Audit →
Run the Security Audit — 64 checks, every finding shows what to fix.
Pay as you go · No subscription · Credits never expire