security-headers

Analyze HTTP security headers and generate a security score with recommendations.

13|3|Updated Dec 25, 2021
One-click install
npx skills add https://github.com/madsstoumann/browser-style --skill security-headers-madsstoumann
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-headers
Source: https://github.com/madsstoumann/browser-style/tree/main/skills/security-headers
Command: npx skills add https://github.com/madsstoumann/browser-style --skill security-headers-madsstoumann

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes HTTP security headers for a given URL and provides a comprehensive security score based on best practices. It checks HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and related policies, then offers actionable recommendations.

Core Features & Use Cases

  • Header Fetch & Analysis: Retrieve headers via HEAD requests and follow redirects.

  • Score Calculation: Evaluate each header against scoring rules and sum to a final grade.

  • Security Recommendations: Provide concrete steps to improve posture.

  • Use Case: Website owners or developers conducting a quick security audit before launch or deployment.

Quick Start

Provide a URL to audit; the skill will fetch headers, evaluate safety headers, and return a detailed security report.