AI Coding Assistants' Impact on Software Security and Quality
Emerging Technology Risk · 3 sources · Updated 5mo ago · First seen Nov 19, 2025

OpenAI's GPT-5 and GPT-5-mini models have demonstrated significant improvements in generating secure code compared to previous iterations, according to Veracode's GenAI Code Security Report. These reasoning models achieved security pass rates of 70% and 72% on a benchmark covering common vulnerabilities such as SQL injection, weak encryption, cross-site scripting, and log injection across multiple programming languages. Despite these gains, the report notes that even the best-performing models still make insecure coding choices about 30% of the time, and non-reasoning models like GPT-5-chat lag behind, highlighting the importance of reasoning steps in AI-generated code security.
While AI coding assistants can potentially enhance software security and quality, current deployment practices often result in the rapid introduction of new vulnerabilities and quality issues. Industry experts warn that the increased speed of code generation enabled by AI is exacerbating an ongoing decline in software quality, making it harder for organizations to manage and remediate bugs. The combination of faster development cycles and insufficient oversight may lead to a net-negative impact on business security and software reliability, underscoring the need for improved development models and rigorous code review processes when leveraging AI tools.
Why it matters
Impact assessment
AI coding assistants affect any organization using LLMs to generate production code, especially software vendors and internal development teams working in Java, Python, C#, and JavaScript. The primary risk is not a single exploitable product flaw but systematic introduction of common application-security weaknesses into codebases, increasing downstream exposure to data loss, application compromise, operational disruption, remediation cost, and reputational damage.
This is a broad exposure issue rather than a targeted campaign. The references do not describe active exploitation in the wild, but they do show that even top-performing models still produce insecure code roughly 28% to 30% of the time, and one formal study found 55.8% of generated artifacts contained at least one vulnerability.
Supporting facts
- Entity: Veracode released the October 2025 GenAI Code Security Report.
- Entity: ReversingLabs published analysis warning that AI-assisted development can accelerate software quality decline.
- Entity: The formal verification study is titled Broken by Default.
- Affected user population: Organizations using AI coding assistants to generate or review production code in security-sensitive domains.
- Affected languages: Java, Python, C#, JavaScript.
- Security impact areas cited: SQL injection, weak encryption, cross-site scripting, log injection.
- Veracode benchmark result: GPT-5 scored 70% secure coding rate; GPT-5-mini scored 72%.
- Residual risk: Even the best-performing models still made insecure choices about 30% of the time.
- Broader study result: 55.8% of 3,500 generated artifacts contained at least one vulnerability.
- Validation strength: 1,055 vulnerabilities were formally proven via Z3 satisfiability witnesses; six of seven representative findings were confirmed through runtime crashes using GCC AddressSanitizer.
- Scope: Industry-wide exposure tied to development workflow adoption, not a narrow vendor-specific incident.
- Known exploitation: No in-the-wild exploitation incidents were reported in the provided references.


