hunt-csrf - Hunt for CSRF vulnerabilities
Assess state-changing web actions for CSRF weaknesses, including token validation, cookie attributes, cross-origin requests, and OAuth flows.
Tags
Updated: 2026-11-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Map state-changing endpoints
- Inspect CSRF protections
- Test token omission
- Test token reuse
- Assess SameSite attributes
- Test cross-origin requests
- Evaluate OAuth RelayState
- Check JSON content types
- Build CSRF proof of concept
Inputs
- Target URL, IP, account, or resource
- Written authorization and permitted scope
- Authenticated session
- HTTP requests
- Relevant testing tools
Outputs
- CSRF assessment findings
- HTTP test results
- CSRF proof-of-concept page
- Observed application state changes
- Defensive guidance
Requirements
- Explicit written authorization
- Permitted target scope
- Relevant testing tools
- Sandbox or controlled lab preferred
