Prior work
What has already been published.
This study is not the first look at AI-generated code security. These are the results it builds on, attributed to the researchers who produced them.
Pearce et al., 'Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions', IEEE S&P 2022
Analysed Copilot completions across scenarios drawn from the CWE Top 25 and found a substantial proportion of generated code contained security-relevant weaknesses.
Why it matters hereThe first large systematic look at assistant-generated code. Establishes that the question is empirical rather than theoretical.
Perry et al., 'Do Users Write More Insecure Code with AI Assistants?', ACM CCS 2023
Participants with access to an AI assistant produced less secure solutions on several tasks, and were more likely to believe their code was secure than participants without one.
Why it matters hereThe confidence gap matters more than the defect rate. A developer who believes the code is fine does not review it.
OWASP Top 10 for Large Language Model Applications, 2025
Consensus categorisation of LLM application risk, including prompt injection, improper output handling, excessive agency and unbounded consumption.
Why it matters hereThe reference taxonomy we classify against, so results are comparable with other work rather than using a private scheme.
MITRE CWE Top 25 Most Dangerous Software Weaknesses
Ranked list of the weakness types most prevalent and impactful in reported vulnerabilities.
Why it matters hereClassification baseline. Using an established scheme is what makes a frequency table meaningful to anyone else.
Summaries above are our characterisation of other researchers’ work, not quotations. Read the original papers before citing them; we have linked the titles and venues so you can find them.