AI Forecast Tracker
← Back to forecasts

AI Is Writing Code That Will Break the Internet

Will a major publicly-disclosed security breach or outage be directly attributed to AI-generated code by end of 2027?

If your company deploys AI-generated code, you're running a security experiment whether you know it or not.

Target: Dec 2027(398 days until resolution)
Assessed Probability
78%
Very likely
Based on 1 expert predictions, 9 evidence items
Community Forecast
Cast your vote
Be the first to weigh in below

Your Prediction

Where do you think this lands?

Join others who've weighed in

5%95%
50% — More likely than not
AI writes code faster; the open question is what happens when some of that code fails in production. In Veracode's Summer 2026 dataset the best model it tested, GPT-5.5, passed 68% of its security tests, so about 1 in 3 samples from the strongest model tested still failed. Opsera's benchmark of 250,000+ developers: AI code introduces 15-18% more security vulnerabilities than human-written code. Cortex.io's Engineering Benchmark: incident rate per PR up 23.5%, change failure rate up 30% at AI-heavy teams. And 69% of developers have already found AI-introduced vulnerabilities in their systems - 1 in 5 report material business impact. Meanwhile 'vibe coding' has gone mainstream: non-programmers ship full-stack apps they can't read or audit through Vercel v0, Replit and Lovable (reportedly valued at $13.3B in August 2026). Headline incidents already exist - Amazon's March 2026 retail outages, about 16,000 Supabase-hosted databases left exposed (UpGuard via TechCrunch, September 2026) - but none has been attributed primarily to AI-generated code by the affected company. Amazon said AI coding was not the source, Supabase said customers control their own configuration, and Microsoft said its November 12-13 Microsoft 365 outage, which hit millions of users, was 'not related to cyber or AI / agents'. The question is how long before an incident clears both bars: 1M+ users or $100M+ in damage, and attribution to AI code.

Scenarios

Current value: 69% of developers found AI-introduced vulnerabilities; 1 in 5 had material business impact. Headline incidents exist (Amazon outages, March 2026; ~16,000 exposed Supabase databases, September 2026; Microsoft 365 outage, November 2026), but none attributed primarily to AI-generated code by the affected company, and Microsoft explicitly ruled out AI.

S-curve position: Pre-attribution - incidents are accumulating but none has yet met the attribution bar

Bear Case

No major incident (security scanning improves faster, AI code stays in non-critical paths)

Base Case

1-2 significant incidents, at least one making mainstream news, by end 2027

Bull Case

Multiple major breaches by mid-2027 (vibe-coded apps in production, supply chain attack via AI-generated dependency)

How We'll Know

What we measure
Whether a major security breach, data leak, or service outage is publicly attributed primarily to AI-generated or AI-assisted code
Confirmed if
A publicly-disclosed security incident affecting 1M+ users or causing $100M+ in damages is attributed primarily to AI-generated code
Refuted if
No major incident is attributed to AI code through end 2027, despite widespread AI code deployment
Data sources
  • CVE database
  • NIST National Vulnerability Database
  • Major breach disclosure reports
  • Veracode / Opsera annual security reports
  • News coverage of AI-attributed incidents

Evidence Trail

