---
title: "Website Security, Cookie & Redirect Check · camada"
description: "Scan any URL for HTTPS redirects, CSP and OWASP headers, and HttpOnly or SameSite cookies. Check robots.txt, llms.txt, security.txt, and DNS CAA."
url: https://www.camada.app/tools/website-security-check
last_updated: 2026-11-19
---

# Scan any website for headers, cookies, and crawl files

Enter any public URL to trace HTTP redirects, check CSP and OWASP headers, and inspect Set-Cookie flags. The same scan checks robots.txt, llms.txt, and security.txt. Our Worker strips cookie values and stores nothing.

- [Four-surface readout](https://www.camada.app/tools/website-security-check#scanner)
- [Ten checks reference](https://www.camada.app/tools/website-security-check#checks)
- [Deep CSP analyzer](https://www.camada.app/tools/security-headers)
- [DNS and DMARC lookup](https://www.camada.app/tools/dns-lookup)

## Four-surface posture readout

One scan checks redirects, CSP and OWASP headers, and redacted `Set-Cookie` flags. It also checks crawl files, HSTS, and DNS CAA to confirm live TLS policy without raw socket probes.

## Check redirects and set cookie locks in code

Reproduce any header scan from your shell with `curl -sIL`. On your origin, pair HSTS and CSP headers with the `__Host-` prefix on session cookies.

### 1. Trace redirects and port 80 upgrades with curl

Inspect every hop on staging or localhost before shipping DNS or CDN rules.

terminal · redirect and header check

```sh
# Follow up to 5 redirects and print response headers only
curl -sIL --max-redirs 5 https://example.com

# Check plain port 80 HTTP -> HTTPS upgrade without following
curl -sI http://example.com | grep -iE '^(HTTP/|location:|strict-transport-security:)'
```

### 2. Send HSTS, CSP, nosniff, and __Host- cookies

Lock transport and block inline scripts. Bind your session cookie to HTTPS on `Path=/`.

server.js · response baseline

```js
// Hardened response headers + __Host- session cookie baseline
res.setHeader('Strict-Transport-Security', 'max-age=63072000; includeSubDomains; preload');
res.setHeader('Content-Security-Policy', "default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'");
res.setHeader('X-Content-Type-Options', 'nosniff');
res.setHeader('Referrer-Policy', 'strict-origin-when-cross-origin');
res.setHeader('Set-Cookie', '__Host-sid=<token>; Path=/; Secure; HttpOnly; SameSite=Lax; Max-Age=3600');
```

## Ten public surfaces and six cookie rules

Browsers, crawlers, and mail servers check different headers, files, and DNS records. Use these two tables to review each check in the scanner.

### Ten website security and crawl posture checks

What a healthy site sends across transport, headers, cookies, crawl files, and DNS.

| Check | Layer | Healthy baseline | Common gap or risk |
| --- | --- | --- | --- |
| HTTP to HTTPS upgrade | `Transport · Port 80` | Port 80 sends a 301 or 308 redirect straight to https://. | Plain HTTP serves 200 OK or hops across clear-text hosts first. |
| Redirect chain length | `Transport · <= 5 hops` | Zero hops on canonical URLs, or one permanent apex redirect. | Long 302 chains or redirect loops add delay and drop headers. |
| Strict-Transport-Security | `Headers · HSTS` | Sends max-age=31536000 or higher with includeSubDomains. | Missing HSTS or short max-age leaves first HTTP visits open. |
| Content-Security-Policy | `Headers · CSP or meta` | Sets script-src, object-src none, base-uri, and frame-ancestors. | No CSP, or script-src allows unsafe-inline and unsafe-eval. |
| MIME and framing locks | `Headers · OWASP baseline` | Sets X-Content-Type-Options: nosniff and frame-ancestors or X-Frame-Options. | Missing nosniff or framing rules allow MIME sniffing and clickjacking. |
| Referrer, Permissions, COOP | `Headers · Isolation` | Scopes Referrer-Policy, Permissions-Policy, and Cross-Origin-Opener-Policy. | Sends unsafe-url referrers or leaks exact server build numbers. |
| Set-Cookie flags | `Cookies · Redacted` | Session cookies set Secure, HttpOnly, SameSite, and clean prefixes. | Cookies miss HttpOnly or Secure, exposing tokens to scripts or HTTP. |
| robots.txt and llms.txt | `Crawl · Search and AI` | Serves plain text rules at /robots.txt and optional /llms.txt. | Serves 200 OK HTML soft-404 pages that break crawler parsers. |
| security.txt (RFC 9116) | `Disclosure · /.well-known/` | Lists Contact: and a future Expires: date in /.well-known/security.txt. | No disclosure file or an expired Expires: date. |
| DNS CAA, SPF, DMARC, DNSSEC | `DNS · Domain posture` | Locks TLS issuers in CAA, sets SPF and DMARC, and signs DNSSEC. | No CAA records or DMARC p=none leaves certs and mail open. |

### Set-Cookie security flags and naming prefixes

How each cookie flag blocks network sniffing, XSS theft, CSRF posts, and subdomain tossing.

| Cookie attribute | Browser behavior | What it stops |
| --- | --- | --- |
| Secure | Sends the cookie only over encrypted HTTPS requests. | Stops plain HTTP links on open networks from leaking cookies. |
| HttpOnly | Hides the cookie from JavaScript and document.cookie. | Keeps XSS bugs from reading raw session tokens. |
| SameSite=Lax | Blocks cross-site subrequests while allowing top-level link clicks. | Good default for login cookies when OAuth flows redirect back. |
| SameSite=Strict | Sends the cookie only when navigation starts on your own site. | Strongest CSRF guard, though outside links arrive signed out. |
| SameSite=None | Allows cross-site sending inside third-party iframes and embeds. | Browsers drop SameSite=None cookies unless you also set Secure. |
| __Host- prefix | Requires Secure, Path=/, and no Domain attribute on Set-Cookie. | Stops sibling subdomains from planting or replacing session cookies. |

## Where URL scans stop and in-app defense starts

A public URL scan catches missing HSTS, weak CSP rules, exposed cookies, and broken redirect chains. Yet it cannot see inside your login, signup, or checkout routes. Attackers spray stolen passwords across home proxies right past public checks. Drop a camada SDK into your backend so Watchkeeper links wire headers, `/_cam/b.js` checks, and `track()` events.

1

### Public headers guard browsers, not app routes

HSTS, CSP, and cookie flags protect real users in their browsers. Attackers still hit POST /login and /signup over clean HTTPS. Public scanners never see what happens inside those routes.

[See how in-app bot detection works](https://www.camada.app/bot-detection)

2

### Join wire headers, /_cam/b.js, and track() outcomes

Install one open-source camada SDK in your server. Request bodies, cookies, and Authorization headers stay inside your app. Watchkeeper links wire order, browser checks, and hashed login outcomes.

[Stop credential stuffing and account takeover](https://www.camada.app/use-cases/credential-stuffing)

3

### Written verdicts and fail-open snapshots

Watchkeeper scores whole sessions off your request path every 10 minutes by default. Blocking needs a malicious verdict at 80% confidence or higher. Your SDK polls snapshots every 30 seconds and fails open.

[Explore the Watchkeeper scoring pipeline](https://www.camada.app/how-it-works)

### Drill deeper with the rest of the security tool suite

Inspect CSP rules, test CORS preflights, and query SPF or DMARC records. You can also lint `robots.txt` files or decode JWTs in your browser.

- [CSP and security headers check](https://www.camada.app/tools/security-headers)
- [Live CORS preflight tester](https://www.camada.app/tools/cors-checker)
- [DNS, SPF, and DMARC lookup](https://www.camada.app/tools/dns-lookup)
- [robots.txt and llms.txt linter](https://www.camada.app/tools/robots-txt)
- [Login page check](https://www.camada.app/tools/login-page-check)
- [security.txt generator](https://www.camada.app/tools/security-txt-generator)
- [JWT decoder and verifier](https://www.camada.app/tools/jwt-decoder)
- [Live bot signal test](https://www.camada.app/tools/bot-test)
- [User-Agent checker](https://www.camada.app/tools/user-agent)
- [First-party PoW challenge](https://www.camada.app/docs/challenge)
- [All developer tools](https://www.camada.app/tools)

SDK guides

- [Cloudflare, no code](https://www.camada.app/docs/cloudflare)
- [Hono on Workers](https://www.camada.app/docs/hono)
- [Python](https://www.camada.app/docs/python)
- [Go SDK](https://www.camada.app/docs/go)
- [PHP](https://www.camada.app/docs/php)
- [Ruby](https://www.camada.app/docs/ruby)
- [Java](https://www.camada.app/docs/java)
- [.NET](https://www.camada.app/docs/dotnet)

Example verdict malicious · 96% confidence · 12 hours

ip: 203.0.113.x · action: blocked

This address walked a list of well-known admin and config paths in a few seconds. Nearly every request ended in a 404, which is how a probe looks and not how a visitor does.

- 212 requests in 40 seconds across 187 distinct paths
- Hit /wp-login.php, /.env, /.git/config and /phpmyadmin in sequence
- 94% of responses were 404 or 403
- No cookies kept and no static assets fetched

## Questions about website security scans

Want to guard login, signup, and API routes behind your headers? Read our [security architecture](https://www.camada.app/security) or check [plans and limits](https://www.camada.app/pricing).

**What does this live website security scanner check on a URL?**

It follows up to five public redirects. It checks HSTS, CSP headers and meta tags, nosniff, framing rules, and Set-Cookie flags. In the same scan, it checks /robots.txt, /llms.txt, /.well-known/security.txt, CAA, and DMARC.

**Does this scanner store my URL or expose session cookie values?**

No. Our Cloudflare Worker gates scans with first-party 16-bit SHA-256 work, runs in memory, and sends Cache-Control: no-store. It strips every Set-Cookie secret value right away. You see only cookie flags like Secure, HttpOnly, SameSite, and __Host-.

**Why did my localhost, IP literal, or private staging hostname fail validation?**

To block server-side request forgery, the Worker accepts only public domains on port 80 or 443. It checks A and AAAA records through Cloudflare DNS first. Private, loopback, cloud metadata, and reserved IPs fail on every redirect hop. To check localhost, paste curl -sI output into the CSP and headers tool.

**Why should session cookies set Secure, HttpOnly, and SameSite?**

Secure keeps the browser from sending the cookie over plain HTTP. HttpOnly hides the cookie from document.cookie so an XSS bug cannot read the raw token. SameSite=Lax or Strict stops cross-site forms from riding a user's logged-in session.

**Does a clean header and cookie score mean my web app is safe from bots?**

No. Headers and cookie flags guard browsers against XSS, framing, and sniffing. Attackers and headless agents still call your HTTPS routes like normal users. camada runs inside your app to spot and stop those sessions.

## Use it from an AI agent

This page is also Markdown at [/tools/website-security-check.md](https://www.camada.app/tools/website-security-check.md). Agents can also run the check itself, without the form.

- `check_security_txt` on the MCP server at https://www.camada.app/mcp, and in this tab through WebMCP

  Takes `text`. Check the text of a security.txt file against RFC 9116: Contact and Expires present, Expires in the future and under a year out, valid URIs, Canonical, Preferred-Languages and PGP signing. Returns each problem with a fix. Same check as https://www.camada.app/tools/security-txt-generator.

The MCP server needs no key. Every agent tool on this site is listed in the [server card](https://www.camada.app/.well-known/mcp/server-card.json) and on [the tools page](https://www.camada.app/tools#agents).

## Related tools

- [CSP & security headers](https://www.camada.app/tools/security-headers)

  Fetch live response headers or paste curl output. Flag unsafe-inline CSP rules, check HSTS and nosniff, and hash inline scripts.
- [security.txt generator](https://www.camada.app/tools/security-txt-generator)

  Make a valid security.txt file with a short form, or paste one to check it. Covers Contact, Expires, and PGP.
- [Login page check](https://www.camada.app/tools/login-page-check)

  Review your login page for HTTPS, form fields, cookie flags, and security headers. Paste two responses to spot account enumeration.
- [DNS & DMARC lookup](https://www.camada.app/tools/dns-lookup)

  Query A, AAAA, MX, NS, CAA, SPF, DKIM, DMARC, and DNSSEC records. Count nested SPF lookups against the 10-query limit.

[All free tools](https://www.camada.app/tools)

## Guard the app routes behind your public headers.

Install the SDK on the Free plan to score 100,000 events a month with no card. Enable in-app blocks and challenges on Starter ($59/month) or Growth ($249/month).

[Get started free](https://my.camada.app/) [In-app bot detection](https://www.camada.app/bot-detection) [All security tools](https://www.camada.app/tools) [See pricing](https://www.camada.app/pricing)

Free needs no card. A 14-day trial of Starter or Growth needs a card. Nothing is charged today. Cancel before the trial ends (the date is shown in the app) and you pay nothing. Otherwise the plan's monthly price starts on day 15.

## Sitemap

[Every page on this site](https://www.camada.app/sitemap.md)
