hunt-graphql

Analyze GraphQL endpoints and JavaScript source to identify vulnerabilities.

3|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/cmndcntrlcyber/rtpi --skill hunt-graphql-cmndcntrlcyber
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-graphql
Source: https://github.com/cmndcntrlcyber/rtpi/tree/main/knowledge_seed/bug_hunter_skills/hunt-graphql
Command: npx skills add https://github.com/cmndcntrlcyber/rtpi --skill hunt-graphql-cmndcntrlcyber

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of identifying GraphQL vulnerabilities, saving time and effort in security audits.

Core Features & Use Cases

  • Introspection Testing: Detects schema introspection and field-level enumeration to identify potential vulnerabilities.
  • Schema Mapping: Visualizes relationships within the GraphQL schema to locate targets for testing.
  • Authorization Testing: Validates authorization boundaries in mutations and checks for state desync.
  • Use Case: When auditing a web application with a GraphQL API, use this Skill to map the schema, test for authorization issues, and identify potential IDOR vulnerabilities.

Quick Start

Execute the skill with 'hunt-graphql scan --target http://example.com/graphql'.

Frequently Asked Questions about hunt-graphql

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

FAQPage Schema
How do I test GraphQL APIs for authorization vulnerabilities and IDOR?

To test GraphQL authorization boundaries, you can execute a scan targeting your endpoint to validate mutation permissions and detect state desync issues that lead to IDOR vulnerabilities. This process maps schema relationships to locate targets for testing.

What is GraphQL introspection testing and when do I need it for a security audit?

GraphQL introspection testing detects schema introspection and field-level enumeration to identify potential vulnerabilities. You need it during web application security audits to visualize relationships within the GraphQL schema and locate testing targets.

How do I uncover GraphQL vulnerabilities in web applications?

You can uncover GraphQL vulnerabilities by analyzing endpoint patterns, response headers, and JavaScript source code. This requires running introspection queries, enumeration techniques, and authorization testing methodologies to detect and exploit API flaws.

Can I use this for finding bug bounty vulnerabilities in GraphQL endpoints?

Yes, this targets public bug bounty reports and applies to GraphQL-based web applications. It streamlines identifying vulnerabilities by mapping the schema, testing authorization issues, and detecting potential IDOR vulnerabilities.

What's the best way to map a GraphQL schema for security testing?

The best way to map a GraphQL schema for security testing is executing a targeted scan against the endpoint. This visualizes relationships within the schema and detects field-level enumeration to identify potential vulnerabilities.

Why does GraphQL authorization testing require checking for state desync?

GraphQL authorization testing requires checking for state desync because mutations may have inconsistent authorization boundaries. Validating these boundaries ensures state synchronization and detects potential IDOR vulnerabilities in the API.