Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    GraphQL Schema Security Audit

    by CashonlyTian

    1

    Shipping a GraphQL API with introspection enabled or sensitive PII exposed is a public invitation to attackers.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    GraphQL Schema Security Audit

    GraphQL Schema Security Audit

    Example session with this skill installed

    Run a security audit on the ./api/graphql directory for project 'billing-service'. Use #34D399 for the accent color.

    • Read your context and instructions
    • Compiled the graphql schema security
    • Generated the document

    The GraphQL security audit for

    billing-service is complete. The scan identified several high-severity misconfigurations that should be addressed before deployment.

    • Score: 42/100
    • Grade: D
    • Risk Level: HIGH
    • Findings: 14 issues (3 Critical, 5 Medium, 6 Low)

    Audit Results

    Check CategoryScoreStatusPrimary Issue
    Introspection0/15FAILEnabled in production config
    Sensitive Fields5/15WARNUser.passwordHash exposed
    Query Depth0/15FAILNo depth or complexity limits found
    Batching10/10PASSallowBatchedHttpRequests: false
    Pagination5/10WARNQuery.allLogs has no limit
    Field Auth2/10FAILdeleteAccount missing @auth
    IDOR Arguments10/10PASSProtected by @authenticated
    Upload/Input5/5PASSSize limits enforced
    Hygiene5/5PASSNo deprecated fields served
    Secrets0/5FAILLiteral API key found in .env

    Top 3 Recommended Fixes

    Disable Introspection: Explicitly set introspection: false in your server configuration to prevent schema crawling.
    2. Set Query Limits: Implement a depthLimit (recommended: 10) and maxComplexity to prevent DoS attacks.
    3. Mask PII: Remove or protect passwordHash and ssn fields from the User object type in schema.graphql.

    The full report is available at scan-report.md and the visual summary at scan-2024-05-20.png.

    Next steps

    • Review the prioritized fix list in scan-report.md.
    • Apply introspection: false to your Apollo/Yoga server setup.
    • Re-run the audit to confirm the score improves above 60.

    scan-2024-05-20.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Shipping a GraphQL API with introspection enabled or sensitive PII exposed is a public invitation to attackers. This skill audits your GraphQL SDL and server configuration files to find vulnerabilities before you deploy.

    What it does

    • Security Scoring delivers a 0-100 score, letter grade, and risk level based on 10 critical security checks.
    • Schema Inspection scans for exposed PII, credential fields, and internal admin types reachable from public queries.
    • Config Validation verifies introspection settings, query depth limits, complexity costs, and batching constraints.
    • Access Control Audit identifies sensitive mutations and ID-based lookups missing auth directives or pagination bounds.
    • Visual Reporting generates a shareable 1024x1024 PNG score-card and a prioritized Markdown fix report.

    How it works

    1. Target Selection points the tool to a local directory containing GraphQL SDL, .env files, and server configuration.
    2. Local Scan executes a non-networked Python script to parse schemas and server setup code for Apollo, Yoga, or generic GraphQL servers.
    3. Audit Analysis evaluates 10 specific categories including query depth, input validation, and secret hygiene.
    4. Report Generation produces a visual score-card and a detailed report masking all discovered credentials to ***.

    Frameworks & tools

    Works with any GraphQL SDL (.graphql, .gql). Explicitly supports server configurations for Apollo Server, Yoga, and graphqlHTTP.

    Why this beats prompting it yourself

    Manual prompts often miss deep-nested reachable admin types or subtle pagination bypasses. This skill uses a systematic 10-point scoring engine that enforces specific security thresholds and provides a repeatable visual artifact for compliance.

    Use cases

    • Audit an API generated by another AI agent before integration.
    • Perform a pre-deployment security check for production GraphQL endpoints.
    • Review third-party GraphQL projects during onboarding or due diligence.

    Known limitations

    Does not query live endpoints or detect gateway-level overrides. SDL parsing requires standard formatting with one field per line.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Audits local files only, not live endpoints. Cannot detect gateway overrides. Requires SDL fields to be on separate lines for accurate parsing. Files >2MB are skipped.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    The skill requires access to your GraphQL SDL files (.graphql or .gql) and server configuration files (like Apollo or Yoga setup). It does not need access to a live database or a running production endpoint to perform the audit.

    No, this skill is designed for static analysis. It scans your code and configuration files locally to identify risks like enabled introspection or missing depth limits without sending any network requests to your API.

    You will receive the core security audit agent, a systematic 10-point scoring engine, and templates for generating visual PNG score-cards and Markdown vulnerability reports.

    The skill is framework-agnostic for SDL files but includes specialized logic for Apollo Server, GraphQL Yoga, and graphqlHTTP configuration patterns. It can be integrated into most AI agent workflows that support file system access.

    While the skill handles standard SDL and common server setups, it does not currently detect gateway-level security (like AWS AppSync or Apollo GraphOS overrides) or complex custom directives not defined in the provided schema.

    Yes, the audit report automatically masks any discovered credentials or sensitive keys to '***' to ensure that the security report itself does not become a liability.

    New in LLM Ops