TL;DR: APIs now drive revenue, traffic and automation, but GraphQL’s flexible query model amplifies broken authorization, excessive data exposure and resource exhaustion risks that traditional web security tools miss, according to LEVO. Protecting these systems requires resolver-level controls, schema governance, continuous testing and runtime visibility, because API security failures now translate directly into business disruption and breach cost.
Editorial analysis by NHI Mgmt Group, based on content published by LEVO: “Protecting GraphQL APIs against OWASP Top 10 Vulnerabilities”.
By the numbers:
- In 2024, analysts reported that API calls made up more than 71% of all web traffic.
- 65% of organizations generate revenue directly from APIs.
Key questions
Q: What breaks when GraphQL authorization is only checked at the endpoint?
A: Resolvers can still return data or perform mutations that the caller should not receive if ownership and context are not rechecked at the object layer.
Q: What breaks when GraphQL APIs do not enforce object-level authorization?
A: The application can authenticate a user and still allow that user to access or change records they do not own.
Q: What are the signs that GraphQL query controls are failing?
A: Watch for unusually deep queries, repeated resolver calls, high backend load from small requests, broad schema introspection use and field requests that do not match the caller’s normal role.
Practitioner guidance
- Enforce resolver-level authorization Check object ownership, role and context at each resolver before returning data or executing a mutation, even when the endpoint itself is authenticated.
- Restrict sensitive fields in the schema Remove or explicitly gate internal fields, flags and relationships that should not be exposed to every caller, including fields that look harmless in development.
- Limit query depth and execution cost Apply depth limits, cost scoring, batching controls and rate limits so a single nested query cannot consume disproportionate backend resources.
Bottom line: GraphQL changes API security because access decisions move into resolvers, schema design and query behaviour, where traditional web controls often have limited visibility.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
GraphQL makes API governance an access-control problem, not just a development pattern. The article’s core point is that the security boundary moves into schema design, resolver logic and runtime policy enforcement. That changes who owns the risk: IAM, API security and platform teams now share responsibility for object access, field exposure and workload trust. Practitioners should treat GraphQL as a policy engine with a query interface, not as a simple transport layer.
A few things that frame the scale:
- Secrets management is a top five cybersecurity priority for only 33% of organisations, behind cloud security (45%), API security (42%), and endpoint security (36%), according to the 2024 State of Secrets Management Survey.
A question worth separating out:
Q: How should teams decide between schema governance and runtime blocking for GraphQL risk?
A: Use schema governance to prevent exposure by design, then add runtime blocking to contain abuse that still slips through. Schema controls reduce the surface area for overfetching and broken authorization, while runtime controls catch expensive or malicious behaviour that only becomes obvious under live traffic.
👉 Read our full editorial: OWASP API Top Ten exposes GraphQL governance gaps in modern APIs