/install http-sec-audit
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) — HIGHContent-Security-Policy(CSP) — HIGHX-Content-Type-Options— MEDIUMX-Frame-Options— MEDIUMReferrer-Policy— MEDIUMPermissions-Policy— MEDIUMX-XSS-Protection— LOWCross-Origin-Opener-Policy(COOP) — LOWCross-Origin-Resource-Policy(CORP) — LOWCross-Origin-Embedder-Policy(COEP) — LOW
Info leak detection:
Serverheader (software version disclosure)X-Powered-By(technology stack leak)X-AspNet-Version(framework version leak)
Grading
| Grade | Score | Meaning |
|---|---|---|
| A | 90–100 | Excellent — all critical headers present |
| B | 75–89 | Good — minor gaps |
| C | 50–74 | Fair — important headers missing |
| D | 25–49 | Poor — significant exposure |
| F | 0–24 | Failing — most headers absent |
Dependencies
pip install requests
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install http-sec-audit - After installation, invoke the skill by name or use
/http-sec-audit - Provide required inputs per the skill's parameter spec and get structured output
What is 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,... It is an AI Agent Skill for Claude Code / OpenClaw, with 233 downloads so far.
How do I install Http Sec Audit?
Run "/install http-sec-audit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Http Sec Audit free?
Yes, Http Sec Audit is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Http Sec Audit support?
Http Sec Audit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Http Sec Audit?
It is built and maintained by John Wang (@johnnywang2001); the current version is v1.0.0.