Cookie Security Analyzer
Check Secure, HttpOnly, SameSite flags and security prefixes
Paste Set-Cookie headers
One cookie per line. Get headers from browser DevTools → Network → Response Headers → set-cookie.
Continue with
TLS Certificate Checker
Check TLS/SSL certificate expiry, issuer, and security configuration. Paste openssl output for instant analysis.
Prompt Injection Tester
Scan prompts and untrusted content for injection patterns: overrides, exfiltration commands, hidden Unicode, encoded payloads. Includes attack payloads and the Lethal Trifecta checklist.
OWASP ZAP Report Analyzer
Paste an OWASP ZAP JSON or Markdown scan report and get a triaged summary: risk counts, affected URLs, CWE links and fix guidance. 100% client-side.
About the Cookie Analyzer
Cookies carry session tokens, CSRF protections, and tracking identifiers — making them a prime attack target. The Secure flag prevents transmission over HTTP, HttpOnly blocks JavaScript access (XSS mitigation), SameSite prevents CSRF attacks, and the __Host- prefix locks cookies to a specific domain and path.
Paste any Set-Cookie header and this analyzer checks every security flag, scores the cookie 0-100, and lists specific issues with recommendations. Session cookies, authentication tokens, and CSRF tokens each have different requirements — the analyzer flags what matters for each.
How to use
- Open DevTools, go to Network, and find the set-cookie response header.
- Paste it here (one cookie per line).
- Review the security score and specific issues.
- Fix missing flags in your server configuration.
Frequently Asked Questions
What is the __Host- prefix? ▾
Cookies named with __Host- must have the Secure flag, no Domain attribute, and Path=/. This locks them to the exact host, preventing subdomain-based cookie injection attacks.
When should I use SameSite=None? ▾
Only for cross-site use cases like third-party embeds or payment redirects — and always with the Secure flag. SameSite=Lax is the safe default that prevents CSRF in most scenarios.
Are session cookies (no expiry) more secure? ▾
Yes — cookies without Max-Age or Expires are cleared when the browser closes, reducing the window for theft. Only use persistent cookies for "remember me" features.