The Security Problem with AI-Generated Code. Here's What to Do About It

Nov 23, 2026

AI is writing more and more of the code teams commit, but the security of that code has barely moved. In this conversation from Veracode's webinar "The Code Is Fine. The Security Isn't.", Veracode co-founder Chris Wysopal and Jim Manico, founder of Manicode Security, talk about what Veracode's 2026 GenAI Code Security Report found and what security teams can do about it.

In this video:

  • What a 56% average security pass rate across 100+ AI models really means
  • Why AI gets syntax almost perfect but security still fails
  • Why AI-generated patches can fail too
  • How to write security prompts that work
  • Why deterministic tools like SAST and SCA matter more than ever
  • What hybrid SAST adds to verification
  • The first things a CISO or AppSec leader should do

🔗 Read the 2026 GenAI Code Security Report: https://www.veracode.com/resources/analyst-reports/2026-genai-code-security-report

A note on the patches discussed in this video: the AI patches that break are not from AI trained specifically to secure code. Veracode Fix is responsible-by-design AI made specifically for patching code, with fix suggestions grounded in expert-curated data and designed by security experts.

🔗 Veracode Fix: https://www.veracode.com/products/fix/

Deterministic tools Jim mentions in the video:
🔗 Veracode Static Analysis (SAST): https://www.veracode.com/products/binary-static-analysis-sast/
🔗 Veracode Software Composition Analysis (SCA): https://www.veracode.com/products/software-composition-analysis/
🔗 The Hybrid SAST Intelligence Stack: https://www.veracode.com/resources/infographics/hybrid-sast-ai-intelligence-stack/

Chapters:

0:00 Intro

0:25 AI code volume is the real problem

1:13 Jim's reaction to the 56% pass rate

2:03 How Veracode tested 100+ AI models

4:25 Why syntax works but security doesn't

5:23 Not all models are the same

6:43 When AI patches fail too

8:51 Intent-based coding and security prompts

10:05 Why deterministic tools still matter

11:32 AI SAST and deterministic verification

13:08 The security token furnace

14:44 The first three things a CISO should do

💡 Subscribe for more insights on Application Security, AI Coding, and DevSecOps.

#applicationsecurity #aicoding #devsecops