Skill / SKILL.md

Csrf Protection

harperaa/secure-claude-skills

Implement Cross-Site Request Forgery (CSRF) protection for API routes. Use this skill when you need to protect POST/PUT/DELETE endpoints, implement token validation, prevent cross-site attacks, or secure form submissions. Triggers include "CSRF", "cross-site request forgery", "protect form", "token validation", "withCsrf", "CSRF token", "session fixation".
2 views 19 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Implement Cross-Site Request Forgery (CSRF) protection for API routes. Use this skill when you need to protect POST/PUT/DELETE endpoints, implement token validation, prevent cross-site attacks, or secure form submissions. Triggers include "CSRF", "cross-site request forgery", "protect form", "token validation", "withCsrf", "CSRF token", "session fixation".

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/harperaa/secure-claude-skills' skill-source

Use the complete skill-source/csrf-protection directory with your client’s skill installer.

Source directory csrf-protection

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
1 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
b88c1e46c9a1d7d2c2d75cfd74a636b46edf32e1d8b0e9dfc32d848b5b7243a6
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills