hunt-csrf - Hunt for Cross-Site Request Forgery
Guides authorized testing for CSRF vulnerabilities in state-changing web actions, including token validation and cross-origin request handling.
Tags
Updated: 2026-11-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Map state-changing endpoints
- Inspect cookie attributes
- Check CSRF token handling
- Test simple-content-type requests
- Test OAuth RelayState validation
- Build cross-origin proof of concept
- Confirm authorized impact
Inputs
- Authorized target scope
- Written authorization
- Authenticated session
- Endpoint requests and responses
- Relevant testing tools
Outputs
- CSRF test results
- HTTP requests and responses
- Cross-origin proof-of-concept page
- Vulnerability findings
Requirements
- Explicit written authorization
- Permitted testing scope
- Relevant testing tools
- Explicit confirmation before probing
- Sandbox or controlled lab preferred
