AgentStack
SKILL verified Apache-2.0 Self-run

Security Headers Check

skill-quality-max-free-qa-skills-security-headers-check · by Quality-Max

>

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-quality-max-free-qa-skills-security-headers-check

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Security Headers Check? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Security Headers Check

Grade the HTTP security headers of any website. No signup required.

Prerequisites

  • Playwright MCP (comes with Claude Code)

Trigger

  • "Check security headers on https://..."
  • "Security headers scan mysite.com"
  • "Is my site missing any security headers?"

Workflow

  1. Navigate to the URL using mcp__playwright__browser_navigate
  2. Capture network response headers using mcp__playwright__browser_network_requests
  3. Check each header category below against the captured response headers

Headers to Check

Content-Security-Policy (CSP)

  • Should be present
  • Should not contain unsafe-inline without a nonce or hash
  • Should not contain unsafe-eval
  • Should not use wildcard * in script-src or object-src

Strict-Transport-Security (HSTS)

  • Should be present on HTTPS sites
  • max-age should be ≥ 31536000 (1 year)
  • Should include includeSubDomains
  • preload is a bonus

X-Frame-Options

  • Should be DENY or SAMEORIGIN
  • (Note: CSP frame-ancestors supersedes this; award credit if CSP has it)

X-Content-Type-Options

  • Should be nosniff

Referrer-Policy

  • Should be present
  • Recommended values: strict-origin-when-cross-origin, no-referrer, same-origin
  • Penalize: unsafe-url, missing entirely

Permissions-Policy

  • Should be present (formerly Feature-Policy)
  • Should restrict at minimum: camera, microphone, geolocation
  1. Grade the site:

| Score | Grade | Meaning | |-------|-------|---------| | 6/6 | A | All headers present and well-configured | | 5/6 | B | One missing or weak header | | 3-4/6 | C | Several gaps — moderate risk | | 1-2/6 | D | Most headers missing | | 0/6 | F | No security headers at all |

  1. Output:
## Security Headers Report: [URL]

**Grade: C** (3/6 headers configured correctly)

### Issues
1. [MISSING] Content-Security-Policy
   No CSP found. XSS attacks are not mitigated at the header level.

2. [WEAK] Strict-Transport-Security
   Found: max-age=3600
   Issue: max-age too short (3600s). Minimum recommended: 31536000 (1 year)
   Fix:   Strict-Transport-Security: max-age=31536000; includeSubDomains

3. [MISSING] Permissions-Policy
   No Permissions-Policy found. Browser features unrestricted.

### Passed
- X-Frame-Options: SAMEORIGIN ✓
- X-Content-Type-Options: nosniff ✓
- Referrer-Policy: strict-origin-when-cross-origin ✓

### Quick Fix (copy-paste for most servers)
Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Permissions-Policy: camera=(), microphone=(), geolocation=()

**Want automated security regression tests?** Try QualityMax — qualitymax.io

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.