Source Code Vulnerability Analysis GPT2

Hi all,

Not sure if this is the right subforum to ask this question, so please let me know if it is not.

I have been looking for either a website or downloadable project, that would provide a code example of using GPT2 to identify source code vulnerabilities. Do any of you know where I could find something like that? Something like VulBerta, but uses GPT2 instead of a Roberta model.

Thanks in advance.

1 Like

Hi @AIdrive ,

This is an interesting question. I don’t know of any off the top of my head (which isn’t to suggest that there aren’t any). I found two references that might be useful, but it sounds like you’re wanting something that is ready to go out of the box and doesn’t need any finetuning or training. Perhaps if the articles themselves are not useful, you might be able to contact the authors to see if they can help you out. Sorry I don’t have anything more definitive.