Hacking Secure Coding Into Education
Or SaharYariv Tal
Where
Ground Floor
BSides Las Vegas
Duration
25 min
Shows how secure coding was taught to high school and university students, with free open workshops and videos.
Summary
The speakers, both former developers who moved into security, argue that insecure code keeps appearing because developers are rarely taught otherwise. They point to SQL injection, first described decades ago, which still drives major breaches, and to other recurring flaws such as cross-site scripting, path traversal and insecure file upload. Their starting point is that security tooling usually arrives after code is already written, so the fix belongs earlier, in education.
An early effort to persuade universities and schools to change their course materials stalled, so they went into classrooms directly. A high school teacher invited them to run a workshop, students spread the word, and a university later asked them for a full semester course that they had to write as the term went on. Their developer workshops are built around coding tasks that deliberately contain common traps, followed by a hacking phase in which participants attack their own solutions. A short console demo showed a quiz's input checks being bypassed, and the speakers showed how the first proposed fixes also failed.
They close by pointing to a public GitHub repository holding the workshops and course materials, and a YouTube channel with recorded lessons that is being redone with better visuals. They also mention a small path-handling library for Python and Java. The practical takeaway is to teach secure coding early, reuse the free materials, and send feedback to improve them.
Related talks
Ground Floor·22 min
Amit Srour
Shows how to find undocumented and forgotten API endpoints and reconcile them with API specifications.
Talks·52 min
Nicholas Anastasi · Juan Pablo Gomez Postigo
Shows how a trusted proxy header bypassed authentication in popular self-hosted Servarr media applications.
Talks·47 min
Akash Rajeev Bhatia · Milind Daftari
Explores how embedding security into AI-assisted coding and MCP-connected tools can reduce friction in DevSecOps pipelines.


