web-17-csp-analysis

Installation
SKILL.md

Content Security Policy (CSP) Analysis — Offensive Testing Methodology

Quick Workflow

  1. Identify attack surface and entry points specific to this vulnerability class
  2. Run detection probes to confirm vulnerability presence
  3. Escalate with bypass techniques if initial probes are blocked
  4. Confirm exploitation and assess impact
  5. Document findings with proof of concept and suggest remediation

Purpose

Analyze Content Security Policy headers for weaknesses, bypasses, and misconfigurations that allow XSS despite CSP being present. Identify bypasses via JSONP endpoints, unsafe directives, nonce leakage, and CDN-hosted attack scripts.

OWASP Mapping

  • A03:2021 Injection (XSS enablement)
  • A05:2021 Security Misconfiguration
  • CWE-693: Protection Mechanism Failure
Installs
1
GitHub Stars
6
First Seen
Nov 16, 2026