Skip to content

Large Language Model for Automatic Repair of Security Vulnerabilities in Python Source Code

License

Notifications You must be signed in to change notification settings

kakairesteven/PyVulRepair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyVulRepair

PyVulRepair is a Large Language Model for Automatic Repair of Single Statement Security Vulnerabilities in Python Source Code.

Python Language is one of the top programming languages and has applications in many fields. This project is to build an APR tool to repair single statement security vulnerabilities in Python Source Code.

Experimental Setup

I leverage two deep learning Python libraries i.e Transformer and PyTorch to build the PyVulRepair.

Datasets

In my experiment, I use two datasets i.e MoreFixes and STTB-3M that contain 10,000 Python Single Statement security vulnerability bugs and 3 million Python Single Statement bugs respectively.

To Replicate this work

Environment Setup

Install requirements using; pip install -r requirements.txt

About

Large Language Model for Automatic Repair of Security Vulnerabilities in Python Source Code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages