~/tools / security-headers

Security Headers Checker

Scan HTTP security headers. Grades HSTS, CSP, X-Frame-Options and others, with explanations of what each header protects.

>
[ WARNING ] Decent but improvable (50/100) — missing: X-Content-Type-Options, Referrer-Policy, Permissions-Policy
── output ─────
50
security_score
HTTP 200 · https://www.lefigaro.fr/
Strict-Transport-Security (HSTS)
[ STRONG ]
// Forces HTTPS for all connections. Prevents downgrade attacks.
max-age=31536000; includeSubDomains; preload
Content-Security-Policy (CSP)
[ STRONG ]
// Defines which sources of scripts/styles/images are allowed. Prevents XSS.
upgrade-insecure-requests
X-Frame-Options
[ STRONG ]
// Prevents clickjacking by blocking iframe embedding from other origins.
sameorigin
X-Content-Type-Options
[ MISSING ]
// Prevents MIME sniffing. Should be 'nosniff'.
// missing — add this header to improve security
Referrer-Policy
[ MISSING ]
// Controls how much referrer info is leaked when navigating away.
// missing — add this header to improve security
Permissions-Policy
[ MISSING ]
// Restricts which browser features (camera, mic, etc.) the page can use.
// missing — add this header to improve security
// Save lefigaro.fr → we'll run this daily and alert on changes. /signup →