~/talk

Understanding GraphQL Security: Protecting Your Server from Abuse

Talkat GraphQL Summit 2023 · 2023-10-09..10-13· [security]
links:none on file
slides:none on file

Covers concrete defenses: disable introspection and field suggestions, enforce a query depth limit (e.g. 5–10), and implement per-field complexity costs (example name cost 1 currentLocation cost 100 with a 500 request cap) so parsers reject expensive queries before resolving. Turn unbounded lists into paginated connections, limit aliases and directives (or disable on mutations) to stop alias brute force and directive amplification, and use APM like Datadog plus libraries such as GraphQL Armor or Ruby graphql limits to monitor and enforce these protections.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11GraphQL in Starfleet
  3. 2:14Introspection risks
  4. 4:01Field suggestions abuse
  5. 7:10Query depth limits
  6. 9:18Field stuffing attacks
  7. 11:11Cost limits for queries
  8. 13:16Alias brute force risks
  9. 16:05Directive abuse
  10. 18:15Recap and solutions
  11. 20:47Server customization
  12. 21:48Security tooling
  13. 22:54Closing and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.