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

Venionaire Capital Mandated to Structure KISAB’s Next Growth Round19.5.2026 12:41:00 CEST | Press Release

Venionaire Capital has been mandated by Kiselkarbid i Stockholm AB (“KISAB”) to structure and support the company’s next growth round. The mandate includes investor relations, investor communications and strategic financing preparation, targeting growth private equity and strategic investors. KISAB is a Sweden-based silicon carbide semiconductor materials company focused on advanced SiC substrates for power electronics. The company publicly highlights its 8-inch BPD-free n-type silicon carbide wafers, with the 8-inch platform representing an important technological step for next-generation high-performance power electronics. KISAB has previously attracted approximately EUR 24 million across several financing rounds. Publicly named investors include Fairpoint Capital, Industrifonden and Ingka GreenTech. Venionaire Capital will now support the company in sharpening its equity story, structuring its investor dialogue and positioning the opportunity for the next phase of growth, which is t

motif Launches Clarity, a First-of-Its-Kind AI Financial Intelligence System19.5.2026 12:39:00 CEST | Press Release

motif, the AI wealth advisory company backed by Liminal (a venture creation group founded by Temasek), today launched Clarity, an AI financial intelligence system that tracks how markets, assets and financial relationships connect, and how and why they change over time, building enriched connections that deliver the kind of structured, sourced insight that financial institutions have never had, even with dedicated analyst teams. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260511241653/en/ motif Launches Clarity, a First-of-Its-Kind AI Financial Intelligence System Financial institutions integrate Clarity into their products so customers can make better-informed investment decisions, while analysts and product teams use it to track market shifts and plan accordingly. Informed investors engage more and stay longer, and for the institutions serving them, that engagement translates directly into retention and profitability. M

Axelspace Announces Launch of Seven GRUS-3 Earth Observation Microsatellites, No Earlier Than July 202619.5.2026 10:30:00 CEST | Press Release

Axelspace Corporation, a leading developer and operator of microsatellites dedicated to realizing its vision of “Space within Your Reach,” announced today that GRUS-3, a set of seven next-generation Earth observation microsatellites, is scheduled to be launched no earlier than July 2026. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260519449959/en/ Seven flight model of GRUS-3 next-generation Earth observation microsatellites ©Axelspace The seven GRUS-3 microsatellites will launch aboard the Transporter-17 rideshare mission via Exolaunch, a global leader in launch mission management, satellite integration, and deployment services, from Vandenberg Space Force Base in California, USA. We currently operate five optical Earth observation microsatellites, GRUS-1, under our Earth observation data service, AxelGlobe. With the launch of its successor, GRUS-3, it will expand its satellite constellation to more than 10 satellites. E

Money20/20 Europe Announces Powerhouse Speaker Lineup Featuring Leaders from Klarna, BBVA, ABN AMRO, Mastercard, eToro, and Revolut19.5.2026 10:10:00 CEST | Press Release

Money20/20, the world’s leading fintech show and the place where money does business, today announced a stellar line-up of speakers for Money20/20 Europe happening on June 2-4 at the RAI in Amsterdam. The show will feature 450+ speakers across six stages, exploring the forces redefining global finance through AI innovation, digital assets, and regulatory transformation. Newly confirmed speakers include some of the most influential voices shaping the future of payments, banking, and financial services: Sebastian Siemiatkowski, Co-Founder and CEO, Klarna. A pioneer in the buy now, pay later revolution, Siemiatkowski has transformed consumer payments and continues to drive innovation in embedded finance and AI-powered shopping experiences. Onur Genç, CEO, BBVA. Leading one of Europe's most digitally advanced banks, Genç is at the forefront of banking transformation, leveraging data, technology, and customer-centric strategies to redefine financial services. Marguerite Bérard, Chief Execut

Mythic Acquires Videantis, One of Europe’s Leading Digital Processor IP Companies, to Build the World’s Most Energy-Efficient AI Compute Platform19.5.2026 10:00:00 CEST | Press Release

Mythic, a pioneer in analog compute-in-memory and architect of the industry’s most energy-efficient AI acceleration technology, today announced it has acquired Videantis GmbH, one of Europe’s leading digital processor IP companies. This press release features multimedia. View the full release here: https://www.businesswire.com/news/home/20260519255958/en/ The transaction unites Mythic’s breakthrough analog compute platform with Videantis’ highly differentiated, unified digital processor architecture and production-proven software stack — accelerating Mythic’s delivery of a new class of hybrid AI compute platform with a 100x energy efficiency advantage over conventional GPU-based systems. This deal builds on Mythic’s recently announced agreement with Honda to co-develop next-generation AI chips for future vehicles — a validation of Mythic’s game-changing architecture in one of the world’s most demanding production environments. Together, the Honda collaboration and the Videantis acquisi

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