What problem does it solve?
This Skill helps you assess whether a web application is vulnerable to Cross-Site Request Forgery by guiding targeted testing of state-changing flows and the real-world weaknesses of anti-CSRF controls.
Core Features & Use Cases
- CSRF target identification: Focuses on high-impact state-changing endpoints such as account takeover actions, privilege changes, deletions, webhook configuration, and security setting modifications.
- Token and validation weakness checks: Evaluates missing tokens, unvalidated tokens, session/user binding flaws, static or predictable token patterns, and broken double-submit cookie implementations.
- SameSite-aware attack scenarios: Tests practical bypass paths involving SameSite=Lax/None behavior, Lax exemption timing, redirect/method-override tricks, and subdomain XSS staging.
- JSON and multipart CSRF techniques: Covers common edge cases for JSON CSRF, content-type downgrades, multipart-form submission behavior, and credentialed XHR requirements.
- Chainable bypasses and combos: Includes CSRF + XSS token bypass and OIDC/OAuth state (state parameter) handling for authorization CSRF.
Quick Start
Use the csrf-cross-site-request-forgery skill against the target URL and list each state-changing endpoint you want tested, including the expected parameters, authentication context, and any observed CSRF token or SameSite cookie behavior.