Please use this identifier to cite or link to this item: https://scholarbank.nus.edu.sg/handle/10635/248151
DC FieldValue
dc.titleANALYSIS ON LARGE LANGUAGE MODEL VULNERABLE CODE GENERATION AND SELF-REPAIR ABILITY
dc.contributor.authorKIM SUNG YONG
dc.date.accessioned2024-04-30T18:00:50Z
dc.date.available2024-04-30T18:00:50Z
dc.date.issued2023-12-19
dc.identifier.citationKIM SUNG YONG (2023-12-19). ANALYSIS ON LARGE LANGUAGE MODEL VULNERABLE CODE GENERATION AND SELF-REPAIR ABILITY. ScholarBank@NUS Repository.
dc.identifier.urihttps://scholarbank.nus.edu.sg/handle/10635/248151
dc.description.abstractThis thesis investigates Large Language Models' (LLMs) propensity to produce vulnerable code and their self-repair capabilities in coding. Analyzing a novel dataset from real-world prompts, including 751 instances of vulnerable code generated from 90 prompts by ChatGPT, the study employs Static Application Security Testing tools to examine these issues. It introduces two strategies for reducing vulnerabilities: "iteration repair," which iteratively corrects generated code, and "preshot repair," anticipating vulnerabilities to prevent insecure code generation. Implemented in "Codexity," a tool with a VS Code extension, these methods significantly reduced vulnerable code production, with "iteration repair" achieving a 60% reduction and "preshot repair" up to 36.5%. The effectiveness of these strategies is highlighted through comparisons with existing tools, demonstrating LLMs' potential to improve coding security and efficiency.
dc.language.isoen
dc.subjectlarge language model, security, static application security testing tools, code generation
dc.typeThesis
dc.contributor.departmentCOMPUTER SCIENCE
dc.contributor.supervisorAbhik Roychoudhury
dc.description.degreeMaster's
dc.description.degreeconferredMASTER OF SCIENCE (RSH-SOC)
dc.identifier.orcid0009-0008-6885-4965
Appears in Collections:Master's Theses (Open)

Show simple item record
Files in This Item:
File Description SizeFormatAccess SettingsVersion 
KimSY.pdf553.14 kBAdobe PDF

OPEN

NoneView/Download

Google ScholarTM

Check


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.