hunt-csrf

Scans web applications for CSRF vulnerabilities by inspecting CSRF tokens, SameSite cookie settings, and JSON endpoints.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/Kisilev13/Hermes-Agent-Workspace --skill hunt-csrf-kisilev13
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-csrf
Source: https://github.com/Kisilev13/Hermes-Agent-Workspace/tree/main/skills/hunt-csrf
Command: npx skills add https://github.com/Kisilev13/Hermes-Agent-Workspace --skill hunt-csrf-kisilev13

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill identifies CSRF (Cross-Site Request Forgery) vulnerabilities in web applications, protecting against unauthorized actions executed on behalf of authenticated users.

Core Features & Use Cases

  • Detection of CSRF Vulnerabilities: Analyzes application behavior to detect CSRF vulnerabilities.
  • Technical Analysis: Identifies common indicators of CSRF weaknesses, including missing CSRF tokens, improper SameSite cookie settings, and JSON endpoints without Content-Type enforcement.
  • Real-World Use Case: For example, it could be used to secure a social media platform by scanning for CSRF vulnerabilities that could be exploited by attackers.

Quick Start

Use the hunt-csrf skill to scan a web application for CSRF vulnerabilities by running 'hunt-csrf scan --url https://target.com'.

Frequently Asked Questions about hunt-csrf

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

FAQPage Schema
How do I scan a web application for CSRF vulnerabilities?

To scan a web application for CSRF vulnerabilities, run a targeted scan against the target URL. This process analyzes application behavior to detect missing CSRF tokens, improper SameSite cookie settings, and unenforced JSON endpoint Content-Types.

What indicates a CSRF vulnerability in web security auditing?

In web security auditing, a CSRF vulnerability is indicated by missing or improperly configured CSRF tokens, improper SameSite cookie settings, and JSON endpoints lacking Content-Type enforcement. These weaknesses allow unauthorized actions on behalf of authenticated users.

Does this CSRF detection approach work with JSON endpoints?

Yes, this CSRF detection approach works with JSON endpoints by explicitly checking for missing Content-Type enforcement. Analyzing these endpoints is a core part of identifying CSRF vulnerabilities across web applications during security auditing.

What is the best way to detect improper SameSite cookie settings?

The best way to detect improper SameSite cookie settings is to perform an application security scan focused on CSRF vulnerabilities. This analysis identifies misconfigured cookies that could allow attackers to exploit cross-site request forgery attack patterns.

Why do I need to understand common attack patterns for vulnerability scanning?

You need to understand common attack patterns for vulnerability scanning because identifying CSRF vulnerabilities effectively requires knowledge of web security mechanisms. This ensures accurate detection of missing tokens and improper cookie configurations during security auditing.