snag.page

Every check · Cookies

Secure cookies

cookies/secure

What it checks

Whether each cookie the home page sets has Secure.

Why it matters

A cookie without Secure can be sent over plain http://, where it can be read in transit.

How to fix it

  1. Add the Secure attribute to every cookie.
  2. Name cookies with the __Host- prefix where you can: browsers then insist on Secure and on the site's own host.
Header
Set-Cookie: __Host-session=…; Path=/; Secure; HttpOnly; SameSite=Lax

Check a site for this and everything else: snag.page. More on cookies: HttpOnly session cookies SameSite cookies