csrf-testing

Scan web applications for CSRF vulnerabilities and test token validation.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/jayjpatel9717/kurukshetra --skill csrf-testing-jayjpatel9717
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csrf-testing
Source: https://github.com/jayjpatel9717/kurukshetra/tree/main/squads/pentest/agents/shikhandi/skills/csrf-testing
Command: npx skills add https://github.com/jayjpatel9717/kurukshetra --skill csrf-testing-jayjpatel9717

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires burp, mitmproxy, curl, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the detection and analysis of Cross-Site Request Forgery (CSRF) vulnerabilities in web applications, providing comprehensive testing and assessment of potential security weaknesses.

Core Features & Use Cases

  • Automated Detection: Identifies CSRF vulnerabilities in web applications by analyzing state-changing endpoints and testing token validation.
  • Attack Surface Identification: Prioritizes critical endpoints for CSRF testing and identifies bypass techniques for different vulnerability classes.
  • Technical Analysis: Analyzes server configurations, token handling, and headers to uncover potential weaknesses in CSRF protection.

Quick Start

Use the csrf-testing skill to scan a target website for CSRF vulnerabilities.

Frequently Asked Questions about csrf-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect CSRF vulnerabilities in web applications?

To detect CSRF vulnerabilities in web applications, you need to scan state-changing endpoints and analyze server responses for proper token validation. This process involves proxying traffic, crafting forged requests, and analyzing HTTP headers to uncover security weaknesses.

How does CSRF token bypass testing work?

CSRF token bypass testing works by analyzing server configurations and token handling to uncover weaknesses in CSRF protection. It performs detailed testing of bypass techniques for common vulnerabilities across critical endpoints to identify where validation fails.

Can I use burp and mitmproxy for CSRF testing?

Yes, you can use burp and mitmproxy for CSRF testing as they are required dependencies. These tools facilitate proxying web traffic, crafting forged requests, and analyzing HTTP headers to assess potential security weaknesses in target applications.

What is the best way to identify state-changing endpoints for CSRF analysis?

The best way to identify state-changing endpoints for CSRF analysis is by scanning the web application and prioritizing critical endpoints. This approach automates the detection of endpoints lacking proper token validation to assess potential vulnerabilities.

When should I not rely on automated CSRF detection?

You should not rely solely on automated CSRF detection when complex bypass techniques are required or when server configurations need deep technical analysis. Manual crafting of forged requests and HTTP header analysis are often necessary to confirm vulnerabilities.