Graphql security

From zakirkun/ice-tea · View interactive version

Graphql security is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects insecure GraphQL configurations including enabled introspection, unbounded query depth, and missing authentication on resolvers.

How to use this skill

Skill file

GraphQL Security Issues

Overview

GraphQL APIs have unique security risks:

  1. Introspection enabled in production: Reveals entire schema to attackers for reconnaissance
  2. Unbounded query depth: { user { friends { friends { friends { ... } } } } } — DoS via deeply nested queries
  3. Batch query abuse: Unlimited query batching enables brute force and DoS
  4. Missing resolver-level auth: Even with authentication, each resolver must check permissions
  5. Verbose error messages: GraphQL errors often expose internal details

Remediation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.