Inspiration
As web developers, we understand that building a functional website is only part of the job. Knowing how to properly secure sensitive information, configure applications, validate user input, and prevent common vulnerabilities is equally important.
Our project was inspired by the idea that learning cybersecurity should be practical, interactive, and accessible to developers of all experience levels. We wanted to use AI as a tool to quickly develop custom-tailored sandbox websites where developers could explore real-world security mistakes without putting actual systems or sensitive information at risk.
What We Built
We created a Capture the Flag (CTF) cybersecurity sandbox, an educational website containing ten intentionally vulnerable challenges ranging from easy to hard.
Each challenge demonstrates a different cybersecurity weakness, including information disclosure, exposed JavaScript files, insecure direct object references (IDOR), SQL injection, and cross-site scripting (XSS).
The objective is simple: investigate the website, identify vulnerabilities, capture hidden flags, and document the findings.
To encourage critical thinking, each team member was responsible for completing the challenges and documenting eight key elements, including:
- Vulnerable feature or endpoint
- Reconnaissance and tools used
- Steps to reproduce the vulnerability
- Evidence collected
- Flag captured
- Root cause of the vulnerability
- Potential real-world impact
- Recommended prevention methods
How We Built It
We used Python, Django, HTML, CSS, JavaScript, and AI-assisted development to create a functional web application containing intentionally insecure features.
AI played an important role in generating the educational challenges and helping structure the sandbox around different vulnerability types and difficulty levels.
Rather than simply reading about cybersecurity concepts, our team could investigate a working application, experiment with browser developer tools, inspect source code, manipulate URLs, and test application behavior.
Challenges We Faced
One of our biggest challenges was balancing security education with usability. We needed to make the vulnerabilities realistic enough to demonstrate common security mistakes while keeping the exercises approachable for beginners.
Another challenge was understanding not just how to discover a flag, but why the vulnerability existed and how a developer could prevent it. Finding a flag was only the first step; explaining the security weakness required additional research, technical understanding, and proper documentation of the security risk.
What We Learned
This project reinforced that even small development mistakes can create significant security risks.
We learned how exposed comments, improperly protected files, predictable URLs, unsafe SQL queries, and insecure handling of user input can potentially compromise an application.
One of the most important lessons was the critical role of documentation in cybersecurity. Capturing a flag was not enough; we needed to document how we discovered it, what tools and techniques we used, what caused the vulnerability, and how it could be prevented.
This process helped us understand that a security finding is only truly useful when it can be clearly explained, reproduced, and addressed by other developers. Proper documentation also encouraged accountability, collaboration, and a more systematic approach to investigating vulnerabilities.
More importantly, we learned to approach cybersecurity from both perspectives: the person investigating a vulnerability and the developer responsible for preventing it.
Our biggest takeaway is that cybersecurity should not be treated as an afterthought. Secure development practices and thorough security documentation must be considered throughout the entire software development process.
By combining AI-assisted development, hands-on experimentation, and structured documentation, we turned common web security mistakes into practical learning opportunities.
Built With
- chatgpt
- css
- django
- html
- javascript