Now on AppleNow on AndroidScan free

← All posts

Is your login cookie easy to steal? Ember checks cookie flags

Detective Ember sniffs one cookie mistake a lot: a session cookie with no flags.

A session cookie is the key to a logged-in account. Three flags protect it: HttpOnly keeps page JavaScript from reading it, Secure sends it only over HTTPS, and SameSite limits when other sites can trigger it. MDN

The two-minute check

  1. Log in to your app, open DevTools, then Application, then Cookies.
  2. Check the HttpOnly, Secure and SameSite columns on your session cookie.
  3. Turn on all three in your auth library settings.

Then scan your own app on SniffPup.

Full fixes free for every critical issue (no critical? one other fix is free).

Want one check like this every morning? Sign up below.

Named after Ember, my black Pomeranian. Built by a software engineer and vibe-coding hobbyist to help you ship safely.