csppolicyanalyzer

A CSP policy analyzer that uses the csp-parse and csp-evaluator libraries to parse and evaluate Content Security Policy headers, identify overly permissive directives and missing protections, and generate recommendations to tighten policies.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "csppolicyanalyzer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-307e5974707e23608ef4fdc7146f5c1fc5082825d1c9a7dba48b3bbee6b87c68. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/csp-policy-analyzer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A CSP policy analyzer that uses the csp-parse and csp-evaluator libraries to parse and evaluate Content Security Policy headers, identify overly permissive directives and missing protections, and generate recommendations to tighten policies.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "CSP Policy Analyzer"
slug: "csp-policy-analyzer"
version: "1.0.0"
displayName: "CSP Policy Analyzer"
summary: "使用csp-parse和csp-evaluator库解析和评估内容安全策略头。识别过于宽松的指令、缺失的保护措施,并生成收紧策略建议。"
license: "MIT"
description: "使用csp-parse和csp-evaluator库解析和评估内容安全策略头。识别过于宽松的指令、缺失的保护措施,并生成收紧策略建议。"
github_stars: 390
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Security & Verification"
framework: "Claude Agents"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 390

CSP策略分析器

使用csp-parse和csp-evaluator库解析和评估内容安全策略头。识别过于宽松的指令、缺失的保护措施,并生成收紧策略建议。

安装

使用与您的环境匹配的上游安装或设置路径:

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

基本用法或入门说明:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 专注于CSP策略安全分析,解决开发者配置内容安全策略的实际痛点
  • 集成csp-parse和csp-evaluator库,提供专业的安全评估能力
Trigger Precision70/100

Areas to improve

  • description写错位置 Reported severity: Minor

    description内容未放在frontmatter顶层,而是与summary混用且在skill_body内部重复

    Recommendation: 将详细描述统一放置在frontmatter的description字段中,避免重复

Highlights

  • 核心功能描述清晰,涵盖了CSP解析、评估和策略建议等关键能力
Structure and Standards60/100

Areas to improve

  • 缺少When to Use/示例章节 Reported severity: Minor

    文档结构较为松散,缺少清晰的使用步骤划分和端到端完整示例

    Recommendation: 补充'如何使用'章节,提供从安装到实际分析的完整流程示例

Highlights

  • frontmatter信息基本完整,包含必要的元数据
Execution Reliability65/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未提及网络错误、库安装失败、解析错误等主要异常情况的处理

    Recommendation: 补充常见异常的处理说明和错误恢复机制

Highlights

  • 工具来源相对明确,使用标准的npm包管理方式
Evidence Verifiability (mean of the first four)68/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 27, 28, 29
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.