Business Wire

AI-Generated Code Poses Major Security Risks in Nearly Half of All Development Tasks, Veracode Research Reveals

30.7.2025 13:50:00 CEST | Business Wire | Press Release

Share

Veracode, a global leader in application risk management, today unveiled its 2025 GenAI Code Security Report, revealing critical security flaws in AI-generated code. The study analyzed 80 curated coding tasks across more than 100 large language models (LLMs), revealing that while AI produces functional code, it introduces security vulnerabilities in 45 percent of cases.

This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20250730694951/en/

Security and Syntax Pass Rates vs LLM Release from the Veracode 2025 GenAI Code Security Report

The research demonstrates a troubling pattern: when given a choice between a secure and insecure method to write code, GenAI models chose the insecure option 45 percent of the time. Perhaps more concerning, Veracode's research also uncovered a critical trend: despite advances in LLMs’ ability to generate syntactically correct code, security performance has not kept up, remaining unchanged over time.

“The rise of vibe coding, where developers rely on AI to generate code, typically without explicitly defining security requirements, represents a fundamental shift in how software is built,” said Jens Wessling, Chief Technology Officer at Veracode. “The main concern with this trend is that they do not need to specify security constraints to get the code they want, effectively leaving secure coding decisions to LLMs. Our research reveals GenAI models make the wrong choices nearly half the time, and it’s not improving.”

AI is enabling attackers to identify and exploit security vulnerabilities quicker and more effectively. Tools powered by AI can scan systems at scale, identify weaknesses, and even generate exploit code with minimal human input. This lowers the barrier to entry for less-skilled attackers and increases the speed and sophistication of attacks, posing a significant threat to traditional security defenses. Not only are vulnerabilities increasing, but the ability to exploit them is becoming easier.

LLMs Introduce Dangerous Levels of Common Security Vulnerabilities

To evaluate the security properties of LLM-generated code, Veracode designed a set of 80 code completion tasks with known potential for security vulnerabilities according to the MITRE Common Weakness Enumeration (CWE) system, a standard classification of software weaknesses that can turn into vulnerabilities. The tasks prompted more than 100 LLMs to auto-complete a block of code in a secure or insecure manner, which the research team then analyzed using Veracode Static Analysis. In 45 percent of all test cases, LLMs introduced vulnerabilities classified within the OWASP (Open Web Application Security Project) Top 10—the most critical web application security risks.

Veracode found Java to be the riskiest language for AI code generation, with a security failure rate over 70 percent. Other major languages, like Python, C#, and JavaScript, still presented significant risk, with failure rates between 38 percent and 45 percent. The research also revealed LLMs failed to secure code against cross-site scripting (CWE-80) and log injection (CWE-117) in 86 percent and 88 percent of cases, respectively.

“Despite the advances in AI-assisted development, it is clear security hasn’t kept pace,” Wessling said. “Our research shows models are getting better at coding accurately but are not improving at security. We also found larger models do not perform significantly better than smaller models, suggesting this is a systemic issue rather than an LLM scaling problem.”

Managing Application Risks in the AI Era

While GenAI development practices like vibe coding accelerate productivity, they also amplify risks. Veracode emphasizes that organizations need a comprehensive risk management program that prevents vulnerabilities before they reach production—by integrating code quality checks and automated fixes directly into the development workflow.

As organizations increasingly leverage AI-powered development, Veracode recommends taking the following proactive measures to ensure security:

  • Integrate AI-powered tools like Veracode Fix into developer workflows to remediate security risks in real time.
  • Leverage Static Analysis to detect flaws early and automatically, preventing vulnerable code from advancing through development pipelines.
  • Embed security in agentic workflows to automate policy compliance and ensure AI agents enforce secure coding standards.
  • Use Software Composition Analysis(SCA) to ensure AI-generated code does not introduce vulnerabilities from third-party dependencies and open-source components.
  • Adopt bespoke AI-driven remediation guidance to empower developers with precise fix instructions and train them to use the recommendations effectively.
  • Deploy a Package Firewall to automatically detect and block malicious packages, vulnerabilities, and policy violations.

“AI coding assistants and agentic workflows represent the future of software development, and they will continue to evolve at a rapid pace,” Wessling concluded. “The challenge facing every organization is ensuring security evolves alongside these new capabilities. Security cannot be an afterthought if we want to prevent the accumulation of massive security debt.”

The complete 2025 GenAI Code Security Report is available to download on the Veracode website.

About Veracode

Veracode is a global leader in Application Risk Management for the AI era. Powered by trillions of lines of code scans and a proprietary AI-assisted remediation engine, the Veracode platform is trusted by organizations worldwide to build and maintain secure software from code creation to cloud deployment. Thousands of the world’s leading development and security teams use Veracode every second of every day to get accurate, actionable visibility of exploitable risk, achieve real-time vulnerability remediation, and reduce their security debt at scale. Veracode is a multi-award-winning company offering capabilities to secure the entire software development life cycle, including Veracode Fix, Static Analysis, Dynamic Analysis, Software Composition Analysis, Container Security, Application Security Posture Management, Malicious Package Detection, and Penetration Testing.

Learn more at www.veracode.com, on the Veracode blog, and on LinkedIn and X.

Copyright © 2025 Veracode, Inc. All rights reserved. Veracode is a registered trademark of Veracode, Inc. in the United States and may be registered in certain other jurisdictions. All other product names, brands or logos belong to their respective holders. All other trademarks cited herein are property of their respective owners.

View source version on businesswire.com: https://www.businesswire.com/news/home/20250730694951/en/

Contacts

