OWASP Audit

What gets checked

28 checks, grouped by the OWASP Top 10 (2025) category they belong to. Each entry says what is requested from your site and what a secure result looks like. Checks marked active send fixed test inputs and only run if you opt in.

A04:2025 Cryptographic Failures

HTTPS is enforced

What we do: Request http://<host>/ without following redirects and read the response.

Secure result: Plain HTTP redirects (301/302/307/308) to https:// or is not served at all.

Secure TLS version and valid certificate

What we do: Open an HTTPS connection and read the negotiated TLS version and certificate validity.

Secure result: TLS 1.2 or 1.3 and a certificate that chains to a trusted CA for this hostname.

Certificate is not close to expiry

What we do: Read the certificate expiry date from the HTTPS connection.

Secure result: More than 30 days until the certificate expires.

Pages that set cookies are not cacheable

What we do: Read Cache-Control on the home page response when it sets cookies.

Secure result: no-store or private whenever Set-Cookie is present.

No mixed content

What we do: Parse the home page HTML for http:// subresources on an HTTPS page.

Secure result: All subresources load over HTTPS.

A02:2025 Security Misconfiguration

Content-Security-Policy is present and restrictive

What we do: Read the Content-Security-Policy header of the home page response.

Secure result: A CSP exists without unsafe-inline/unsafe-eval or wildcard script sources.

HTTP Strict Transport Security

What we do: Read the Strict-Transport-Security header.

Secure result: max-age of at least 15552000 seconds (180 days).

X-Content-Type-Options is nosniff

What we do: Read the X-Content-Type-Options header.

Secure result: The header value is nosniff.

Clickjacking protection

What we do: Read CSP frame-ancestors and X-Frame-Options.

Secure result: frame-ancestors is set, or X-Frame-Options is DENY or SAMEORIGIN.

Referrer-Policy limits URL leakage

What we do: Read the Referrer-Policy header.

Secure result: A policy that does not send full URLs cross-origin (not unsafe-url or no-referrer-when-downgrade).

Permissions-Policy disables unneeded features

What we do: Read the Permissions-Policy header.

Secure result: A Permissions-Policy header is present.

CORS does not trust arbitrary origins

What we do: Request the home page with a made-up Origin header and read the Access-Control-Allow-* response headers.

Secure result: The made-up origin is not reflected, and credentials are never allowed with a wildcard or reflected origin.

Server version information is minimized

What we do: Read the Server, X-Powered-By and X-AspNet-Version headers.

Secure result: No software names with version numbers are disclosed.

No exposed sensitive files or directory listing

What we do: Request a short fixed list of well-known sensitive paths (.git/HEAD, .env, server-status, phpinfo.php, actuator/env) and check for directory listing on the home page. Only status and a content signature are checked; bodies are not stored.

Secure result: Each path returns 404/403/redirect or content that is not the sensitive file.

Error pages are generic

What we do: Request one random non-existent path and scan the error page for stack traces or framework debug output.

Secure result: A generic error page with no stack traces, file paths or SQL errors.

security.txt contact is published

What we do: Request /.well-known/security.txt.

Secure result: A security.txt with a Contact field so researchers can report issues.

robots.txt does not advertise sensitive paths

What we do: Request /robots.txt and look for Disallow entries such as admin, backup or config.

Secure result: No Disallow entries that reveal sensitive areas.

Cross-origin isolation headers

What we do: Read Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy on the home page.

Secure result: COOP and CORP are set to limit cross-origin access to the page.

SPF record limits mail senders

What we do: Query the domain TXT records through DNS (no traffic to the target).

Secure result: An SPF record ending in -all or ~all.

DMARC policy is published

What we do: Query _dmarc TXT records through DNS (no traffic to the target).

Secure result: A DMARC record with p=quarantine or p=reject.

A07:2025 Authentication Failures

Cookies use Secure and HttpOnly

What we do: Read Set-Cookie attributes from the home page response (cookie values are never recorded).

Secure result: Every cookie has Secure; session-like cookies also have HttpOnly.

Cookies set a SameSite policy

What we do: Read the SameSite attribute of each Set-Cookie header.

Secure result: Every cookie sets SameSite=Lax or Strict (None only with Secure).

Login forms submit over HTTPS

What we do: Look for password fields on the home page and /login and read the form action.

Secure result: Any password form submits to an https:// or same-origin relative URL.

A03:2025 Software Supply Chain Failures

Third-party scripts use Subresource Integrity

What we do: Parse the home page HTML for external script and stylesheet tags.

Secure result: Every third-party script/stylesheet has an integrity attribute.

Known vulnerable client libraries

What we do: Fingerprint JavaScript libraries from script URLs and same-origin banners, then match versions against a bundled advisory list.

Secure result: No libraries with known vulnerabilities.

A05:2025 Injection

Reflected XSS canary (active)

What we do: Send an inert canary containing < and " to up to 3 discovered query parameters and check whether it comes back unencoded. Nothing is executed or stored.

Secure result: Input is output-encoded in the response.

SQL injection (error-based, read-only) (active)

What we do: Append a single quote to up to 3 discovered parameters and compare the response with the original for database error messages. No queries are run and no data is read.

Secure result: No database error text appears.

A01:2025 Broken Access Control

Open redirect probe (active)

What we do: Pass a harmless external URL in common redirect parameters and read the Location header without following it.

Secure result: The site does not redirect to the supplied external URL.

Run these against your site