AI-Generated Code Found to Contain Significant Security Vulnerabilities

Thumbnail Image

The information displayed in the AIM should not be reported as representing the official views of the OECD or of its member countries.

Secure Code Warrior, in collaboration with RMIT University, evaluated code generated by 16 leading AI models and found an average of 15 security vulnerabilities per codebase, including 4.3 severe ones. The study highlights predictable, recurring risks in AI-generated code, affecting enterprises using AI-assisted software development globally.[AI generated]

Why's our monitor labelling this an incident or hazard?

The article discusses the security risks inherent in AI-generated code, which could plausibly lead to harm if exploited, such as security breaches or system failures. However, it does not report any realized harm or incident resulting from these vulnerabilities. Therefore, the event fits the definition of an AI Hazard, as it highlights plausible future harm from AI system use (AI-generated code) but does not describe an actual AI Incident. It is not Complementary Information because it is a new study presenting primary findings about AI risks, not an update or response to a prior incident. It is not Unrelated or Beneficial Use, as it directly concerns AI system outputs and their security implications.[AI generated]
AI principles
Robustness & digital securitySafety

Industries
Digital securityIT infrastructure and hosting

Affected stakeholders
Business

Harm types
Economic/PropertyReputational

Business function:
Research and development

AI system task:
Content generation


Articles about this incident or hazard