mlsanityData to 14 Oct 2026

Assessing the Security of GitHub Copilot Generated Code -- A Targeted Replication Study

arXiv 2311.11177 ↗First posted 18 Nov 2023cs.SEcited by 26

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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 7; 2025: 14; 2026: 5.

26 papers.

Sort:

By area:

  1. 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 46
  2. 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarioscited by 18
  3. 2025"Your AI, My Shell": Demystifying Prompt Injection Attacks on Agentic AI Coding Editorscited by 15
  4. 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarioscited by 14
  5. 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 10
  6. 2025SandboxEval: Towards Securing Test Environment for Untrusted Codecited by 10
  7. 2025RESCUE: Retrieval Augmented Secure Code Generationcited by 7
  8. 2025On LLMs' Internal Representation of Code Correctnesscited by 5
  9. 2025Code Readability in the Age of Large Language Models: An Industrial Case Study from Atlassiancited by 4
  10. 2025SCGAgent: Recreating the Benefits of Reasoning Models for Secure Code Generation with Agentic Workflowscited by 4
  11. 2024TaskEval: Assessing Difficulty of Code Generation Tasks for Large Language Modelscited by 3
  12. 2025Model Science: getting serious about verification, explanation and control of AI systemscited by 3
14 more
  1. 2025Is Your Prompt Poisoning Code? Defect Induction Rates and Security Mitigation Strategiescited by 3
  2. 2024A Comprehensive Framework for Evaluating API-oriented Code Generation in Large Language Modelscited by 2
  3. 2024Developer Perspectives on Licensing and Copyright Issues Arising from Generative AI for Software Developmentcited by 2
  4. 2026DeepGuard: Secure Code Generation via Multi-Layer Semantic Aggregationcited by 2
  5. 2024DeepCodeProbe: Towards Understanding What Models Trained on Code Learncited by 1
  6. 2025The Role of GitHub Copilot on Software Development: A Perspective on Productivity, Security, Best Practices and Future Directionscited by 1
  7. 2025On Developers' Self-Declaration of AI-Generated Code: An Analysis of Practicescited by 1
  8. 2025Risks of AI-driven product development and strategies for their mitigationcited by 1
  9. 2025DualGauge: Automated Joint Security-Functionality Benchmarking of Specification-Only Code Generation by LLMs and Coding Agentscited by 1
  10. 2026SecureForge: Finding and Preventing Vulnerabilities in LLM-Generated Code via Prompt Optimizationcited by 1
  11. 2025How Do Semantically Equivalent Code Transformations Impact Membership Inference on LLMs for Code?cited by 0
  12. 2026Security of LLM-generated Code: A Comparative Analysiscited by 0
  13. 2026Beware EviLLM: Enabling Vulnerability Injection via Large Language Modelscited by 0
  14. 2026Where Did the Repair First Go Wrong? Localizing the Origins of Silent Failures in Agentic Vulnerability Repaircited by 0