csp-bypass-advanced

Analyze website CSP headers to identify bypass vectors and exfiltration channels.

120|8|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Prohao42/aimy-skill --skill csp-bypass-advanced-prohao42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csp-bypass-advanced
Source: https://github.com/Prohao42/aimy-skill/tree/main/ai-mian/hack-skills/skills/csp-bypass-advanced
Command: npx skills add https://github.com/Prohao42/aimy-skill --skill csp-bypass-advanced-prohao42

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides advanced techniques for bypassing Content Security Policy (CSP) to address XSS attacks and data exfiltration when CSP is in place.

Core Features & Use Cases

  • CSP Directive Analysis: Reference matrix for all CSP directives and their fallbacks.
  • Bypass Techniques: Covers bypassing 'script-src', 'base-uri', 'form-action', and 'frame-ancestors' among others.
  • Exfiltration Channels: Identifies alternative data exfiltration channels despite CSP restrictions.
  • Decision Tree: Step-by-step guide for identifying potential CSP bypasses and exfiltration paths.

Quick Start

Use the csp-bypass-advanced skill to analyze the CSP headers of a target website and identify potential bypass points.

Frequently Asked Questions about csp-bypass-advanced

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bypass Content Security Policy headers to enable XSS data exfiltration?

To bypass Content Security Policy headers for XSS data exfiltration, you must analyze the CSP directives to identify allowed origins and fallback misconfigurations. This skill provides a reference matrix and decision tree to pinpoint exploitable vectors.

What are the most common CSP bypass techniques for script-src restrictions?

Common CSP bypass techniques for script-src restrictions involve exploiting unsafe-inline configurations, JSONP endpoints, or improperly scoped trusted domains. This skill details methods for bypassing script-src and other directives like base-uri and form-action.

How does CSP directive fallback behavior affect web security vulnerabilities?

CSP directive fallback behavior affects web security by potentially downgrading restrictions when default-src is improperly configured. This skill analyzes directive fallbacks to expose gaps where script-src or frame-ancestors might inherit weaker policies.

Do I need advanced web security knowledge to analyze CSP exfiltration channels?

Yes, you need advanced web security knowledge to analyze CSP exfiltration channels effectively. This skill assumes prior understanding of CSP mechanisms and XSS attack vectors to identify alternative data exfiltration paths.

What is the best way to identify potential bypass vectors in a website's CSP?

The best way to identify potential bypass vectors in a website's CSP is using a structured decision tree to evaluate each directive sequentially. This skill provides a step-by-step guide to analyze headers and uncover exfiltration paths.