Getting Started
How to Play
Inspect a vulnerable service, patch the real flaw, and upload your changes for automated tests.
The loop
choose a target → find the flaw → patch it → upload → tests score it
There are no flags to submit. The grader builds a clean copy of the target and runs regression tests against your patch.
Please use AI
Solving these with an AI agent is the intended path. Bring whatever you already use and point it at the pinned target source. OWASP’s Secure Agent Playbook: structured procedures for security code review, dependency scanning, and API assessment.
- 1
Sign in and join a team
Create an account, then create a team or choose solo play from your profile before submitting. Scores are credited to your account and team.
- 2
Choose a target and challenge
Browse 6 vulnerable apps: Juice Shop, DVWA, WebGoat, Security Shepherd, VulnerableApp, and VAmPI. Open a target and follow its pinned source link.
- 3
Find and patch the vulnerability
Read the challenge description, trace it into the source, and fix the underlying security flaw without breaking legitimate behavior. Use the local README to run the service if useful.
- 4
Upload your changes
Expand the target and submit a project ZIP, a git diff or patch, or one changed file with its path relative to the repository root.
- 5
Review the test result
The grader builds the patched service in an isolated run, executes the regression suite, and updates your patched challenges and points when it finishes. Java targets may take several minutes.
Worked example
A patch from source to score
Use the same loop on any of the 6 targets: make a small security fix, submit it, then use the test result to decide what to investigate next.
- 1
Download the pinned source
Open a target on the Challenges page and follow its source link. Keep the repository root in your working copy.
- 2
Make and test a focused fix
Ask your code-review agent to explain the vulnerable flow, inspect the relevant files, then patch and run the service locally.
- 3
Create a submission
Upload a ZIP of the project, a diff produced by git diff, or one changed file and its repository-relative path.
- 4
Check your score
The result lists how many regression tests passed. Open the target section to see which challenges are now marked patched.
Tip
Prefer a root-cause fix over a special case for one test payload. One correct remediation can close several related challenges.
Good to know
- Every submission is tested against a fresh copy of the pinned vulnerable source; it does not modify your downloaded files.
- Only one grading job runs for an account at a time. Large Java targets can take several minutes to build and test.
- Your best result for each challenge stays on the leaderboard. A later submission can add fixes without removing earlier points.
How scoring works
Each challenge has a fixed point value based on difficulty. Passing its regression test records the points for your account and team. Results appear on the leaderboard and profile after the grader completes.
Stuck, or need an organizer? Find one at the OWASP CTF in a Box area.