Lion Cipher Lab

Retest Juice Shop findings as code: a control, an attack, and a verdict you can trust

Why it matters

A fix that nobody re-tested is a hope. NIST's testing guide says mitigation is verified by retesting, and adds a condition that is easy to miss: the test team can verify the fix only if a mirror copy of the original test is performed. OWASP's advice for object-level authorization goes one step further and says to write tests for the authorization mechanism and not deploy changes that make them fail. This lab turns each finding into a small check so the retest is the same every time, and it builds in the part most retests skip: a control request that proves the test itself still works.

What you'll learn

Steps in this lab

  1. What a retest has to prove
  2. Why the control request is the whole trick
  3. Start the stand-in app (the thing under test)
  4. Bring the stand-in app into scope on purpose
  5. Write the checks and the retest script
  6. Run it against the vulnerable app
  7. Apply the fix and retest
  8. Break the control, then break the fix
  9. The defender's view: put the check where the fix lives
  10. Clean up

Open the full interactive lab →

Keep learning