Download for MacApple silicon, macOS 14+
Skill

csrf

@thejefflarson Updated 2026-07-31

Detects forms and state-changing endpoints missing CSRF protection. Use when writing HTML forms that submit POST/PUT/DELETE requests, configuring session cookies, or setting up CSRF middleware for web applications. Also invoke when disabling or bypassing CSRF protections in framework configuration.

llmssecurityskills

Install

With your agent

Install OMGSkills skill "thejefflarson/soundcheck:.claude/skills/csrf" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/thejefflarson/soundcheck /tmp/soundcheck && ln -s /tmp/soundcheck/.claude/skills/csrf ~/.claude/skills/csrf

From README

Cross-Site Request Forgery Check (A01:2025) What this checks Protects against cross-site request forgery, where an attacker tricks an authenticated user's browser into submitting a state-changing request the user did not intend. Exploitation leads to unauthorized fund transfers, account takeover, or privilege escalation. Vulnerable patterns HTML form posting a state-changing request with no CSRF token hidden field Framework CSRF protection explicitly disabled or exempted on a state-changing endpoint Session cookie issued without a SameSite attribute (Lax or Strict) Web app with no CSRF middleware registered for cookie-authenticated state-changing routes Cookie-authenticated API endpoint accepting POST/PUT/PATCH/DELETE with no token check Fix immediately Flag the vulnerable code and explain the risk.