Evidence For

  • Mar 9, 2026

    Veracode 2026: only 55% of AI code secure. BaxBench: best model (Claude Opus 4.5) secure only 56% of the time. Opsera (250K+ devs): 15-18% more vulnerabilities. Cortex.io: incident rate per PR up 23.5%, change failure rate +30%. 69% of developers found AI vulnerabilities, 1 in 5 had material business impact. Sonar: Opus 4.6 has 21% more issue density than Opus 4.5. 'Architecture by Autocomplete' producing unnecessary micro-abstractions and N+1 query bugs.→ Probability: 60%

  • Mar 9, 2026

    Vibe coding going mainstream — VibeKode conference in Munich (June 2026). Lovable ($300M), Vercel v0, Replit enabling non-programmers to ship full-stack apps. 57% of orgs using AI for multi-step engineering workflows. Claude Code authors 4% of all GitHub commits (~135K/day). AI-authored production code at 26.9% and growing. The attack surface is expanding faster than security tooling can keep up.→ Probability: 65%

  • Apr 10, 2026

    AI-generated code now implicated in 1 in 5 enterprise security breaches. CVE entries attributed to AI-generated code grew from 6 in January to 15 in February to 35+ in March 2026 — exponential trajectory. Amazon's 6-hour outage in March 2026 affecting 6.3M orders was linked to AI code defects. Claude Code CVE disclosed in April 2026 enabling remote code execution. Independent research shows AI code carries 2.74x more XSS vulnerabilities and 86% fails injection defense. The 'major incident' threshold may already be met by the Amazon outage alone; the CVE trajectory suggests more are coming in 2026. Maximum allowed 30-day probability delta (+0.10) justified by the combination of incident severity, CVE exponential growth, and disclosed CVE against the tool writing the most AI code.→ Probability: 75%

  • May 30, 2026

    W22 — MSR 2026 (Mining Software Repositories conference, peer-reviewed) published the first large-scale quantification of AI agentic CI failure: 11,771 GitHub PRs analyzed (7,619 AI-generated, 4,152 human-authored), AI agents introduce 79.15% of CI failures while performing only 60.63% of corresponding fixes — net negative failure balance. AI fixes are 4x faster (17.23 min vs 71.70 min median) but the imbalance means cumulative reliability degrades with AI authorship intensity. UK AISI confirmed two frontier models (Mythos Preview 73%, GPT-5.5 71.4%) can autonomously execute end-to-end 32-step corporate network intrusion simulations on first attempt — an offensive-capability data point separate from but compounding with defensive-code-quality concerns. The mechanistic case for the prediction now has peer-reviewed evidence: it is no longer "vendors and surveys disagree" but "the peer-reviewed conference paper says AI introduces more bugs than it fixes."→ Probability: 77%

  • Jul 18, 2026

    Six-month revision sweep: Cortex's incident-rate prediction rose to 0.75. The 43%-need-production-debugging survey (500+ orgs) and OpenAI's SWE-bench Pro integrity audit (~30% of tasks broken) both feed the core thesis: AI-generated code volume is growing faster than the industry's capacity to verify it.

  • Sep 5, 2026

    New Relic / Hanover Research, State of AI Coding 2026 (n=200, US tech decision-makers, manager+): 82% of organisations experienced a major production failure tied to AI-generated code in the past six months; 78% report a rising incident rate; 74% say at least 25% of AI code needs significant post-deployment rework; AI code shows ~1.7x more critical runtime issues than peer-reviewed human code - against 94% of the same leaders rating AI code higher quality at review time. https://newrelic.com/blog/ai/state-of-ai-coding-2026

Evidence Against

  • Mar 9, 2026

    Major platforms adding security scanning before deployment. AI security tools (BugBot, Snyk AI) improving. Companies may keep AI code out of critical paths. The 'major incident' threshold ($100M+ or 1M+ users) is high — many smaller incidents may happen without crossing it.

  • Oct 24, 2026

    W43 rotation: another month without an incident meeting both legs of confirmed_if - a disclosed incident affecting 1M+ users or causing $100M+ in damage, attributed primarily to AI-generated code. The largest recent exposure, about 16,000 Supabase-hosted databases leaking names, addresses, phone numbers and passwords (UpGuard via TechCrunch, September 25), named no single 1M-user app and was not attributed to AI code by UpGuard; Supabase's security chief said projects are 'secure by default' and customers control their own configuration. TechCrunch tied the wave to vibe coding, so exposure is growing even as attribution stays unmet. https://techcrunch.com/2026/09/25/some-supabase-customers-are-publicly-exposing-reams-of-peoples-data-to-the-web/→ Probability: 80%

  • Nov 14, 2026

    W46 rotation, -0.02 to 0.78. The largest incident of the window, the Microsoft 365 outage that began November 12 and took down Outlook, Teams and Copilot for millions of users for roughly a day, clears the scale leg of confirmed_if, and after online speculation about AI Microsoft traced it to 'an issue during an earlier network capacity upgrade' and called it 'a technical issue not related to cyber or AI / agents' https://www.windowslatest.com/2026/11/14/microsoft-is-begging-you-not-to-blame-ai-for-the-microsoft-365-outage-insisting-it-was-a-botched-network-upgrade/ https://www.kuow.org/technology/2026-11-13/microsoft-says-outage-not-caused-by-ai-or-cyber-attack. The window's AI-coding exposure, Grok Build apps leaking data from thousands of users (Claroc via Engadget, November 11), came from how the platform generated app links and fell far short of 1M users https://www.engadget.com/2313187/grok-build-leaked-sensitive-spacexsi-data/. After Amazon in March, this is the second scale-qualifying big-tech incident where AI was suspected and the company formally ruled it out, which keeps attribution as the binding constraint.→ Probability: 78%

How Our View Evolved

  • Nov 14, 202680%↓78%

    W46 rotation, -0.02 to 0.78. Microsoft's November 12-13 Microsoft 365 outage met the scale bar and drew AI speculation, and Microsoft named a network capacity upgrade and ruled out 'AI / agents', the second such denial after Amazon in March; nothing in the window met the attribution leg.

  • Oct 24, 202682%↓80%

    W43 rotation, -0.02 to 0.80, time decay: another month without an incident meeting both legs of the criterion (1M+ users or $100M+ damage, attributed primarily to AI-generated code). The largest recent exposure, about 16,000 Supabase-hosted databases (UpGuard via TechCrunch, September 25), named no single 1M-user app and was not attributed to AI code. Exposure is growing, which keeps the step small.

  • Oct 3, 202682%→82%

    W40 rotation - HOLD at 0.82. September's AI-platform outages, including OpenAI's September 25 Codex incident (a backend key error), carry no attribution to AI-generated code; attribution remains the binding constraint, since companies have little incentive to make it.

  • Sep 5, 202679%↑82%

    +0.03 to 0.82. New Relic/Hanover Research (n=200 US engineering and IT decision-makers, manager and above) put field numbers on the mechanism this topic has been tracking through benchmarks: 82% of organisations hit at least one major production failure tied to AI-generated code in the past six months, 78% report a measurable incident-rate rise, 74% say a quarter or more of AI code needs significant post-deployment rework, and AI code carries roughly 1.7x the critical runtime issues of peer-reviewed human code. The finding that matters most for this topic is the contradiction inside the same survey: 94% of those leaders rate AI code higher quality at review time. Review-time quality and runtime behaviour have decoupled, which is precisely the condition under which a major incident gets shipped past human review. Held to +0.03 because this is survey data on self-reported incidents, not a disclosed breach attributed to AI code - the resolution bar itself remains unmet.

  • Jul 18, 202677%↑79%

    +0.02 → 0.79. Revision sweep: incident-rate prediction up to 0.75; AI code volume outrunning verification capacity.

  • May 30, 202675%↑77%

    +0.02 → 0.77. MSR 2026 peer-reviewed study (11,771 GitHub PRs) puts the first conference-paper number on the mechanism: AI agents introduce 79.15% of CI failures and fix only 60.63% at 4x faster speed — a net negative balance that compounds with deployment intensity. UK AISI separately confirmed two frontier models execute end-to-end 32-step corporate cyber chains autonomously (Mythos 73%, GPT-5.5 71.4%). The "vendors disagree" framing of code-quality concerns is now retired by independent peer-reviewed evidence.

  • Apr 10, 202665%↑75%

    CVE trajectory 6→15→35 over Jan/Feb/Mar 2026 (exponential). Amazon 6.3M-order outage linked to AI code defects. Claude Code CVE disclosed April 2026 (remote code execution). 1 in 5 enterprise breaches now involve AI-generated code. Applied maximum +0.10 delta for 30-day window — the Amazon incident alone may already meet the major-incident threshold.

  • Mar 9, 2026Initial assessment: 65%

    Baseline — initial published assessment. Based on Veracode, Cortex.io, Opsera security data and vibe coding trend.

What Experts Say

Cortex.io (Engineering Benchmark Report 2026)

Engineering Intelligence Platform

Track record: 6/10
“AI-heavy engineering teams experience 23.5% higher incident rates per pull request and approximately 30% higher change failure rates”
Feb 2026 | industry_report
We assess this claim as 75% likely

What Could Go Wrong

Security scanning tools improve fast enough to catch AI-generated vulnerabilities before production. The explosion happens at a company too small to make headlines. AI code stays concentrated in internal tools and non-critical features where breaches don't matter.

What should we track about this topic?