/security-headers-analyzer:analyzing-security-headersfrom security-headers-analyzer
Audits HTTP security headers of web domains against OWASP recommendations. Identifies missing or misconfigured headers like CSP, HSTS, and X-Frame-Options, checks for information disclosure, and calculates a security grade.
Ships in security-headers-analyzer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Evaluate HTTP response headers for web applications against OWASP Secure Headers Project recommendations and browser security baselines. Identify missing, misconfigured, or information-leaking headers across both HTTP and HTTPS responses.
${CLAUDE_SKILL_DIR}/security-reports/ for persisting resultshttps://. For batch analysis, accept a newline-separated list.WebFetch for both HTTP and HTTPS endpoints. Record the full redirect chain and final destination URL.Strict-Transport-Security: require max-age>=31536000, includeSubDomains, and preload eligibilityContent-Security-Policy: check for unsafe-inline, unsafe-eval, overly broad default-src, and missing frame-ancestorsX-Frame-Options: require DENY or SAMEORIGINX-Content-Type-Options: require nosniffPermissions-Policy: verify camera, microphone, geolocation restrictionsReferrer-Policy: recommend strict-origin-when-cross-origin or no-referrerCross-Origin-Embedder-Policy (COEP), Cross-Origin-Opener-Policy (COOP), Cross-Origin-Resource-Policy (CORP)Server, X-Powered-By, X-AspNet-Version, and any header revealing technology stack or version numbers.Set-Cookie headers: verify Secure, HttpOnly, SameSite=Lax|Strict, and __Host-/__Secure- prefix usage.See references/implementation.md for the five-phase implementation workflow.
Set-Cookie header| Error | Cause | Solution |
|---|---|---|
| Failed to connect to domain | DNS resolution failure, firewall block, or domain down | Verify domain spelling and DNS records; test alternate protocols |
| SSL certificate verification failed | Expired, self-signed, or mismatched certificate | Note TLS issue in report; indicates HSTS not properly enforced |
| Too many redirects | Redirect loop between HTTP and HTTPS | Report the redirect chain and analyze headers at each hop |
| HTTP 429 Too Many Requests | Rate limiting by target server | Implement backoff; queue domain for delayed re-analysis |
| Headers differ between HTTP and HTTPS | Inconsistent server configuration | Report both sets; highlight critical differences and flag HSTS gap |
https://tonsofskills.com and explain any CSP or HSTS issues."example.com on both HTTP and HTTPS and provide an Nginx remediation config."references/errors.md -- full error handling referencereferences/examples.md -- additional usage examplesassets/README.md (opens in a new tab)references/README.md (opens in a new tab)references/errors.md (opens in a new tab)references/examples.md (opens in a new tab)references/implementation.md (opens in a new tab)scripts/README.md (opens in a new tab)scripts/analyze_headers.py (opens in a new tab)scripts/generate_report.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin security-headers-analyzerOther plugins' skills for the same job