hunt-csrf

Identifies CSRF vulnerabilities and maps chain-to-ATO attack patterns in web apps.

13|2|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/chatbotkit/rook --skill hunt-csrf-chatbotkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-csrf
Source: https://github.com/chatbotkit/rook/tree/main/skills/hunt-csrf
Command: npx skills add https://github.com/chatbotkit/rook --skill hunt-csrf-chatbotkit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hunting CSRF vulnerabilities and mapping chain-to-ATO patterns across web apps, consolidating known bug-bounty findings into practical hunting guidance.

Core Features & Use Cases

  • Map state-changing endpoints susceptible to CSRF across OAuth, GraphQL, and API surfaces.
  • Analyze cookie handling, token management, and RelayState issues to identify exploitable gaps.
  • Follow a repeatable hunting methodology with concrete payloads, signals, and verification steps for real-world targets.

Quick Start

Describe how to start CSRF hunting in a test target environment.

Frequently Asked Questions about hunt-csrf

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

FAQPage Schema
How do I find CSRF vulnerabilities in OAuth and GraphQL endpoints?

To find CSRF vulnerabilities, you map state-changing endpoints across OAuth, GraphQL, and API surfaces by analyzing cookie handling, token management, and RelayState misconfigurations to identify exploitable gaps. This process relies on understanding SameSite cookies and common token flaws.

What is a chain-to-ATO pattern in CSRF hunting?

A chain-to-ATO pattern in CSRF hunting links a cross-site request forgery flaw to an account takeover by exploiting misconfigured state-changing endpoints. It leverages insecure OAuth flows, RelayState issues, and weak token validation to fully compromise user sessions.

How do I start CSRF hunting in a test target environment?

To start CSRF hunting, you follow a repeatable methodology using concrete payloads, detection signals, and verification steps against your test target. You map API and GraphQL endpoints while analyzing cookie handling to confirm exploitable gaps.

Does this CSRF hunting approach work for SaaS platform bug bounties?

Yes, this CSRF hunting approach is built for bug bounty hunters and pentesters evaluating web apps and SaaS platforms. It maps vulnerabilities across modern API endpoints and consolidates known bug-bounty findings into practical hunting guidance.

Why do I need to understand SameSite cookies for CSRF research?

Understanding SameSite cookies is required for CSRF research because they dictate whether browsers send cookies on cross-origin requests. Analyzing this behavior alongside CSRF tokens and RelayState issues reveals exploitable gaps in web application session validation.

What are the limitations of CSRF hunting on modern web applications?

CSRF hunting limitations arise when modern web applications enforce strict SameSite cookie policies and robust token validation. Hunting requires identifying specific misconfigurations in OAuth or RelayState, as properly implemented defenses prevent cross-site request forgery.