Skip to content

MRThugh/HeaderGuard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

HeaderGuard ☢

Nuclear Grade HTTP Security Headers Scanner
Passive analyzer for modern web security headers with strict validation
by MR.Thugh • 2026 Edition

Bash Security Headers Version 5.2 License

What does it do?

HeaderGuard is a fast, passive Bash tool that scans HTTP response headers and checks for the presence and strength of critical security protections:

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

Key Features

  • Very strict regex validation + detection of weak/misconfigured values
  • Cyberpunk-style colorful output with big MR.Thugh banner
  • JSON output support (perfect for scripts, CI/CD, monitoring)
  • Detects information leaks (Server, X-Powered-By, etc.)
  • Supports --insecure (skip SSL verification), --json, --verbose
  • Nuclear-grade rating system (NUCLEAR / GODMODE / ELITE / PRO / VULNERABLE)

Installation

git clone https://github.com/MRThugh/HeaderGuard.git
cd HeaderGuard
chmod +x headerguard.sh
# Optional: make it global or shorter
sudo ln -s "$(pwd)/headerguard.sh" /usr/local/bin/hg

About

Overkill Bash tool to scan and rate HTTP security headers (CSP, HSTS, COOP, CORP, Permissions-Policy + more). Passive, fast, nuclear edition by MR.Thugh ☠

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages