sc-graphql

Detect GraphQL vulnerabilities in schemas, resolvers, and dependencies.

7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/fatihkan/badi --skill sc-graphql-fatihkan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-graphql
Source: https://github.com/fatihkan/badi/tree/main/.claude/skills/security-check/sc-graphql
Command: npx skills add https://github.com/fatihkan/badi --skill sc-graphql-fatihkan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GraphQL vulnerabilities such as injection, introspection exposure, and authorization bypass can lead to data leakage and unauthorized mutations. This skill helps teams proactively detect and remediate these issues across schemas, resolvers, and dependencies.

Core Features & Use Cases

  • Detects GraphQL vulnerabilities including query injection, introspection abuse, batching abuse, and field-level authorization bypass.
  • Validates configurations to guard against DoS via depth/complexity and improper directive usage.
  • Supports popular GraphQL runtimes (Apollo Server, graphql-yoga, Strawberry, Graphene, gqlgen, HotChocolate) across development, CI, and production.

Quick Start

Scan your GraphQL schema and resolvers to identify critical security gaps and generate actionable remediation guidance.

Frequently Asked Questions about sc-graphql

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

FAQPage Schema
How do I detect GraphQL authorization bypass and introspection vulnerabilities in my schema?

You can detect GraphQL authorization bypass and introspection vulnerabilities by scanning schemas and resolvers to identify field-level authorization gaps and improper introspection controls. This prevents unauthorized mutations and data exposure across development and production environments.

Does GraphQL vulnerability scanning work with Apollo Server and gqlgen?

Yes, GraphQL vulnerability scanning works with Apollo Server and gqlgen, alongside graphql-yoga, Strawberry, Graphene, and HotChocolate. It validates configurations and checks for depth and complexity limits across these runtimes in development, CI, and production environments.

How do I prevent DoS attacks via query depth and complexity in GraphQL?

To prevent DoS attacks via query depth and complexity in GraphQL, validate your runtime configurations to enforce strict depth and complexity limits. Scanning resolvers and schemas identifies improper directive usage and missing limits, providing actionable remediation guidance to stop batching abuse.

What is the best way to find field-level authorization gaps in GraphQL resolvers?

The best way to find field-level authorization gaps in GraphQL resolvers is to perform a targeted security scan across your schemas and dependencies. This detects unauthorized access paths and generates actionable remediation guidance to secure your data exposure points.

Can I scan for GraphQL query injection and batching abuse in production environments?

Yes, you can scan for GraphQL query injection and batching abuse in production environments. The scanning process applies across development, CI, and production to detect vulnerabilities and enforce security controls without disrupting active runtime operations.

Why does my GraphQL endpoint expose sensitive data through introspection?

Your GraphQL endpoint exposes sensitive data through introspection because introspection controls are disabled or improperly configured. Scanning your schema identifies this security gap and provides actionable remediation guidance to restrict introspection queries and prevent data leakage.