graphql-audit

Automate GraphQL API security audits for schema exposure and injection vulnerabilities.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/bpnrockstar/UnifiedBugHunter --skill graphql-audit-bpnrockstar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graphql-audit
Source: https://github.com/bpnrockstar/UnifiedBugHunter/tree/main/skills/graphql-audit
Command: npx skills add https://github.com/bpnrockstar/UnifiedBugHunter --skill graphql-audit-bpnrockstar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires graphw00f, clairvoyance, graphql-cop, gqlmap, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates comprehensive security audits of GraphQL APIs, detecting vulnerabilities like introspection abuse, IDOR, authorization bypass, and more.

Core Features & Use Cases

  • Introspection Abuse Detection: Identify and mitigate issues related to schema leakage and query injection.
  • Field-Suggestion Enumeration: Discover and exploit exposed fields without needing schema access.
  • Injection and Bypass Techniques: Scan for SQLi, NoSQLi, and SSTI vulnerabilities through various attack vectors.
  • Authentication Flaws: Identify authentication bypasses and privilege escalations.
  • Subscription and Complexity Attacks: Protect against real-time data leaks and denial-of-service attacks.
  • Fingerprinting and CVE Hunting: Analyze server-side engines for potential CVEs.
  • Automated Attack Checklist: Utilize tools like graphql-cop to ensure a thorough audit.

Quick Start

Run the graphql-audit.sh script on the target endpoint: bash tools/graphql_audit.sh <endpoint>

Frequently Asked Questions about graphql-audit

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

FAQPage Schema
How do I automate a GraphQL security audit for introspection abuse and IDOR vulnerabilities?

To automate a GraphQL security audit, you can run a script against your target endpoint to detect introspection abuse, IDOR, and authorization bypass vulnerabilities, utilizing tools like graphw00f and clairvoyance for comprehensive schema and field analysis.

What is GraphQL field-suggestion enumeration and when do I need it?

GraphQL field-suggestion enumeration is the process of discovering and exploiting exposed fields without needing direct schema access. You need it when assessing APIs that block introspection but still leak schema data through query error messages.

Can I detect SQL injection and SSTI vulnerabilities through GraphQL query inputs?

Yes, you can detect SQL injection, NoSQLi, and SSTI vulnerabilities by scanning GraphQL query inputs through various attack vectors. The audit process validates these injection flaws by automating payload delivery against the exposed fields.

Do I need external tools to fingerprint a GraphQL server engine and hunt for CVEs?

Yes, you need external tools like graphw00f to fingerprint the GraphQL server engine and identify potential CVEs. Server fingerprinting is required to analyze the underlying engine implementation for known vulnerabilities.

How do I test GraphQL subscriptions for real-time data leaks and complexity attacks?

You test GraphQL subscriptions for real-time data leaks and complexity attacks by running an automated audit checklist that evaluates subscription endpoints. This process identifies potential denial-of-service conditions and unauthorized data exposure.

What is the best way to enumerate GraphQL fields when introspection is disabled on the target?

The best way to enumerate GraphQL fields when introspection is disabled is using clairvoyance to reconstruct the schema. This technique exploits field-suggestion mechanisms to discover hidden types and fields without explicit schema access.