CSP Policy Analyzer

Parses and evaluates Content Security Policy headers using csp-parse and csp-evaluator libraries. Identifies overly permissive directives, missing protections, and generates tightened policy recommendations.

agentskillexchange 3b1d915 1009 B Updated 28 repo stars

File contents

CSP Policy Analyzer

Parses and evaluates Content Security Policy headers using csp-parse and csp-evaluator libraries. Identifies overly permissive directives, missing protections, and generates tightened policy recommendations.

Installation

Use the upstream install or setup path that matches your environment:

  • npm install csp_evaluator
  • npm install && tsc --build
  • npm install && npm test

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/csp-policy-analyzer commit 3b1d9157c9

Frequently asked questions

npx skillmds add agentskillexchange/csp-policy-analyzer