Active Probing & Surface
critical Severity
Free Check

GraphQL Introspection Exposed (/graphql)

Tests if GraphQL schema introspection (__schema query) is publicly enabled, disclosing complete schema designs and hidden queries.

Test Your Website for GraphQL Introspection Exposed (/graphql)

Run this check along with 90+ automated tests across your domain.

Why It Matters

Introspection provides attackers with an exact blueprint of your database schema, unpublished queries, mutations, and user fields.

How We Check This

We send a standard GraphQL introspection query to /graphql and /api/graphql to see if schema data is returned.

How to Fix & Implement

Copy-paste configuration blocks tailored for your web server or edge proxy.

nginx snippet
# Disable introspection in your GraphQL server configuration in production (Apollo Server, Yoga, Relay)

Frequently Asked Questions

Should GraphQL introspection ever be enabled in production?

Almost never for private APIs; it should only be enabled if your API is designed as a public developer platform.