AppSec Architecture··6 min read·By Veer Bhanushali

GraphQL alias batching, depth bombs, and resolver-level BOLA

Protecting GraphQL APIs when parent resolvers check authentication cleanly yet nested edges expose cross-tenant records.

Key takeaway

Authorize inside every field resolver or dataloader boundary, disable introspection in production if unneeded, and enforce query cost/alias limits.

Parent checks do not protect edge resolvers

When a schema connects User -> Organization -> Invoices across nested type resolvers, traversing from a benign public object can bypass parent root query guards unless downstream resolvers verify membership too.