~/talk

Techniques to Protect Your GraphQL API

Talkat GraphQLConf 2024 · on Wednesday, 2024-09-11· at 11:40· Skyline A - Level 21· [security]
slides:none on file

Covers concrete defenses: enforce trusted documents via persisted IDs to act as a document allow list, avoid automatic persisted queries for security, and run build‑time checks with tools like gql‑lint and gql‑check. Shows attacks and fixes: a 2MB upload can consume 1GB RAM so avoid file uploads over GraphQL, nested lists can explode into 40 million nodes so apply strict list depth and alias limits, use cancellation tokens, DataLoader batching, cursor pagination and per‑operation rate/complexity limits.

AI-written summary · about

  1. 0:00Introduction to GraphQL security
  2. 3:32Web server security concerns
  3. 5:39Business logic layer efficiency
  4. 8:30GraphQL query language risks
  5. 10:12Trusted documents explained
  6. 14:25Advanced query validation
  7. 20:25Schema design and introspection
  8. 23:57Pagination and filter limits
  9. 26:46Error masking best practices
  10. 27:30Ensuring trusted document trustworthiness
  11. 29:38Summary 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.