Copilot Security: A User Study

08/12/2023
by   Owura Asare, et al.
0

Code generation tools driven by artificial intelligence have recently become more popular due to advancements in deep learning and natural language processing that have increased their capabilities. The proliferation of these tools may be a double-edged sword because while they can increase developer productivity by making it easier to write code, research has shown that they can also generate insecure code. In this paper, we perform a user-centered evaluation GitHub's Copilot to better understand its strengths and weaknesses with respect to code security. We conduct a user study where participants solve programming problems, which have potentially vulnerable solutions, with and without Copilot assistance. The main goal of the user study is to determine how the use of Copilot affects participants' security performance. In our set of participants (n=25), we find that access to Copilot accompanies a more secure solution when tackling harder problems. For the easier problem, we observe no effect of Copilot access on the security of solutions. We also observe no disproportionate impact of Copilot use on particular kinds of vulnerabilities.

READ FULL TEXT
research
11/07/2022

Do Users Write More Insecure Code with AI Assistants?

We conduct the first large-scale user study examining how users interact...
research
05/10/2023

Measuring the Runtime Performance of Code Produced with GitHub Copilot

GitHub Copilot is an artificially intelligent programming assistant used...
research
08/20/2022

Security Implications of Large Language Model Code Assistants: A User Study

Advances in Deep Learning have led to the emergence of Large Language Mo...
research
08/26/2023

Which is a better programming assistant? A comparative study between chatgpt and stack overflow

Programmers often seek help from Q&A websites to resolve issues they enc...
research
04/28/2023

Can deepfakes be created by novice users?

Recent advancements in machine learning and computer vision have led to ...
research
03/16/2023

MASCARA: Systematically Generating Memorable And Secure Passphrases

Passwords are the most common mechanism for authenticating users online....
research
01/26/2022

A Comparative User Study of Human Predictions in Algorithm-Supported Recidivism Risk Assessment

In this paper, we study the effects of using an algorithm-based risk ass...

Please sign up or login with your details

Forgot password? Click here to reset