Report: AI-generated code leads to security issues for most businesses

Written on Feb 09, 2024

More than half of organizations encounter security issues with AI-generated code sometimes or frequently, according to Snyk’s survey of more than 500 technology professionals.  

Developers are interested in productivity gains from AI coding assistants, but businesses could run into problems if the growing use goes unchecked. Nearly 9 in 10 developers are concerned about the broader security implications of using AI coding tools, according to the data.  

More than three-quarters of developers bypass established protocols to use code completion tools despite potential risks, according to the report. To compound the security problem, around half of organizations haven’t updated software security practices to adapt to the growing use of AI-powered coding tools.  

AI coding tools have had a rocky start down the path to widespread enterprise adoption.  

Just 1 in 4 organizations include AI as part of their software development lifecycle, according to a GitLab survey conducted in June 2023. A Google Cloud report in October characterized AI’s impact on software development as relatively minimal with respondents experiencing neutral or moderately negative effects on team and software delivery performance.  

Despite a relatively slow burn, enterprises have their sights set on AI to accelerate the development process, even as questions regarding the security and validity of generated code arise.  

Businesses across industries are exploring the technology’s potential from Papa Johns and General Motors to Vanguard and Bank of America.  

“We think there’s vast promise for AI and we’re deploying it in places, a lot of internal stuff,” Brian Moynihan, CEO at Bank of America, said during the company’s earnings call earlier this month. “There’s coders using it to continue to improve their effectiveness and learning it, but there’s still the care that has to be taken on data and usage and models and accountability.” 

When it comes to AI, enterprise interest in specific use cases is often followed by an onset of targeted solutions. The focus on AI-powered coding tools is no different as vendors, such as OpenAI, SAP, Salesforce, Anthropic, Google and Meta, have beefed up their capabilities in response.