If your AI-built app uses GraphQL, there is one question to ask first: can a stranger ask your API what it contains, and can they ask for everything at once?
GraphQL gives clients a lot of freedom. That is the point of it, and it is also why a few default settings matter more than they do in a plain REST API.
Who is at risk
Any app with a /graphql endpoint, including apps that use Hasura, Apollo, Supabase's GraphQL layer, or a Next.js API route that exposes one. AI tools turn on the friendly defaults because they make the demo easier to build.
What tends to go wrong
Introspection is open in production. Anyone can download the full list of types, queries and mutations, which is a free map of your data.
No authorization on the resolvers. The endpoint checks that you are signed in, but not that the record belongs to you. This is the same IDOR problem as in REST.
No depth or size limits.…