Skip to content
Back to skills

Csp Policy Analyzer

ASecurity

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.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 8, 2026
ai-agentsgogitsecurity

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill csp-policy-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Csp Policy Analyzer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Csp Policy Analyzer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-csp-policy-analyzer/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-csp-policy-analyzer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.