Skip to content
Worix
BrowsePublish
Log inSign Up

Http Sec Audit

Audit HTTP security headers for any website. Use when a user asks to check security headers, harden a web server, audit HSTS/CSP/X-Frame-Options compliance,...

22 downloads
Free
Reviewed

HTTP Security Headers Audit

Scan any URL for missing or misconfigured security headers and get an actionable report with grades, fix recommendations, and info-leak detection.

Quick Start

python3 scripts/sec_headers.py https://example.com

Commands

# Single URL audit
python3 scripts/sec_headers.py https://example.com

# Multiple URLs
python3 scripts/sec_headers.py https://example.com https://google.com https://github.com

# JSON output (for programmatic use)
python3 scripts/sec_headers.py https://example.com --json

# Custom timeout
python3 scripts/sec_headers.py https://example.com --timeout 5

What It Checks

Security headers (graded by severity):

  • Strict-Transport-Security (HSTS) — HIGH
  • Content-Security-Policy (CSP) — HIGH
  • X-Content-Type-Options — MEDIUM
  • X-Frame-Options — MEDIUM
  • Referrer-Policy — MEDIUM
  • Permissions-Policy — MEDIUM
  • X-XSS-Protection — LOW
  • Cross-Origin-Opener-Policy (COOP) — LOW
  • Cross-Origin-Resource-Policy (CORP) — LOW
  • Cross-Origin-Embedder-Policy (COEP) — LOW

Info leak detection:

  • Server header (software version disclosure)
  • X-Powered-By (technology stack leak)
  • X-AspNet-Version (framework version leak)

Grading

GradeScoreMeaning
A90–100Excellent — all critical headers present
B75–89Good — minor gaps
C50–74Fair — important headers missing
D25–49Poor — significant exposure
F0–24Failing — most headers absent

Dependencies

pip install requests

Download

ZIP package — ready to use

Skill Info

Creator
Johnnywang2001
Downloads
22
Published
Mar 15, 2026
Updated
Mar 16, 2026