How cipherkrish69x/security-headers-tool works
Project type and purpose
• This is an open-source, command-line Python tool (“Security Headers Tool”) for checking and reporting on the presence/configuration of HTTP security headers in web server responses. It also includes a simple web crawler (“spider.py”) to collect URLs for batch testing.
File structure
• All scripts live at the repo root; there is no “frontend/backend” split.
• Key files:
• check_headers.py, check_specific_header.py, check_specific_headerr.py, enhanced_security_header_checker.py, security_headers_checker.py – various modes of header checking
• spider.py – a crawler that reads seeds (urls.txt / wordlist.txt) and outputs discovered URLs
• urls.txt / wordlist.txt – input data
• Output formats: JSON (from check_headers.py) or plain text
• No build or deployment configs beyond GitHub Actions workflow (.github/workflows/blank.yml).
README for additional insights
• Describes six scripts, their inputs (CLI args, prompt, or files), and outputs.
• Lists the set of security headers checked (CSP, HSTS, etc.).
• Advocates JSON output for portability and persistence.