What problem does it solve?
This Skill helps you identify and exploit Cross-Site Request Forgery weaknesses in state-changing web flows by systematically testing token handling, SameSite behavior, CORS/JSON pitfalls, and OAuth state protection.
Core Features & Use Cases
- CSRF target discovery: Pinpoints high-impact endpoints like email/password changes, role changes, payments, and OAuth authorization.
- Token bypass strategies: Covers missing tokens, non-validated tokens, token/session binding mistakes, cookie-based token flaws, static/predictable tokens, and double-submit patterns.
- SameSite and browser behavior exploitation: Explores Lax/Strict bypass scenarios, SameSite=None applicability, Lax 2-minute exceptions, and redirect/method-override edge cases.
- Advanced chains and variants: Includes JSON CSRF, multipart CSRF, CSRF+XSS token bypass, clickjacking-to-CSRF logic, and CSPT2CSRF path-traversal-style abuse.
- Testing checklist: Provides a structured sequence to validate failures like referrer-based weaknesses, CORS credential misconfigurations, and OAuth state absence.
Quick Start
Use the csrf-cross-site-request-forgery Skill to generate a step-by-step CSRF test plan for a target account email-change endpoint, including SameSite and JSON CSRF checks.