Insights

What “risky security flaws in 45% of tests” does and does not tell you

A widely quoted figure about AI-generated code, read carefully: what it says, what it leaves open, and what a buyer should ask for.

Veracode’s 2025 GenAI Code Security Report is one of the most quoted sources on AI-written software. Its page says that AI-generated code introduced risky security flaws in 45% of tests.

That is a serious finding. It is also easy to misquote, so it is worth reading slowly.

What the figure says

It describes tests. It does not say that 45% of apps are insecure, or that 45% of AI-built products will be breached. Before you repeat the number to a board or a client, open the report and read how the tests were set up. We link to it below, and we use the report’s own wording on this site for the same reason.

What a working demo does not show

When an AI tool builds an app, you can click through it and it works. That tells you the features run. It tells you nothing about:

  • whether a user can reach another user’s data;
  • whether keys and passwords are kept out of the code that ships;
  • whether anyone has restored a backup;
  • who answers the phone when it breaks.

None of these show up on a demo. All of them show up in production.

What we do about it

We use AI tools where they save time, and we put people at the points where mistakes are expensive:

  1. Requirements first. Security and access rules are written into the specification, with a way to test each one, before anything is built.
  2. Review before acceptance. A person reads every change, whichever tool wrote it.
  3. Tests against the requirements. Each requirement has a check that can fail.
  4. An owner after go-live. Someone is named and accountable.

None of this is exotic. It is what makes the difference between software that was generated and software that was delivered.

Source

If you have an app built with an AI tool and you are not sure it is ready to launch, our app rescue and audit service is designed for exactly that question.

Tell us what you need built

Describe the idea, the problem, or the app you want rescued. We reply within 2 working days.