Abstract
dc:description.abstractThe increasing complexity of software systems necessitates robust vulnerability detection mechanisms. This thesis explores Chain of Thought (CoT) reasoning, detecting line-level vulnerability using the LineVul model, and the generation of augmented data using the NatGen tool to evaluate the robustness of large language models (LLMs) for detecting vulnerabilities in code. CoT prompts are designed to elicit step-by-step reasoning in LLMs, aiding in vulnerability detection tasks that require complex code understanding. We explore the potential of LLMs in understanding, reasoning, and predicting code vulnerabilities through the usage of the CoT prompting technique and augmented dataset. Despite the demonstrated effectiveness of these models, our analysis reveals significant challenges in their robustness, particularly in distinguishing buggy from fixed code and accurately identifying vulnerability types. We introduce the LineVul model, a state-of-the-art transformer-based approach that improves line-level vulnerability detection using our cleaned datasets generated by the ActiveClean method. ActiveClean employs active learning to create high-quality line-level vulnerability data, significantly enhancing the detection capabilities of LineVul model. Our evaluations show that the integration of these models and techniques results in improved performance in identifying critical security vulnerabilities in software systems and advancing the field of software security. Our replication package is located at https://figshare.com/s/24819ff5706133596bee.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- thesis
- Discipline thesis:degree_discipline
- Computer science
- Department dc:contributor.department
- Department of Computer Science
- Grantor
- Iowa State University
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Alam, Mirza Sanjida
- Advisors dc:contributor.advisor
-
- Le, Wei
- Li, Yang
- Stevens, Clay
- ORCID dc:identifier.orcid
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/8zn7D9Ww