Inspiration

A student can find a security flaw and still walk away with the wrong idea about how to fix it. We wanted to give students more chances to practise and get feedback, without asking tutors to write a new exercise and read every submission each day.

What it does

Flagloop gives students fresh capture-the-flag exercises in isolated practice environments. After finding the flag, students explain what went wrong and how they’d fix it. They get feedback on their writeup, tutors see where the class struggled, and those results help shape the next exercise.

How we built it

We built a React portal backed by Python and FastAPI. Amazon Bedrock helps generate exercises from templates and review writeups. AWS Lambda runs the portal and reporting, while an EC2 worker tests and runs the challenges in Docker.

Challenges we ran into

An AI-generated exercise can look convincing and still be impossible to solve. We built automated checks to catch broken challenges before tutors can approve them.

Accomplishments that we're proud of

We shipped a working prototype that connects the whole loop, from opening an exercise and submitting a flag to getting feedback and seeing class-wide results in the tutor dashboard.

What we learned

A correct flag tells you a student found the flaw. Their explanation tells you what to teach next. Asking students how they’d fix the flaw made the feedback much more useful.

What's next for Flagloop

Pilot it in a real course, add more challenge types, and build exercises where students can patch the flaw and see whether their fix works.

Built With

Share this project:

Updates

Submission history