Press and Media:
Katy Gwilliam
Head of Global Communications, Veracode
kgwilliam@veracode.com

(c) 2024 Business Wire, Inc., All rights reserved.

Business Wire, a Berkshire Hathaway company, is the global leader in multiplatform press release distribution.

Subscribe to releases from Business Wire

Subscribe to all the latest releases from Business Wire by registering your e-mail address below. You can unsubscribe at any time.

Latest releases from Business Wire

Venture Global and ConocoPhillips Announce 20-Year LNG Sales and Purchase Agreement1.10.2026 22:30:00 CEST | Press Release

Today, Venture Global, Inc. (NYSE: VG) and ConocoPhillips (NYSE: COP) announced a new, long-term Sales and Purchase Agreement (SPA) for liquefied natural gas (LNG). Under the SPA, ConocoPhillips will buy 1.0 million tonnes per annum (MTPA) of LNG from Venture Global for 20 years, starting in 2030. "Venture Global is proud to welcome ConocoPhillips, one of the world's leading energy companies, as a long-term partner," said Venture Global CEO Mike Sabel. "This agreement reflects continued market confidence in our proven ability to deliver reliable, low-cost U.S. LNG quickly and at scale. We look forward to supporting ConocoPhillips' growing global LNG portfolio for decades to come." About Venture Global Venture Global is an American producer and exporter of low-cost U.S. liquefied natural gas (LNG) with over 100 MTPA of capacity in production, construction, or development. Venture Global began producing LNG from its first facility in 2022 and is now one of the largest LNG exporters in th

UL Solutions Inc. Completes Acquisition of Eurofins Scientific’s Electrical & Electronics Business1.10.2026 22:05:00 CEST | Press Release

UL Solutions Inc. (NYSE: ULS), a global leader in applied safety science, today announced it has completed the acquisition of the electrical and electronics (E&E) business of Eurofins Scientific SE. “This acquisition extends our 132-year commitment to our mission of working for a safer world,” said President and CEO Jennifer Scanlon. “We are thrilled to welcome our new colleagues to UL Solutions. By bringing together complementary expertise and capabilities, we are expanding our global footprint, enhancing our TIC services for electrical safety and connected products, and adding services that support customers around the world.” Eurofins’ E&E business provides testing, compliance and certification services that support global market access for electromagnetic compatibility and wireless testing, electrical safety, medical devices and other technologies. The acquisition adds laboratories and accreditations in EMEA, Asia and the United States to UL Solutions’ global network. About UL Solu

Barnes Aerospace Acquires ATL Turbine Services, Establishing First Aeroengine Component Repair Operation in Europe1.10.2026 20:50:00 CEST | Press Release

Barnes Aerospace, a global provider of component engineering, manufacturing and repair solutions for the aerospace industry, today announced the acquisition of ATL Turbine Services Ltd. ("ATL Turbine Services"), a Dundee, Scotland-based specialist in the refurbishment and repair of hot-section gas turbine components, marking Barnes Aerospace's first dedicated component repair and overhaul presence in Europe. The acquisition establishes Barnes Aerospace's initial Component Repair and Overhaul (CRO) footprint in Europe, expanding the company's aftermarket presence and strengthening its ability to serve customers in the region. ATL Turbine Services brings established in-region repair, assessment, coating, and engineering capabilities that complement Barnes Aerospace's existing global repair network and broaden the company's ability to support customers throughout the turbine engine component lifecycle. "Establishing our Component Repair and Overhaul presence in Europe is an important part

Netmore Named Smart Company of the Year at the Premios iAgua 20261.10.2026 19:00:00 CEST | Press Release

Netmore Group, the leading network operator and platform provider for Massive IoT, today announced it has been named Empresa Smart del Año — Smart Company of the Year — at the Premios iAgua 2026, the awards of iAgua, the Spanish-speaking water sector's leading media platform. The award was presented at the closing gala of the Spain Smart Water Summit, held at the Meliá Avenida América in Madrid. The award recognises a company that has taken an unusual route into water. Netmore is not a technology firm that added connectivity to its portfolio: it is a network operator that decided to specialise in the water cycle. In eighteen months, it has completed four acquisitions and become the world's largest LoRaWAN® network operator, with more than eighteen million IoT devices under contract across more than fifty countries. Its commitment to Spain took concrete form with the acquisition of Arson Metering, the Bilbao-based remote reading specialist, which brings a portfolio of more than 500,000

Elliptic Sets the Engineering Bar for On-Chain Risk With “Built for Compliance” Paper as New Rules Take Hold and Banks Launch a Joint Stablecoin1.10.2026 15:40:00 CEST | Press Release

Elliptic, the global leader in on-chain risk management, today published Built for compliance, a paper setting out the nine engineering decisions that determine whether an on-chain risk system can support fast, accurate and defensible compliance decisions at agentic scale. Machines are already moving money on their own, at machine speed. Compliance teams now have to make hundreds of thousands of decisions a day, at that same speed. However, many on-chain risk systems were never engineered to support that pace. A compliance system that computes exposure on a schedule delivers stale results. One that defines blockchain coverage loosely enough lets a screening miss exposure entirely. A system that skips testing disaster recovery, a spike or an outage, takes down the customer’s compliance system too. That gap between machine speed and system design is exactly what regulators are now closing. As US regulators put together market-structure regulation, the GENIUS Act's stablecoin rules take h

In our pressroom you can read all our latest releases, find our press contacts, images, documents and other relevant information about us.

Visit our pressroom
World GlobeA line styled icon from Orion Icon Library.HiddenA line styled icon from Orion Icon Library.Eye