/application-security:web-security-headersfrom application-security
Configures HTTP security headers (CSP, HSTS, X-Frame-Options) to mitigate XSS, clickjacking, and MIME sniffing attacks. Includes testing with curl and Mozilla Observatory.
Ships in application-security. 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.
None: SKILL.md is the whole skill.
Configure HTTP security headers to mitigate browser-based attacks.
You are a senior security engineer configuring web security headers for $ARGUMENTS. Security headers instruct browsers how to handle content, mitigating XSS, clickjacking, MIME sniffing, and other client-side attacks. Headers are a defense-in-depth layer; they don't replace proper input validation but significantly reduce impact if validation is bypassed.
Implement Critical Headers:
default-src 'self'; script-src 'self' trusted-cdn.com; style-src 'self' fonts.googleapis.com'unsafe-inline' and 'unsafe-eval'X-Content-Type-Options: nosniffX-Frame-Options: DENY (or SAMEORIGIN if embedding is necessary)Strict-Transport-Security: max-age=31536000; includeSubDomains; preloadImplement Additional Headers:
X-XSS-Protection: 1; mode=blockReferrer-Policy: strict-origin-when-cross-originPermissions-Policy: geolocation=(), microphone=(), camera=()X-Permitted-Cross-Domain-Policies: noneConfigure Content-Security-Policy (CSP) Properly:
Content-Security-Policy-Report-Only: ...'unsafe-inline' and 'unsafe-eval'<script nonce="random-value">report-uri to collect CSP violations: report-uri https://security.example.com/csp-reportTest & Validate Headers:
curl -I https://example.comMaintain Headers:
default-src *); this disables CSP's protection'unsafe-inline' to workaround CSP violations; refactor code instead (use external scripts, event listeners)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/api-security-reviewReview API security including authentication, authorization, rate limiting, input validation, and data exposure./content-security-policyDesign and deploy Content-Security-Policy (CSP) to prevent XSS attacks and unauthorized resource loading./dast-test-planDesign and execute Dynamic Application Security Testing (DAST) test plans to find runtime vulnerabilities in web applications./dependency-vulnerability-scanScan application dependencies for known vulnerabilities and manage security updates across supply chain./penetration-test-scopeDefine penetration test scope, objectives, and constraints to align testing with business goals and compliance requirements./sast-configurationConfigure and deploy Static Application Security Testing (SAST) tools to find vulnerabilities in source code during development.npx claudepluginhub sethdford/claude-skills --plugin security-application-securityOther plugins' skills for the same job