Cookie security check

Inspects Set-Cookie headers for Secure, HttpOnly, and SameSite flags — the three attributes that stop session hijacking in modern browsers.

Quick answer

Every Set-Cookie on your homepage and login page is checked for Secure, HttpOnly, and SameSite=Lax or Strict.

What it checks

Where to find it in Lemwatch

Site details → Security → Cookies.

How to fix

  1. Update your session cookie config: add Secure + HttpOnly + SameSite=Lax.
  2. For strictly first-party auth, prefer SameSite=Strict.
  3. Use the __Host- prefix for session cookies bound to the origin.
  4. Re-run the check.

FAQ

Will SameSite=Strict break OAuth?

It can — SameSite=Lax is safer for redirect-based auth.

What about tracking cookies?

Same flags apply — Google, Segment, etc. usually get this right.

Related