Skip to main content

Security headers checker

Last updated

Enter a URL to see which security headers the site sends and which are missing or weak. The check reads the response headers of the homepage only, the same way a browser does, and explains how to add each missing header on Vercel, Netlify or your own server.

No sign-up for the first scan. Only scan sites you own or are allowed to test.

What each header does

HeaderProtects against
Strict-Transport-SecurityDowngrade to plain HTTP on later visits
Content-Security-PolicyInjected scripts (cross-site scripting) and data theft
X-Content-Type-Options: nosniffBrowsers guessing a file is a script
frame-ancestors or X-Frame-OptionsClickjacking inside another site’s frame
Referrer-PolicyFull URLs, tokens included, leaking to other sites
Permissions-PolicyEmbedded content using camera, microphone or location

Questions

Where do I add headers on Vercel?
In next.config.js headers(), vercel.json "headers", or middleware. Each Defexity finding includes a prompt that tells your AI coding tool which file to change.

Related Defexity checks

Defexity reports potential risks it can see from outside your app. It is not a guarantee of security and not legal advice.