EN, Change language
Englishالعربية
JO-165

Passive security-misconfiguration signals are clean: HSTS, X-Content-Type-Options, frame protection, CSP, secure cookie flags.

The requirement (from the 2022 Guidelines)

Passive security-misconfiguration signals are clean: HSTS, X-Content-Type-Options, frame protection, CSP, secure cookie flags.

Why it matters to users

Missing security headers leave visitors open to your pages being framed inside a fake site or having malicious script injected. An unprotected cookie can leak a user's session on public Wi-Fi and let someone else into their account.

How to fix it

Send HSTS, X-Content-Type-Options, frame protection (CSP frame-ancestors or X-Frame-Options) and a Content Security Policy from the server, and set Secure, HttpOnly and SameSite on cookies. Then scan again.

How we measure it

Homepage response headers: HSTS, X-Content-Type-Options, frame protection, a CSP with script-src or default-src; Set-Cookie Secure and HttpOnly (cookie names listed). Partly measured: we measure what the public pages show of this rule; the rest needs a review.

Our passive reading of OWASP A05; not a pen test.

Its place in the MODEE guidelines

Related rules

Security headers and cookies · Jordan JO-165 | xfix