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.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "CSP Policy Analyzer"
slug: "csp-policy-analyzer"
description: "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."
github_stars: 390
verification: "security_reviewed"
source: "https://github.com/google/csp-evaluator"
author: "google"
category: "Security & Verification"
framework: "Claude Agents"
tool_ecosystem:
github_repo: "google/csp-evaluator"
github_stars: 390
---
# 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:
- To build, run:
- To run unit tests, run:
- ## Example Usage
- Source: https://github.com/google/csp-evaluator
- Extracted from upstream docs: https://raw.githubusercontent.com/google/csp-evaluator/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/csp-policy-analyzer/)
No comments yet. Be the first to comment!