<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">

CodeWars: Using LLMs for vulnerability analysis in cybersecurity education

dc.contributor.authorChaudhary, Arunima
dc.contributor.authorColombo, Gualtiero
dc.contributor.authorJaved, Amir
dc.contributor.authorHaseeb, Junaid
dc.contributor.authorKumar, Vimal
dc.contributor.authorLarsen, Richard
dc.date.accessioned2026-05-13T03:12:26Z
dc.date.available2026-05-13T03:12:26Z
dc.date.issued2026-03-21
dc.description.abstractLarge Language Models (LLMs) are increasingly explored as tools for software development and could further constitute a supplementary source for the development of varied examples intended for pedagogical use. While they can improve productivity, their ability to produce code that is both secure and compliant with Secure Software Development (SSD) practices remains uncertain, raising concerns about their role in cybersecurity education. If LLMs are to be integrated effectively, students must be trained to critically evaluate generated code for correctness and vulnerabilities, raising an important question: How can LLM-generated code be effectively and securely incorporated into Cybersecurity education for teaching vulnerability analysis? This paper introduces CodeWars, a novel teaching methodology that combines LLM-generated and human-written code to examine how students engage with vulnerability detection tasks. CodeWars was implemented as a pilot study with a total of 32 students at Cardiff University and the University of Waikato, where students analyzed flawed, secure, and mixed-origin code samples. By comparing student approaches, analysis, and perceptions, the study provides insights into how vulnerabilities are detected, how code origins are distinguished, and how SSD practices are applied. Our analysis of student feedback and interviews indicates that Codewars produced structured and accessible code, simplifying vulnerability identification and offering educators the means to efficiently develop varied SSD teaching applications. These findings illuminate both the advantages and constraints of employing LLMs in secure coding and position this study as a foundational step toward the responsible adoption of AI in Cybersecurity Education.
dc.identifier.citationChaudhary, A., Colombo, G., Javed, A., Haseeb, J., Kumar, V., & Larsen, R. (2026). CodeWars: Using LLMs for vulnerability analysis in cybersecurity education. Journal of The Colloquium for Information Systems Security Education, 13(1), Article 224. https://doi.org/10.53735/cisse.v13i1.224
dc.identifier.doi10.53735/cisse.v13i1.224
dc.identifier.eissn2641-4554
dc.identifier.issn2641-4546
dc.identifier.urihttps://hdl.handle.net/10289/18276
dc.language.isoen
dc.publisherThe Colloquium for Information Systems Security Education
dc.relation.isPartOfJournal of The Colloquium for Information Systems Security Education
dc.rightsAttribution 4.0 Internationalen
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/
dc.subjectcomputer science
dc.subjectcybersecurity education
dc.subjectcybersecurity pedagogy
dc.subjectGenAI
dc.subjectLarge Language Models
dc.subjectsecure software development
dc.subjectvulnerability analysis
dc.subject.anzsrc20203901 Curriculum and Pedagogy
dc.subject.anzsrc202046 Information and Computing Sciences
dc.subject.anzsrc202039 Education
dc.subject.anzsrc20204612 Software Engineering
dc.subject.sdg4 Quality Education
dc.titleCodeWars: Using LLMs for vulnerability analysis in cybersecurity education
dc.typeJournal Article
dspace.entity.typePublicationen

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
CISSE_Waikato_and_Cardiff(1).pdf
Size:
684.56 KB
Format:
Adobe Portable Document Format
Description:
Accepted version

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
82 B
Format:
Plain Text
Description: