← Founder Notes
Archive

Ai-generated code is measurably worse at security and we're shipping it anyway. veracode puts the…

Yethikrishna ROriginal on Threads

ai-generated code is measurably worse at security and we're shipping it anyway. veracode puts the security pass rate at 56%, apiiro found cvss 7+ flaws at 2.5x the rate of human code, and hallucinated package names spawned a supply-chain attack called slopsquatting.

the review loop became the whole security model.

Context

Verified source: Veracode's 2026 GenAI Code Security Report, dated Jul 27, 2026, tested 11 new models on 80 tasks and puts the average security pass rate across more than 100 models at 56%, barely changed from 55% in its first report. Veracode's blog says about 44% of tasks introduced a risky vulnerability.

The Next Web (Jul 28) reports the same 56% figure.

How it compares

The 56% pass rate matches Veracode, though the report is from July and the figure has been flat for two years rather than newly measured. Apiiro's finding of CVSS 7-plus flaws at 2.5 times the human rate, and the slopsquatting supply-chain attack, were not seen in the sources read, so unsupported here, not refuted. 'Measurably worse' is Veracode's own framing of a flat rate. Veracode sells code security tools. 'The review loop became the whole security model' is the author's opinion.

Related work

Watch next

  • Look up Apiiro's research for the 2.5x figure and a primary source for slopsquatting.

Sources

  1. 2026 GenAI Code Security Report: 100+ Models Tested, Veracodeveracode.com
  2. 2026 GenAI Code Security: Syntax is Solved, Security is Not, Veracodeveracode.com
  3. AI writes half our code now. It still fails security tests 44% of the time, The Next Webthenextweb.com

Provenance

The note above is reproduced unedited from the original post, first published on Threads on 1 October 2026 at 02:05 IST. Sources are the papers and datasets the note draws on.

View the original post
Embed this note
<iframe src="https://founder.myndlabs.tech/notes/embed/ai-generated-code-is-measurably-worse-at-security-Dd7NMe0Dezv" width="480" height="420" style="border:0;max-width:100%" loading="lazy" title="Ai-generated code is measurably worse at security and we're shipping it anyway. veracode puts the…"></iframe>

More notes