Show simple item record

AI-Augmented Vulnerability Detection and Patching

dc.contributor.authorMishra, Poornaditya
dc.contributor.advisorEshete, Birhanu
dc.date.accessioned2024-09-19T16:06:48Z
dc.date.issued2024-12-20
dc.date.submitted2024-08-08
dc.identifier.urihttps://hdl.handle.net/2027.42/195066
dc.description.abstractSoftware 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.isoen_USen_US
dc.subjectGenerative AIen_US
dc.subjectCybersecurityen_US
dc.subjectLarge Language Modelen_US
dc.subject.otherComputer Scienceen_US
dc.subject.otherComputer and Information Scienceen_US
dc.subject.otherArtificial Intelligenceen_US
dc.titleAI-Augmented Vulnerability Detection and Patchingen_US
dc.typeThesisen_US
dc.description.thesisdegreenameMaster of Science (MS)en_US
dc.description.thesisdegreedisciplineArtificial Intelligence, College of Engineering & Computer Scienceen_US
dc.description.thesisdegreegrantorUniversity of Michigan-Dearbornen_US
dc.contributor.committeememberSong, Zheng
dc.contributor.committeememberMaxim, Bruce
dc.identifier.uniqnameanroopen_US
dc.description.bitstreamurlhttp://deepblue.lib.umich.edu/bitstream/2027.42/195066/1/Mishra_Thesis_AI_Augmented_Vulnerability.pdf
dc.identifier.doihttps://dx.doi.org/10.7302/24307
dc.description.mappingfebc42ae-d444-43ae-98fd-dc98ee638897en_US
dc.identifier.orcid0000-0002-5920-3465en_US
dc.description.filedescriptionDescription of Mishra_Thesis_AI_Augmented_Vulnerability.pdf : Thesis
dc.identifier.name-orcidMishra, Poornaditya; 0000-0002-5920-3465en_US
dc.working.doi10.7302/24307en_US
dc.owningcollnameDissertations and Theses (Ph.D. and Master's)


Files in this item

Show simple item record

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.