Skip to content
New: free AI crawler checker. See if ChatGPT and Claude can read your site. Check now
Get a free audit
Get a free audit Contact us +91 96211 05242

Popular

Vendor dataUpdated 23 Oct 2026

56%average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test)

56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test) (2023 to 2026, Veracode, GenAI Code Security Report)

Vendor dataChecked at source, 23 Oct 2026All sizesGlobalWeb and software development · AI tools
Embed CSV JSON Source

In plain words

What this number really says

56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test) (2023 to 2026).

56%

the latest figure (2023 to 2026)

Vendor data

type of source

Why you can trust it. Veracode, GenAI Code Security Report: vendor data, a company measuring its own customers or panel.

Key facts

  • Period 2023 to 2026
  • Region Global
  • Company size All sizes
  • Next data Yearly with updates

Source: Veracode, GenAI Code Security Report, 2023 to 2026

Method and use

How it was measured, and how to use it

How it was measured
Publisher
Veracode, GenAI Code Security Report
Source type
Vendor data: A company measuring its own customers or panel
What it measures
56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test)
Data period
2023 to 2026 (ends 11 Aug 2026)
Published by the source
11 Aug 2026
In the source's words
Across more than 100 models tested since 2023, the average security pass rate remains stuck at 56%, even as syntax performance approaches perfection.
Checked at source
23 Oct 2026: Read on veracode.com 2026 report page (dated 11 Aug 2026). Vendor test; Veracode's July 2025 report gave 45% of samples failing.
Reuse
Cite with attribution. Vendor test of 100+ models on its own task set; Veracode sells code security tools.
Next expected update
Yearly with updates (Veracode, yearly with updates)
Original page
www.veracode.com: GenAI Code Security Report
Data files
CSV · JSON (stable links)
Full change log

No changes recorded yet. First checked at the source on 23 Oct 2026.

Cite this number

APA

Veracode. (2026). 56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test). Via digitaltreed, https://digitaltreed.com/statistics/web-development/ai-generated-code-security-pass-rate

MLA

"56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test)." Veracode, GenAI Code Security Report, 2023 to 2026. digitaltreed, https://digitaltreed.com/statistics/web-development/ai-generated-code-security-pass-rate.

HTML link

<a href="https://digitaltreed.com/statistics/web-development/ai-generated-code-security-pass-rate">56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test)</a> (Veracode, 2023 to 2026)
Embed the chart

This stat has no chart to embed yet. Link to this page instead: https://digitaltreed.com/statistics/web-development/ai-generated-code-security-pass-rate

FAQ

Questions about this number

What is the latest figure for AI tools (Global)?

56% average security pass rate of AI-written code across more than 100 models tested since 2023, so about 4 in 10 tasks fail (vendor test), for 2023 to 2026, according to Veracode, GenAI Code Security Report. We checked it at the source on 23 Oct 2026.

Get the numbers when they change

One email a day at most, only when a source publishes new data. No other mail.

Put this number to work

We help small and mid-size firms turn data like this into useful content, answers for customers and visibility in AI search.

Talk to us

Every number on this page was checked at its original source. Free to cite with a link to this page.