mukul975/anthropic-cybersecurity-skills/performing-graphql-security-assessment
Claude Code and agent skill by mukul975/anthropic-cybersecurity-skills
- community
Checking that the SKILL.md file is still in the repository.
Assessing GraphQL API endpoints for introspection leaks, injection attacks,
Install
npx vskill@latest install mukul975/anthropic-cybersecurity-skills/performing-graphql-security-assessmentSKILL.md
The same SKILL.md was published earlier as mukul975/anthropic-cybersecurity-skills/performing-graphql-security-assessment.
Performing GraphQL Security Assessment
When to Use
- During authorized penetration tests when the target application uses a GraphQL API
- When assessing single-page applications (React, Vue, Angular) that communicate via GraphQL
- For evaluating mobile app backends that expose GraphQL endpoints
- When testing microservice architectures with a GraphQL gateway or federation
- During bug bounty programs targeting GraphQL-based APIs
Prerequisites
- Authorization: Written penetration testing agreement for the target
- Burp Suite Professional: With InQL extension for GraphQL scanning
- GraphQL Voyager: Schema visualization tool
- InQL Scanner: Burp extension for GraphQL introspection and query generation
- Altair GraphQL Client: Desktop GraphQL client for interactive testing
- clairvoyance: GraphQL schema enumeration when introspection is disabled
- curl: For manual GraphQL query submission
Workflow
Step 1: Discover and Fingerprint GraphQL Endpoints
Locate GraphQL endpoints and confirm GraphQL is running.
Step 2: Perform Schema Introspection
Extract the full GraphQL schema to understand the API surface.
Step 3: Test Authorization on Queries and Mutations
Verify that access control is enforced at the field and object level.
Step 4: Test for Injection Vulnerabilities
Assess GraphQL queries for SQL injection, NoSQL injection, and other injection types.
Step 5: Test for Denial of Service Attacks
Assess query complexity limits and resource consumption controls.
Step 6: Test Batching for Authentication Bypass
Use query batching to brute-force credentials or bypass rate limiting.
Key Concepts
| Concept | Description | |
|---|---|---|
| Introspection | GraphQL feature that exposes the full schema, types, fields, and mutations | |
| Query Depth | The nesting level of a GraphQL query; deep queries can cause DoS | |
| Query Complexity | A score calculated from the cost of resolving each field in a query | |
| Batching | Sending multiple queries in a single HTTP request for parallel execution | |
| Aliases | GraphQL feature allowing the same field to be queried multiple times with different arguments | |
| Fragments | Reusable field selections that can cause circular references if not validated | |
| N+1 Problem | Unoptimized resolvers causing exponential database queries for nested fields | |
| Field-level Authorization | Access control applied to individual fields rather than entire types |
Tools & Systems
| Tool | Purpose | |
|---|---|---|
| InQL (Burp Extension) | GraphQL introspection scanner and query generator for Burp Suite | |
| GraphQL Voyager | Interactive schema visualization tool | |
| Altair GraphQL Client | Desktop GraphQL IDE for crafting and testing queries | |
| clairvoyance | Schema enumeration when introspection is disabled | |
| graphql-cop | GraphQL security auditing tool (pip install graphql-cop) | |
| BatchQL | GraphQL batching attack tool for rate limit bypass |
Common Scenarios
Scenario 1: Introspection Exposes Internal Schema
Introspection is enabled in production, revealing internal types like AdminSettings, InternalUser, and mutations like deleteAllUsers. This provides a complete roadmap for further attacks.
Scenario 2: Missing Field-Level Authorization
The User type exposes passwordHash, ssn, and internalNotes fields. While the frontend only queries name and email, any authenticated user can request sensitive fields directly.
Scenario 3: Batch Login Bypass
The GraphQL endpoint accepts batch queries. By sending 1000 login mutation attempts in a single HTTP request, an attacker bypasses IP-based rate limiting that only counts HTTP requests.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/performing-graphql-security-assessment/SKILL.md
Popularity
- Repository stars
- 33,535
- Repository forks
- 4,068
- 7-day trend score
- 52
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mukul975/anthropic-cybersecurity-skills/performing-graphql-security-assessment)