The flexibility that makes GraphQL powerful also makes it a DoS surface: a client can nest a query deeply or request huge lists in one call. You defend in layers — depth limits, complexity/cost analysis, rate limiting, and proper auth — none of which the query language enforces for you.
The threat: unbounded queries
Bomb
user friends friends friends friends name
