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

Comprehensive Analysis of More Than 100 Large Language Models Exposes Security Gaps: Java Emerges as Highest-Risk Programming Language, While AI Misses 86% of Cross-Site Scripting Threats

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/

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

Triton Partners Successfully Closes Fund 6 at €5.5 Billion Target16.3.2026 08:00:00 CET | Press release

Triton Partners today announces the successful close of its sixth flagship mid-market fund (“T6” or “the Fund”) on target at €5.5 billion, the largest fund to date for Triton. The Fund has raised capital from new and existing investors globally, underscoring the continued confidence of Limited Partners in Triton’s European mid-market strategy and the Firm’s ability to build better businesses. Triton’s Mid-Market buyout (TMM) strategy focuses on its core sectors of industrial technology, business services and healthcare. As a responsible owner of choice, T6 will invest where its market and investment insights provide an edge, positioning the firm to capitalise on attractive opportunities, supported by the Accelerator Unit, Europe’s largest value creation team. T6 seeks to maintain the strong performance of previous funds, all having achieved top quartile returns. Reflecting this consistent track record, Triton was recently named as one of three European managers in the HEC global univer

Syngenta deepens research capabilities with QuantumBasel partnership16.3.2026 08:00:00 CET | Press release

At the World Agri-Tech Innovation Summit, Syngenta, a global leader in agricultural innovation, today announced it is exploring how quantum computing can help farmers meet the growing demands of food production in a changing climate. The company has partnered with QuantumBasel, Switzerland's first commercial quantum computing hub, to apply quantum technologies to agricultural research and development. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260316646014/en/ Ion trap, which uses electromagnetic fields to confine and control ions for use as quantum bits (qubits). Farmers worldwide face mounting pressure to produce more food sustainably amid unpredictable weather and evolving pest and disease challenges. Meeting these demands requires new scientific approaches that go beyond what classical computing can deliver, particularly when it comes to understanding the complex molecular and biological systems that underpin crop sc

NTT DATA Launches GCC Innovation Acceleration Program to Support Innovation Creation by Global Companies16.3.2026 04:30:00 CET | Press release

NTT DATA, a global leader in AI, digital business and technology services, today announced the launch of its GCC Innovation Acceleration Program. This is designed to support global companies rapidly establishing and scaling their strategic offshore hubs in India, including Global Capability Centers (GCC) and other innovation and delivery hubs. Launched in October 2025, the program aims to support more than 50 companies over the next three years. The demand for highly skilled IT personnel has expanded globally, and as a result, companies are increasingly using overseas bases to meet innovation needs. NTT DATA identified India as a stand-out market to launch the GCC Innovation Acceleration Program because of its abundance of talent and strong technical capabilities. India’s Global Capability Center ecosystem, delivering IT services and back-office functions to multinationals, is poised for strong growth of nearly 70%, targeting $110 billion in 2030 from the current $65 billion, according

OXMIQ Labs and AM Intelligence Labs Partner to Architect One of the World’s Largest Renewable-Powered AI Compute Platforms16.3.2026 01:50:00 CET | Press release

Optimizing from photons to outcomes. Powered by 100% renewable energy. OXMIQ Labs (“OXMIQ”), the GPU architecture and AI technology company founded by Raja Koduri, today announced a strategic technology partnership with AM Intelligence Labs, a business division of AM Group, to provide data center and system infrastructure advisory for AM Intelligence Labs' 2 GW AI Compute Capability by 2030 with initial 1 GW AI Compute Hub in Uttar Pradesh, India. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260315355703/en/ OXMIQ and AM Intelligence Labs are building one of the world's largest renewable-powered AI compute platforms - 2 Gigawatts by 2030, Phase 1 online in Noida, India by 2027. AM Intelligence Labs is a strategic business division of AM Group, parent of Greenko, India's largest green energy producer with 50 GW of renewable capacity across solar, wind, and hydro, backed by 100 GWh of intelligent energy storage and supplying

4th Digital Engineering Awards Celebrate Global Innovators, AI Trailblazers: Herald the Rise of Engineering Intelligence14.3.2026 17:46:00 CET | Press release

Developed in association with ISG and CNBC-TV18, the fourth edition draws more than 250 nominations from 90+ global companies The Digital Engineering Awards concluded its fourth edition at Boston, Massachusetts on Thursday, honoring technology pioneers and organizations for their contributions to technology solutions and AI advancements. The gala night presented by L&T Technology Services (BSE: 540115, NSE: LTTS) along with ISG as the knowledge and research partner and CNBC-TV18 as the media partner, hosted both industry leaders and individual changemakers from 17 countries across North America, Europe, and the rest of the world. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260314443410/en/ The 4th edition of the Digital Engineering Awards, in association with ISG, CNBC-TV18 and L&T Technology Services, drew more than 250 nominations from 90+ global companies A total of 258 nominations from leading organizations and engine

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