Lost at C: A User Study on the Security Implications of Large Language Model Code AssistantsLost at C: A User Study on the Security Implications of Large Language Model Code Assistants
The researchers conducted a security user experiment with 58 participants to evaluate the impact of large language model programming assistants on the security of code written by developers. The research background is that prior work has shown that LLMs may give code suggestions containing security vulnerabilities, and that large language models represented by OpenAI Codex are increasingly being used as programming assistants. The student programmers participating in the experiment had to implement a singly linked list "shopping list" structure in C, a task involving low-level code such as pointer and array operations. The results show that in this scenario, the proportion of AI-assisted users who wrote critical security vulnerabilities was only no more than 10% higher than the control group, and the authors accordingly conclude that using LLM programming assistants did not introduce new security risks.