OverviewDeveloperHacker

Header Check: A Small Script to Audit HTTP Security Headers

Beginner0 enrolled · 0 submitted

Want in? Run /enroll in Discord to claim this tier before the build window closes.

The brief

Write a small script that fetches a URL and reports which common security headers are present, missing, or misconfigured, with plain-English advice.

This is a gentle, relaxed project.

Targets: only test sites you own or have permission to test. Spin up a local server (a static file server or a tiny Flask/Express app) with a few intentionally good and bad header configurations, or use sites that explicitly invite testing.

MVP outcomes:

  • Checks for headers like Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, Referrer-Policy, and cookie flags (Secure, HttpOnly, SameSite).
  • Outputs a readable report (terminal or Markdown) with a pass/warn/fail for each.
  • Run it against at least 3 local configurations and show the differences.

No exploitation is needed. The focus is on understanding what each header does.

Deliverables

  • Script source in a public repo with a README on how to run it
  • Sample reports for at least 3 local test configurations (good, mixed, bad)
  • A short writeup (about 1 page) explaining what two of the headers protect against
  • Proof-of-work: terminal output or screenshots of the runs

Resources