Session Cookie Missing 'Secure' Flag
This session cookie is sent over plain HTTP as well as HTTPS.
Why it matters
This session cookie is sent over plain HTTP as well as HTTPS. Anyone watching the network on a shared connection can read it and use it to sign in as that user, without needing their password. One attribute closes it.
How ShipReady detects it
Inspects Set-Cookie on responses the scan already fetched. Only cookies whose name suggests a session — containing session, token, auth, sid, jwt, user or login — are examined. A preference or analytics cookie missing HttpOnly is not a finding worth anyone's attention, and flagging it would bury the one that matters. Flags are parsed from the raw header rather than a cookie library, because valueless attributes are dropped by some parsers and their absence is exactly what this check exists to detect. Runs on every crawled page, which is what makes it useful: a logged-out homepage usually sets nothing at all, while /login sets the cookie whose flags actually matter.
Detection is deterministic. ShipReady reports this only when it observes the condition directly, and prefers to miss a real problem over inventing one. Rule version 1.2.0.
How to fix it
This is the prompt ShipReady puts in your report — written to be pasted straight into Cursor, Claude Code, or whichever assistant built the app.
The '{cookie_name}' session cookie is missing the 'Secure' flag. This allows the cookie to be transmitted over unencrypted HTTP connections. Add the Secure flag.Frequently asked questions
- What does "Session Cookie Missing 'Secure' Flag" mean?
- This session cookie is sent over plain HTTP as well as HTTPS.
- How serious is it?
- ShipReady rates this high. Fix before launch. A real weakness that an attacker can act on.
- How do I fix it?
- Paste the fix prompt on this page into Cursor, Claude Code or your AI editor. It is the same prompt ShipReady puts in your report.
- Can I check my own site?
- Yes — ShipReady scans up to ten pages of any public site for free and reports this alongside every other check.
Related checks
Does your site have this?
ShipReady checks this and 73 other things across up to ten pages of your site. Free, no signup.
Scan my site