Skip to content
All projects
Application Security / WebCompletedShipped Oct 2026

Security Headers Grader

Paste HTTP response headers (or a URL) and get an A–F grade on your security headers — CSP, HSTS, X-Frame-Options, and more — with concrete fixes.

Proposed stack

  • Next.js
  • TypeScript
  • Tailwind CSS

Goal

Give developers a fast read on a site's security-header posture and how to improve it.

Overview

Paste raw HTTP response headers, or enter a URL the tool fetches, and it grades the security headers with an overall A–F score.

Each header gets a card: present/missing, its value, what's good or risky, and a recommended value to fix it. It also flags disclosure headers like Server and X-Powered-By.

Covers CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and the Cross-Origin-* headers.

Architecture

Headers / URL → Parse → Grade Each Header → A–F Score + Fixes

Grades security headers with actionable fixes; pasted headers are analyzed entirely client-side.

Key features

  • Paste headers or fetch a URL.
  • Overall A–F grade with a score.
  • Per-header cards: present/missing, value, fix.
  • Flags disclosure headers (Server, X-Powered-By).
  • Explanations for each header.

Technical challenges

  • Scoring headers fairly across very different site setups.
  • Giving recommended values that are safe defaults, not just 'add this header'.
  • Handling URL fetches (CORS) with a paste fallback.

How it's built

  • 1Next.js + TypeScript + Tailwind with a header-grading engine.
  • 2Paste-first with an optional URL-fetch route handler.
  • 3Checked on weak, strong, and bare header samples.

Interested in this work?

Happy to talk through the design, trade-offs, and implementation plan.

Get in touch