Free module
API security
Learn API security hands on: the OWASP API Top 10, BOLA, mass assignment, rate limits, GraphQL attacks and forged JWTs, each with its fix.
The lessons
Each lesson is free and interactive. Press Start lab to run its commands in a live lab and to sit its quizzes and tasks, with no account needed.
1 · Container lab
The OWASP API Security Top 10
I can match a weakness in an API to its entry in the OWASP API Security Top 10.
Read the lesson2 · Container lab
Reading objects that are not yours (BOLA)
I can show that an API returns another user's object and write the check that stops it.
Read the lesson3 · Container lab
Setting fields you should not (mass assignment)
I can stop an API storing fields a caller should not set.
Read the lesson4 · Container lab
Rate limits that attackers cannot dodge
I can test whether a rate limit holds and key it on something an attacker cannot change.
Read the lesson5 · Container lab
GraphQL attacks and how to stop them
I can test a GraphQL API for its common weaknesses and say which limit fixes each.
Read the lesson6 · Container lab
Attacks on JSON Web Tokens
I can test whether an API accepts a forged JSON Web Token.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.