AI-Augmented Vulnerability Detection and Patching
dc.contributor.author | Mishra, Poornaditya | |
dc.contributor.advisor | Eshete, Birhanu | |
dc.date.accessioned | 2024-09-19T16:06:48Z | |
dc.date.issued | 2024-12-20 | |
dc.date.submitted | 2024-08-08 | |
dc.identifier.uri | https://hdl.handle.net/2027.42/195066 | |
dc.description.abstract | Software vulnerabilities remain a persistent threat, and the increasing use of AI-generated code introduces new security challenges. While Large Language Models (LLMs) excel at code generation, they often struggle to consistently produce secure code or apply targeted vulnerability fixes. This work proposes a novel system that bridges this gap by combining the strengths of graph-based deep learning and LLMs for automated vulnerability detection and patching.We first model vulnerability detection as graph representation learning via Graph Attention Network (GAT) to accurately identify vulnerabilities in code, leveraging the rich structural information encoded in Code Property Graphs (CPGs) and Abstract Syntax Trees (ASTs). Our system then leverages the GAT's predictions to guide an LLM, providing both the vulnerability type and the precise location within the code requiring a patch. This targeted guidance enables the LLM to generate more secure and contextually appropriate code modifications.Through experiments on a dataset of real-world vulnerable code, we demonstrate the effectiveness of our approach in detecting critical vulnerabilities like SQL injection and session hijacking. We further evaluate the quality of the LLM-generated patches, showing a significant improvement in security when guided by our system. This research paves the way for more secure and reliable AI-assisted software development by integrating deep learning-based vulnerability analysis with the generative capabilities of LLMs. | en_US |
dc.language.iso | en_US | en_US |
dc.subject | Generative AI | en_US |
dc.subject | Cybersecurity | en_US |
dc.subject | Large Language Model | en_US |
dc.subject.other | Computer Science | en_US |
dc.subject.other | Computer and Information Science | en_US |
dc.subject.other | Artificial Intelligence | en_US |
dc.title | AI-Augmented Vulnerability Detection and Patching | en_US |
dc.type | Thesis | en_US |
dc.description.thesisdegreename | Master of Science (MS) | en_US |
dc.description.thesisdegreediscipline | Artificial Intelligence, College of Engineering & Computer Science | en_US |
dc.description.thesisdegreegrantor | University of Michigan-Dearborn | en_US |
dc.contributor.committeemember | Song, Zheng | |
dc.contributor.committeemember | Maxim, Bruce | |
dc.identifier.uniqname | anroop | en_US |
dc.description.bitstreamurl | http://deepblue.lib.umich.edu/bitstream/2027.42/195066/1/Mishra_Thesis_AI_Augmented_Vulnerability.pdf | |
dc.identifier.doi | https://dx.doi.org/10.7302/24307 | |
dc.description.mapping | febc42ae-d444-43ae-98fd-dc98ee638897 | en_US |
dc.identifier.orcid | 0000-0002-5920-3465 | en_US |
dc.description.filedescription | Description of Mishra_Thesis_AI_Augmented_Vulnerability.pdf : Thesis | |
dc.identifier.name-orcid | Mishra, Poornaditya; 0000-0002-5920-3465 | en_US |
dc.working.doi | 10.7302/24307 | en_US |
dc.owningcollname | Dissertations and Theses (Ph.D. and Master's) |
Files in this item
Remediation of Harmful Language
The University of Michigan Library aims to describe its collections in a way that respects the people and communities who create, use, and are represented in them. We encourage you to Contact Us anonymously if you encounter harmful or problematic language in catalog records or finding aids. More information about our policies and practices is available at Remediation of Harmful Language.
Accessibility
If you are unable to use this file in its current format, please select the Contact Us link and we can modify it to make it more accessible to you.