Fast, lightweight HTTP security header analyzer built for developers, security engineers, and penetration testers.
Argus Header is a command-line tool that analyzes HTTP response headers and identifies common security misconfigurations, information leakage, and HTTP security best-practice issues. It provides both a concise summary and a detailed verbose report for security assessments.
- โ GET & HEAD request support
- โ Configurable request timeout
- โ Redirect handling
- โ Retry mechanism
- โ Multiple URL scanning
- โ Parallel scanning
Detects missing security headers including:
- Content-Security-Policy (CSP)
- Strict-Transport-Security (HSTS)
- X-Frame-Options
- X-Content-Type-Options
Detects exposed:
- Server
- X-Powered-By
Detects:
- Wildcard
Access-Control-Allow-Origin: *
Analyzes:
- Cache-Control
- Rich CLI output
- Detailed
--verbosemode - JSON report export
- Severity levels
- Security recommendations
The --verbose option provides a comprehensive scan report including:
- Scan Information
- Target Information
- Request Configuration
- Connection Information
- HTTP Response Details
- Redirect Information
- Response Headers
- Security Headers
- Missing Security Headers
- Present Security Headers
- Information Leakage
- Response Statistics
- Findings Summary
- Overall Assessment
- End of Scan Summary
pip install argus-headerVerify installation:
argus-header --versionExpected output:
Argus Header 0.6.0
git clone https://github.com/heyshreee/argus-header.git
cd argus-header
python -m venv .venv.venv\Scripts\activatesource .venv/bin/activateInstall:
pip install -e .Basic Scan
argus-header https://example.comHEAD Request
argus-header https://example.com --method HEADVerbose Report
argus-header https://example.com --verboseCustom Timeout
argus-header https://example.com --timeout 5Multiple URLs
argus-header https://google.com https://github.com --parallelDisable Redirects
argus-header https://example.com --no-redirectExport JSON
argus-header https://example.com --json report.jsonDisplay Version
argus-header --versionDisplay Help
argus-header --help| Option | Description |
|---|---|
--method |
HTTP Method (GET / HEAD) |
--timeout |
Request timeout |
--parallel |
Scan multiple URLs concurrently |
--json FILE |
Save report as JSON |
--no-redirect |
Disable redirect following |
--verbose |
Display detailed scan report |
--version |
Display tool version |
--help |
Show help information |
(.venv) PS C:\pr0j3t\argus-header> argus-header https://example.com --verbose
___
/ _ | _______ _____ _____ _____
/ __ |/ __/ _ `/ // (_-</(_-<(_-<
/_/ |_/_/ \_, /\_,_/___/___/___/
/_/
Argus Header
HTTP Header Security Analyzer
Version: 0.6.0
โญโโโโโโโโ Scan Summary โโโโโโโโโฎ
โ Target: https://example.com/ โ
โ Status: 200 โ
โ Headers Found: 11 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Analysis Findings
โโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Severity โ Issue โ Risk โ Recommendation โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ HIGH โ Missing Content-Security-Policy โ XSS (Cross-Site Scripting) โ Add a 'Content-Security-Policy' โ
โ โ โ attacks are easier to exploit. โ header defining allowed content โ
โ โ โ โ sources. โ
โ HIGH โ Missing โ Susceptible to Man-in-the-Middle โ Add 'Strict-Transport-Security: โ
โ โ Strict-Transport-Security โ (MITM) protocol downgrade โ max-age=63072000; โ
โ โ โ attacks. โ includeSubDomains'. โ
โ HIGH โ Missing X-Frame-Options โ Vulnerable to Clickjacking โ Add 'X-Frame-Options: DENY' or โ
โ โ โ attacks. โ 'SAMEORIGIN'. โ
โ MEDIUM โ Missing X-Content-Type-Options โ Browsers may MIME-sniff the โ Add 'X-Content-Type-Options: โ
โ โ โ response body, leading to XSS. โ nosniff'. โ
โ LOW โ Server Header Leaked: cloudflare โ Reveals server technology, โ Configure server to suppress or โ
โ โ โ helping attackers verify CVEs. โ obfuscate the 'Server' header. โ
โ LOW โ Missing Cache-Control Header โ Browser may not cache resources โ Add 'Cache-Control' header โ
โ โ โ efficiently, slowing load times. โ (e.g., max-age=3600). โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Checks for:
- Content-Security-Policy
- Strict-Transport-Security
- X-Frame-Options
- X-Content-Type-Options
Checks for:
- Server
- X-Powered-By
Checks for:
- Wildcard Access-Control-Allow-Origin
Checks for:
- Cache-Control
argus-header/
src/
โโโ argus_header/
โโโ __init__.py
โโโ __main__.py
โโโ analyzer.py
โโโ cli.py
โโโ reporter.py
โโโ requester.py
โโโ utils.py
โโโ verbose.py
tests/
README.md
CHANGELOG.md
CONTRIBUTING.md
LICENSE
pyproject.toml
- Comprehensive
--verbosereporting - Scan Information
- Target Information
- Request Configuration
- Connection Information
- HTTP Response Details
- Redirect Information
- Response Headers
- Security Headers
- Missing Security Headers
- Present Security Headers
- Information Leakage
- Response Statistics
- Findings Summary
- Overall Assessment
- End of Scan Summary
Planned features:
- Security Score (0โ100)
- Grade (AโF)
- Cookie Analysis
- HTML Report Export
- Markdown Report Export
- Enhanced JSON Reports
Planned features:
- Unit Tests
- GitHub Actions
- Documentation Improvements
- Architecture Improvements
Planned features:
- TLS Inspection
- Certificate Analysis
- HTTP/2 Detection
- Advanced CORS Analysis
- Stable Public Release
- Production-ready Documentation
- Comprehensive Testing
- Complete HTTP Security Analysis
Clone the repository:
git clone https://github.com/heyshreee/argus-header.git
cd argus-headerInstall the development version:
python -m venv .venv
# Windows
.venv\Scripts\activate
pip install -e .Run:
argus-header https://example.comRun verbose mode:
argus-header https://example.com --verboseContributions are welcome.
-
Fork the repository.
-
Create a feature branch.
git checkout -b feature/my-feature- Commit your changes.
git commit -m "feat: add awesome feature"- Push your branch.
git push origin feature/my-feature- Open a Pull Request.
Please read CONTRIBUTING.md before submitting major changes.
Released under the MIT License.
See the LICENSE file for details.
Sriram
GitHub: https://github.com/heyshreee
PyPI: https://pypi.org/project/argus-header/
Argus Header is intended for defensive security, security auditing, learning, and authorized penetration testing only.
Only scan systems that you own or have explicit permission to assess.
The author is not responsible for misuse of this software.