How to Use the HTTP Set-Cookie Header & Security Flag Auditor
-
1
Paste an HTTP response `Set-Cookie` header (from Chrome DevTools or server code).
-
2
The tool evaluates each security flag against OWASP session management guidelines.
-
3
Inspect warning flags (e.g. Missing `HttpOnly` exposes session to XSS theft, Missing `Secure` allows cleartext transmission).
Practical Example & Use Case
Auditing authentication session cookies to ensure cookies cannot be accessed via JavaScript (`document.cookie`) or CSRF exploits.
Technical Notes & Limitations
Tests for all modern IETF cookie attributes including `__Host-` and `__Secure-` prefixes.
Frequently Asked Questions
What does the HttpOnly flag protect against?
HttpOnly blocks client-side scripts from reading the cookie value, preventing session theft through Cross-Site Scripting (XSS) attacks.