performing-graphql-introspection-attack

Featured

Performs GraphQL introspection attacks to extract the full API schema including types, queries, mutations, subscriptions, and field definitions from GraphQL endpoints. The tester uses introspection queries to map the attack surface, identifies sensitive fields and mutations, tests for query depth and complexity limits, and exploits GraphQL-specific vulnerabilities including batching attacks, alias-based brute force, and nested query DoS. Activates for requests involving GraphQL security testing, introspection attack, GraphQL enumeration, or GraphQL API penetration testing.

API & Backend 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Performing GraphQL Introspection Attack ## When to Use - Testing GraphQL endpoints for exposed introspection that reveals the complete API schema - Mapping the attack surface of a GraphQL API to identify sensitive queries, mutations, and types - Testing for GraphQL-specific vulnerabilities including query depth abuse, batching attacks, and field-level authorization - Assessing GraphQL implementations where introspection is disabled but schema can be reconstructed through error messages - Evaluating defenses against resource exhaustion through deeply nested or complex GraphQL queries **Do not use** without written authorization. Schema extraction and query abuse testing can impact service availability. ## Prerequisites - Written authorization specifying the GraphQL endpoint and testing scope - Burp Suite Professional with InQL extension (v6.1+) for automated schema analysis - Python 3.10+ with `requests` and `gql` libraries - GraphQL Voyager or GraphQL Playground for schema visualization - Clairvoyance tool for schema reconstruction when introspection is disabled - Wordlists for GraphQL field and type name brute-forcing > **Legal Notice:** This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws. ## Workflow ### Step 1: GraphQL Endpoint Discovery ```python import requests import json TARGET = "https://target-api.exam...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category