Csrf Review

Dedicated Cross-Site Request Forgery (CSRF) vulnerability scanner that audits state-mutating endpoints, session cookie configuration, middleware setup, and SPA token-handling patterns. Invoke this skill when code defines POST, PUT, PATCH, or DELETE endpoints; when configuring session cookies or CORS; when adding or modifying auth middleware; or when the user says "check for CSRF", "CSRF token", "SameSite", "state mutation", "form submission security", "cookie security", or "is my API CSRF-safe". CSRF lets an attacker forge authenticated requests from a victim's browser to your API — it is especially dangerous in applications that use cookie-based sessions, and is frequently missed in SPAs that assume JSON-only traffic is automatically protected.

xuanjgcarryyou Updated

File contents

xuanjgcarryyou/claude-skill/tree/main/.claude/skills/csrf-review commit 25f20329e3

Frequently asked questions

npx skillmds@latest add xuanjgcarryyou/csrf-review