with one click
csrf-testing
Cross-site request forgery testing for state-changing operations
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Cross-site request forgery testing for state-changing operations
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Business logic vulnerability detection — workflow bypass, price manipulation, state abuse, and application-specific flaws
Detect PII, credentials, and corporate sensitive data in API responses, source code, files, headers, and database extracts
Detect and exploit SQL injection vulnerabilities in web application parameters
Test for authentication and authorization flaws including credential attacks, session issues, and access control bypasses
Detect and exploit cross-site scripting vulnerabilities in web applications
Discover hidden parameters, test values, and identify input handling anomalies
| name | csrf-testing |
| description | Cross-site request forgery testing for state-changing operations |
| origin | RedteamOpencode |
run_tool curl (manual request replay)csrf_token, _token, authenticity_token)X-CSRF-Token, X-XSRF-Token)SameSite attribute on session cookiesReferer / Origin header validationX-Requested-With)Content-Type enforcement (JSON only = partial protection)SameSite=None — no protection, full CSRF possibleSameSite=Lax — test top-level GET navigation (form method=GET)SameSite=Lax — 2-minute window after cookie set (Chrome)Referer header entirely (use <meta name="referrer" content="no-referrer">)null (sandboxed iframe, data: URI)https://target.com.attacker.comhttps://attacker.com/target.comhtml <form action="https://target/change-email" method="POST"> <input name="email" value="attacker@evil.com"> </form> <script>document.forms[0].submit()</script> <img src="https://target/delete?id=1">