·csrf-protection
!

csrf-protection

aj-geddes/useful-ai-prompts

Implement Cross-Site Request Forgery (CSRF) protection using tokens, SameSite cookies, and origin validation. Use when building forms and state-changing operations.

64Installs·0Trend·@aj-geddes

Installation

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill csrf-protection

SKILL.md

Implement comprehensive Cross-Site Request Forgery protection using synchronizer tokens, double-submit cookies, SameSite cookie attributes, and custom headers.

Implement Cross-Site Request Forgery (CSRF) protection using tokens, SameSite cookies, and origin validation. Use when building forms and state-changing operations. Source: aj-geddes/useful-ai-prompts.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill csrf-protection Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Security certified for safe and reliable code One-click installation with simplified configuration Compatible with Claude Code, Cursor, and more

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill csrf-protection
Category
!Security
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is csrf-protection?

Implement Cross-Site Request Forgery (CSRF) protection using tokens, SameSite cookies, and origin validation. Use when building forms and state-changing operations. Source: aj-geddes/useful-ai-prompts.

How do I install csrf-protection?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill csrf-protection Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/aj-geddes/useful-ai-prompts