Supporting Students in Navigating LLM-Generated Insecure Code
Jaehwan Park, Kyungchan Lim, Seonhye Park, Doowon Kim

TL;DR
This paper introduces Bifröst, an educational framework that enhances students' ability to identify and analyze insecure code generated by large language models in AI-assisted software development.
Contribution
It presents a novel integrated educational tool combining a VS Code extension, adversarial LLMs, and feedback to improve security awareness in AI-augmented coding.
Findings
Students showed increased skepticism towards LLM-generated code after using Bifröst.
Classroom deployment revealed students' vulnerability to insecure code.
Post-intervention survey indicated improved security evaluation skills.
Abstract
The advent of Artificial Intelligence (AI), particularly large language models (LLMs), has revolutionized software development by enabling developers to specify tasks in natural language and receive corresponding code, boosting productivity. However, this shift also introduces security risks, as LLMs may generate insecure code that can be exploited by adversaries. Current educational approaches emphasize efficiency while overlooking these risks, leaving students underprepared to identify and mitigate security issues in AI-assisted workflows. To address this gap, we present Bifr\"ost, an educational framework that cultivates security awareness in AI-augmented development. Bifr\"ost integrates (1) a Visual Studio Code extension simulating realistic environments, (2) adversarially configured LLMs that generate insecure code, and (3) a feedback system highlighting vulnerabilities. By…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Software Engineering Research · Advanced Malware Detection Techniques
