API security
APIs are usually the soft underbelly of an app. Most real-world high-impact bugs in the last few years live at the API layer.
Prereqs
- web-application-security stage 1.
- Comfort with Postman or
curl/httpie.
Stage 1 — fundamentals
- REST basics: verbs, resources, status codes, content types.
- OpenAPI / Swagger spec reading and abuse: swagger-discovery.
- GraphQL primer: https://graphql.org/learn/.
- Auth flows: jwt, oauth-flows, api-keys.
- OWASP API Security Top 10 (current edition): https://owasp.org/API-Security/.
Stage 2 — intermediate
- bola (Broken Object Level Authorization).
- bfla (Broken Function Level Authorization).
- mass-assignment · rate-limit-bypass.
- graphql-attacks — introspection, aliasing, batching, depth / complexity DoS.
- gRPC / protobuf surface: grpc-attacks.
- Tooling: Burp + GraphQL Voyager,
ffuf,kiterunner.
Stage 3 — advanced
- API gateway and WAF bypasses.
- JWT cryptographic attacks beyond
none/ alg-confusion: jwt-key-confusion, jwt-jku-jwk-injection. - Multi-tenant SaaS — cross-tenant data access patterns.
- Webhook abuse and SSRF via outbound API calls (ssrf-to-cloud).
- Read [Hacking APIs (Corey Ball)] cover to cover.