What it does
A cookie checker reads the Set-Cookie headers a site sends and reports the attributes that decide how the cookie is stored, who can read it and when it is sent. Most session vulnerabilities start with a missing attribute rather than a broken algorithm.
How it works
Secure restricts the cookie to HTTPS. Without it, a single HTTP request can leak the session. HttpOnly hides the cookie from JavaScript, which limits the impact of XSS. SameSite controls cross-site sending: Lax for top-level navigations, Strict for same-site only, None for cross-site with Secure required.
The Domain attribute widens scope to subdomains. A cookie set on example.com with Domain=.example.com is sent to every subdomain, including ones you do not control. The safe default is host-only, achieved by omitting Domain.
The Path attribute is not a security boundary. It only scopes which requests include the cookie; scripts on the same origin can still read other paths via document.cookie if HttpOnly is absent.
__Host- and __Secure- prefixes enforce rules in the browser. __Host- requires Secure, Path=/ and no Domain; __Secure- requires Secure. They make accidental weakening visible.
Expiry matters. A session cookie without Max-Age or Expires disappears when the browser closes; a persistent one survives. Long lifetimes increase the value of a stolen cookie, so rotate sessions on privilege changes.
When to use it
- Audit session cookies after a login flow change.
- Check that SameSite=None cookies also set Secure.
- Find cookies scoped to a parent domain that should be host-only.
- Verify cookie prefixes are applied correctly.
Glossary
- Secure
- Sends the cookie only over HTTPS.
- HttpOnly
- Hides the cookie from JavaScript.
- SameSite
- Controls whether the cookie is sent on cross-site requests.
- Host-only
- A cookie without a Domain attribute, scoped to the exact host.
- __Host- prefix
- A browser-enforced prefix requiring Secure, Path=/ and no Domain.
Frequently asked questions
Is SameSite=Lax enough?+
It is a good default for session cookies, but it still allows top-level cross-site GET navigation. Pair it with Secure and HttpOnly, and use Strict where it does not break login flows.
Why did my cookie stop being sent?+
A recent change may have set SameSite=Strict, added a Domain that no longer matches, or moved to HTTPS while Secure is set. Check every attribute, not just the value.
Does Path protect a cookie?+
No. It scopes requests, not access. Any script on the origin can read a non-HttpOnly cookie regardless of Path.
What is a partitioned cookie?+
CHIPS stores a cookie per top-level site, which limits cross-site tracking while allowing embedded services. It is a separate attribute from SameSite.
Should analytics cookies be HttpOnly?+
Usually not, because client-side scripts need them. Session cookies should almost always be HttpOnly.
API & MCP
The same result envelope is available over REST and MCP. Replace the sample value with your own target.
curl "https://100www.dev/api/v1/tools/cookie-checker?u=https%3A%2F%2Fgithub.com"Shareable result
https://100www.dev/tools/cookie-checker?u=https%3A%2F%2Fgithub.com

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


