// Comparison
Black Hat GraphQL vs Real-World Bug Hunting: Which Should You Read?
Two cybersecurity books on Web Security, compared honestly: who each is for, what each does best, and which to read first.
Aleks and Farhi on attacking GraphQL specifically: introspection abuse, batching, depth and complexity attacks, auth flaws, and the differences from REST that make GraphQL pentests their own discipline.
Peter Yaworski breaks down real disclosed reports across major bug bounty programs, organized by vulnerability class, so readers can pattern-match real findings rather than learn classes from textbook examples.
Read this if
Skip this if
Key takeaways
- Disabled introspection is not a security control; the book explains how to enumerate schemas without it and why that matters.
- Batching and aliasing attacks let one HTTP request do many things; classic rate-limit defenses fail unless GraphQL-aware.
- Depth and complexity attacks are the GraphQL equivalent of regex DoS, usually possible, often forgotten, sometimes catastrophic.
- Reading 30 annotated reports compresses what would otherwise take three months of HackerOne reading; the book is high-leverage for getting started.
- The "what to do when you find something" chapter is the most underrated part; reporting is half the bounty, and most beginners write bad reports.
- The classes covered (XSS, IDOR, SSRF, OAuth, race conditions, business logic) map directly to what's currently paying on public programs.
How they compare
Black Hat GraphQL and Real-World Bug Hunting are both rated 4/5 in our catalog. Pick by topic preference and reading style rather than by rating.
Black Hat GraphQL is pitched at intermediate level. Real-World Bug Hunting is pitched at beginner level. Read the easier one first if you're not yet comfortable with the topic.
Black Hat GraphQL and Real-World Bug Hunting both cover Web Security, Offensive, so reading them in sequence reinforces the same material from different angles.
Keep reading
Real-World Bug Hunting
→ Alternatives to Real-World Bug Hunting→ What to read after Real-World Bug Hunting