OWASP Top 10:2025 Lab

Ten short Python programs with real flaws in them. Run the attack, fix the code, and check your fix.

Interactive lab · runs in your browser

Loading Python…

Starting…

Lessons

What is wrong

How the attack works

Show the attack code

    

Your task

Show a hint

  1. 1 Run the attack
  2. 2 Fix the code
  3. 3 Check your fix
Your code · Tab indents · Ctrl+Z undoes, Ctrl+Y redoes · Esc, then Tab, leaves the editor

Result

Do all ten demos run in this browser?

Each lesson is built on a complete demo program with a vulnerable version, a fixed version and an attack. This check runs all ten of them, unchanged, in the same in-browser Python.