Assessing the Security of GitHub Copilot Generated Code -- A Targeted Replication Study
Not on the map. Why?
Abstract (arXiv)
AI-powered code generation models have been developing rapidly, allowing developers to expedite code generation and thus improve their productivity. These models are trained on large corpora of code (primarily sourced from public repositories), which may contain bugs and vulnerabilities. Several concerns have been raised about the security of the code generated by these models. Recent studies have investigated security issues in AI-powered code generation tools such as GitHub Copilot and Amazon CodeWhisperer, revealing several security weaknesses in the code generated by these tools. As these tools evolve, it is expected that they will improve their security protocols to prevent the suggestion of insecure code to developers. This paper replicates the study of Pearce et al., which investigated security weaknesses in Copilot and uncovered several weaknesses in the code suggested by Copilot across diverse scenarios and languages (Python, C and Verilog). Our replication examines Copilot security weaknesses using newer versions of Copilot and CodeQL (the security analysis framework). The replication focused on the presence of security vulnerabilities in Python code. Our results indicate that, even with the improvements in newer versions of Copilot, the percentage of vulnerable code suggestions has reduced from 36.54% to 27.25%. Nonetheless, it remains evident that the model still suggests insecure code.
Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Nov 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 7; 2025: 14; 2026: 5.
26 papers.
Sort:
By area:
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 46
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarioscited by 18
- 2025"Your AI, My Shell": Demystifying Prompt Injection Attacks on Agentic AI Coding Editorscited by 15
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarioscited by 14
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 10
- 2025SandboxEval: Towards Securing Test Environment for Untrusted Codecited by 10
- 2025RESCUE: Retrieval Augmented Secure Code Generationcited by 7
- 2025On LLMs' Internal Representation of Code Correctnesscited by 5
- 2025Code Readability in the Age of Large Language Models: An Industrial Case Study from Atlassiancited by 4
- 2025SCGAgent: Recreating the Benefits of Reasoning Models for Secure Code Generation with Agentic Workflowscited by 4
- 2024TaskEval: Assessing Difficulty of Code Generation Tasks for Large Language Modelscited by 3
- 2025Model Science: getting serious about verification, explanation and control of AI systemscited by 3
14 more
- 2025Is Your Prompt Poisoning Code? Defect Induction Rates and Security Mitigation Strategiescited by 3
- 2024A Comprehensive Framework for Evaluating API-oriented Code Generation in Large Language Modelscited by 2
- 2024Developer Perspectives on Licensing and Copyright Issues Arising from Generative AI for Software Developmentcited by 2
- 2026DeepGuard: Secure Code Generation via Multi-Layer Semantic Aggregationcited by 2
- 2024DeepCodeProbe: Towards Understanding What Models Trained on Code Learncited by 1
- 2025The Role of GitHub Copilot on Software Development: A Perspective on Productivity, Security, Best Practices and Future Directionscited by 1
- 2025On Developers' Self-Declaration of AI-Generated Code: An Analysis of Practicescited by 1
- 2025Risks of AI-driven product development and strategies for their mitigationcited by 1
- 2025DualGauge: Automated Joint Security-Functionality Benchmarking of Specification-Only Code Generation by LLMs and Coding Agentscited by 1
- 2026SecureForge: Finding and Preventing Vulnerabilities in LLM-Generated Code via Prompt Optimizationcited by 1
- 2025How Do Semantically Equivalent Code Transformations Impact Membership Inference on LLMs for Code?cited by 0
- 2026Security of LLM-generated Code: A Comparative Analysiscited by 0
- 2026Beware EviLLM: Enabling Vulnerability Injection via Large Language Modelscited by 0
- 2026Where Did the Repair First Go Wrong? Localizing the Origins of Silent Failures in Agentic Vulnerability Repaircited by 0
- 2026Where Did the Repair First Go Wrong? Localizing the Origins of Silent Failures in Agentic Vulnerability Repair5 Oct 2026
- 2026Beware EviLLM: Enabling Vulnerability Injection via Large Language Models2 Oct 2026
- 2026Security of LLM-generated Code: A Comparative Analysis21 May 2026
- 2026SecureForge: Finding and Preventing Vulnerabilities in LLM-Generated Code via Prompt Optimization8 May 2026
- 2026DeepGuard: Secure Code Generation via Multi-Layer Semantic Aggregation10 Apr 2026
- 2025How Do Semantically Equivalent Code Transformations Impact Membership Inference on LLMs for Code?17 Dec 2025
- 2025On LLMs' Internal Representation of Code Correctness8 Dec 2025
- 2025DualGauge: Automated Joint Security-Functionality Benchmarking of Specification-Only Code Generation by LLMs and Coding Agents24 Nov 2025
- 2025Is Your Prompt Poisoning Code? Defect Induction Rates and Security Mitigation Strategies27 Oct 2025
- 2025RESCUE: Retrieval Augmented Secure Code Generation21 Oct 2025
- 2025"Your AI, My Shell": Demystifying Prompt Injection Attacks on Agentic AI Coding Editors26 Sep 2025
- 2025Model Science: getting serious about verification, explanation and control of AI systems27 Aug 2025
14 more
- 2025SCGAgent: Recreating the Benefits of Reasoning Models for Secure Code Generation with Agentic Workflows8 Jun 2025
- 2025Risks of AI-driven product development and strategies for their mitigation28 May 2025
- 2025On Developers' Self-Declaration of AI-Generated Code: An Analysis of Practices23 Apr 2025
- 2025SandboxEval: Towards Securing Test Environment for Untrusted Code27 Mar 2025
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarios16 Mar 2025
- 2025The Role of GitHub Copilot on Software Development: A Perspective on Productivity, Security, Best Practices and Future Directions18 Feb 2025
- 2025Code Readability in the Age of Large Language Models: An Industrial Case Study from Atlassian20 Jan 2025
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Security19 Dec 2024
- 2024Developer Perspectives on Licensing and Copyright Issues Arising from Generative AI for Software Development16 Nov 2024
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios16 Oct 2024
- 2024A Comprehensive Framework for Evaluating API-oriented Code Generation in Large Language Models23 Sep 2024
- 2024TaskEval: Assessing Difficulty of Code Generation Tasks for Large Language Models30 Jul 2024
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)20 Jul 2024
- 2024DeepCodeProbe: Towards Understanding What Models Trained on Code Learn11 Jul 2024
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarioscited by 18
- 2025"Your AI, My Shell": Demystifying Prompt Injection Attacks on Agentic AI Coding Editorscited by 15
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarioscited by 14
- 2025SCGAgent: Recreating the Benefits of Reasoning Models for Secure Code Generation with Agentic Workflowscited by 4
- 2025DualGauge: Automated Joint Security-Functionality Benchmarking of Specification-Only Code Generation by LLMs and Coding Agentscited by 1
- 2026SecureForge: Finding and Preventing Vulnerabilities in LLM-Generated Code via Prompt Optimizationcited by 1
- 2026Where Did the Repair First Go Wrong? Localizing the Origins of Silent Failures in Agentic Vulnerability Repaircited by 0
- 2026Where Did the Repair First Go Wrong? Localizing the Origins of Silent Failures in Agentic Vulnerability Repair5 Oct 2026
- 2026SecureForge: Finding and Preventing Vulnerabilities in LLM-Generated Code via Prompt Optimization8 May 2026
- 2025DualGauge: Automated Joint Security-Functionality Benchmarking of Specification-Only Code Generation by LLMs and Coding Agents24 Nov 2025
- 2025"Your AI, My Shell": Demystifying Prompt Injection Attacks on Agentic AI Coding Editors26 Sep 2025
- 2025SCGAgent: Recreating the Benefits of Reasoning Models for Secure Code Generation with Agentic Workflows8 Jun 2025
- 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarios16 Mar 2025
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios16 Oct 2024
- 2025RESCUE: Retrieval Augmented Secure Code Generationcited by 7
- 2025RESCUE: Retrieval Augmented Secure Code Generation21 Oct 2025
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 10
- 2025SandboxEval: Towards Securing Test Environment for Untrusted Codecited by 10
- 2025On LLMs' Internal Representation of Code Correctnesscited by 5
- 2025Code Readability in the Age of Large Language Models: An Industrial Case Study from Atlassiancited by 4
- 2024TaskEval: Assessing Difficulty of Code Generation Tasks for Large Language Modelscited by 3
- 2025Model Science: getting serious about verification, explanation and control of AI systemscited by 3
- 2025Is Your Prompt Poisoning Code? Defect Induction Rates and Security Mitigation Strategiescited by 3
- 2024A Comprehensive Framework for Evaluating API-oriented Code Generation in Large Language Modelscited by 2
- 2024Developer Perspectives on Licensing and Copyright Issues Arising from Generative AI for Software Developmentcited by 2
- 2026DeepGuard: Secure Code Generation via Multi-Layer Semantic Aggregationcited by 2
- 2024DeepCodeProbe: Towards Understanding What Models Trained on Code Learncited by 1
- 2025The Role of GitHub Copilot on Software Development: A Perspective on Productivity, Security, Best Practices and Future Directionscited by 1
12 most cited of 15 All 15 (JSON)
- 2026Security of LLM-generated Code: A Comparative Analysis21 May 2026
- 2026DeepGuard: Secure Code Generation via Multi-Layer Semantic Aggregation10 Apr 2026
- 2025On LLMs' Internal Representation of Code Correctness8 Dec 2025
- 2025Is Your Prompt Poisoning Code? Defect Induction Rates and Security Mitigation Strategies27 Oct 2025
- 2025Model Science: getting serious about verification, explanation and control of AI systems27 Aug 2025
- 2025Risks of AI-driven product development and strategies for their mitigation28 May 2025
- 2025On Developers' Self-Declaration of AI-Generated Code: An Analysis of Practices23 Apr 2025
- 2025SandboxEval: Towards Securing Test Environment for Untrusted Code27 Mar 2025
- 2025The Role of GitHub Copilot on Software Development: A Perspective on Productivity, Security, Best Practices and Future Directions18 Feb 2025
- 2025Code Readability in the Age of Large Language Models: An Industrial Case Study from Atlassian20 Jan 2025
- 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Security19 Dec 2024
- 2024Developer Perspectives on Licensing and Copyright Issues Arising from Generative AI for Software Development16 Nov 2024
12 newest of 15 All 15 (JSON)