Summary
Clients turned AI's speed into price cuts. AI-built code carries about four times the recorded vulnerability density of established software. And the agency's name is still on every release. This paper sets out what it now takes to prove a build is safe, then tests each way an agency can produce that proof against cost and credibility. It is written for founders and CTOs, and takes about twelve minutes.
The short version
- Proof has four parts: find the real flaws, test the running app, fix and re-test, and log it all per release. It has to come from someone other than the builder, and it has to keep up with how often you ship.
- Scanners are cheap, but they miss most of what matters. On the public RealVuln benchmark the best rule-based tool found 9.9% of known flaws, and none of the 232 broken access control flaws. On large codebases even the best general-purpose AI model found almost nothing.
- Pen tests are credible but priced for one product. Testing twelve client apps once a year would cost the agency in our first paper 40% of its post-cut profit, and a test of the perimeter can leave serious routes deeper in the code untouched.
- Doing it yourself is fast and allowed in places, but it carries little weight with the people asking, and the evidence it produces is unreliable at scale.
- No current option does all four parts, independently, on every release, at a price an agency can carry.
Your name is the product now
Agencies adopted AI because it made them faster. Clients then took the savings, and price compression turned AI from an edge into the minimum (Paper 1, Code Is Free Now. Your Business Isn't.). It came with a cost the price never accounted for. In our benchmark, apps built end to end by AI coding agents carried four times the recorded vulnerability density of established, engineer-built projects, and six times the high-severity density (Paper 2, AI Code vs Engineer Code).
For years an agency's reputation rested on something simple: experienced people wrote the code and other experienced people reviewed it. Clients rarely asked for proof, because the process was the proof. That process is what AI changed. When agents write tens of thousands of lines a day and the team that used to review them is smaller, the old guarantee no longer holds, and sooner or later a client will notice.
Four groups are starting to ask for evidence, each in its own way.
- The client wants to know the build is safe before their name goes on it.
- The client's own customers ask through procurement. Verizon's 2026 breach report found a third party involved in 48% of breaches, up from 30% a year earlier, which is why vendor questionnaires now ask for a recent penetration test report and evidence that the findings were fixed. [1] In an ISC2 survey, 77% of buyers named compliance with ISO 27001, NIST or SOC 2 as their top vendor requirement. [2]
- The insurer wants to see a reasonable security process when it prices cover, and again when it decides whether to pursue a vendor after a claim.
- A regulator or a court wants evidence that the standard of care was met before the incident, rather than repaired after it.
The agency that can answer all four keeps its reputation and can charge for it. The rest of this paper is about what that answer has to contain.
What proof looks like
Strip away the jargon and every buyer, insurer and auditor is asking for the same four things, plus one condition.
Find. Someone has gone through the code itself, dependencies included, and found the flaws that matter. That means the real problems, above all the missing ownership checks and broken access rules that AI-written code is most prone to, rather than a long list of everything that might be wrong.
Test. Someone has attacked the running application the way an outsider would, and confirmed which flaws can actually be exploited. That is a penetration test, and it is the item procurement asks for by name.
Fix. Each real finding has been fixed, and the fix has been tested again so it stays fixed. Buyers increasingly want to see this as well as the list of what was found.
Log. All of it is written down, dated and tied to a specific version of the software: what was tested, how, what was found, what was done, and what was knowingly left. This is the document a procurement officer, an insurer or a lawyer actually reads.
The condition is that someone other than the builder does it. The team that wrote the code can't be the only one that signs it off. PCI DSS requires penetration testers who are organisationally independent of the systems they test. California's 2026 rules require cybersecurity audits by an objective, independent auditor. FTC orders require independent third-party assessments. [3] Independence doesn't always mean an outside firm, but it always means someone other than the people who built it.
And it has to happen on every release. AI-assisted teams ship more often, and every release changes the code. Proof that is three months old describes software that no longer exists.
An agency has three ways to try to produce this today.
Option one: run a scanner
Scanners are the cheapest way to cover the Find step. Static analysis tools read the code and flag patterns that look dangerous. Some are free, and most cost a few thousand a year for a small team. Price isn't the problem. What they find, and what they miss, is.
They miss the flaws AI writes most. RealVuln is our benchmark of scanners on real application code: 140 repositories, 4,138 labelled vulnerabilities, and 35 scanner runs, with every label, output and scoring script published. [4] The best rule-based tool, Semgrep, found 9.9% of the known flaws. It found none of the 232 broken access control flaws and none of the 173 missing-authentication flaws, and SonarQube also found none in either family. [4] Those are the flaws AI produces most, and they are hard to catch for a simple reason: a missing ownership check isn't a dangerous-looking pattern. It is a line that should be there and isn't, and pattern-matching can't see an absence. Across all 35 runs, the median scanner missed seven in ten access control flaws. [4]
General-purpose AI models do much better on small projects. The best of them reached 81.8% recall on the benchmark corpus. [4] The trouble is size. In provisional results on much larger applications, the same leading configuration's recall fell from 80.55% on small Python apps to 1.77% on five systems of 263,000 to 816,000 lines. Six of the ten large systems tested came back with nothing at all. [4] Those results are early and cover one configuration, but the direction is clear: the model that works on a demo app doesn't hold up on a real client platform.
RealVuln v3.1, 140 repositories. Large-application results are provisional and cover one configuration.
They also bury the team in noise. Ghost Security ran traditional scanners over nearly 3,000 open-source repositories. Of 2,116 flagged issues, 180 were real, a false-positive rate above 91%. [5] The average enterprise now receives about 865,000 security alerts a year, according to OX Security's 2026 benchmark of 216 million findings. [6] For an agency that just cut its team, every false alert is read by one of the people who are left, and teams in that position tend to turn the tool down, or off.
Ghost Security, 2,116 issues flagged by traditional scanners across nearly 3,000 open-source repositories.
So a scanner is cheap and fast, but it misses most of the important flaws, raises far more false alarms than real ones, and on its own produces a list rather than proof.
Option two: buy penetration tests
A penetration test covers the Test step, and done by an outside firm it meets the independence condition. It is what procurement asks for by name. It is also where the arithmetic breaks.
A web application test from a manual firm costs $5,000 to $30,000 in 2026. Most engagements land between $10,000 and $30,000, and Synack puts the average at about $18,300. [7] Delivery typically takes two to four weeks from kick-off to report, and rushing it adds 20-30%. [8] Each test describes the software on the day it was tested, so testing one web app every quarter costs $40,000 to $60,000 a year. [9]
Autonomous AI testing has brought the per-test price down. XBOW publishes $4,000 per test for lightweight applications and $8,000 for complex ones, and continuous enterprise platforms run $25,000 to $100,000 or more a year. [10, 11] Independent reviewers find these tools strongest on technical flaws and weaker on business logic, which is where the access control failures in AI-written code sit. [11] The usual advice is to pair them with human testers, which brings the cost back up.
What it costs an agency. Take the example agency from Code Is Free Now, after its price cut: twelve active client applications and $450,000 a year in operating profit.
Dashed line: 100% of annual profit. Twelve active client apps; agency from Paper 1 after its price cut.
The agency could try to pass the cost on, but the client has just negotiated the price down on the grounds that software is cheap now. Asking them to pay $15,000 to test a build they think took a weekend is a hard conversation. Even the most expensive row has a timing problem: a team that ships weekly leaves twelve weeks of releases between quarterly tests.
A clean perimeter isn't a safe application either. Our Rings of Risk study looked at what happens behind the front door. [12] We took 15 well-known open-source applications and 879 publicly disclosed vulnerabilities, fixed the exposed direct routes to serious harm in six of them, and then traced what was still reachable. Those six hardened applications still held 67 recorded routes to major or critical outcomes, 39 of them chaining two separate code flaws. In one, a single deeper flaw sat on every recorded route to server execution. These are routes supported by the source code, not demonstrated attacks, but the point holds: fixing what a perimeter test finds does not settle what is reachable deeper in the code.
So a pen test is the right kind of proof, independent and recognised by buyers. But it is priced for a company testing one product, not an agency testing a dozen at compressed margins, it is too slow for weekly releases, and a pass at the perimeter can hide routes that run deeper.
Option three: certify it yourself
The tempting answer for a technical agency is to do it in-house: point a frontier model at the repository, have a senior engineer review the output, and write up the result. It is fast and almost free. It also works in some situations and fails in others.
Where self-declaration is allowed. In some regimes it is the norm. Under the EU Cyber Resilience Act, most products, around 90% by one estimate, can be self-assessed by the manufacturer without a notified body. [13] But the manufacturer then declares conformity on its sole responsibility, and still has to produce technical documentation, a risk assessment and test results. [13] Self-declaration moves the whole burden of proof onto you, and it is only as strong as the evidence behind it.
Where it isn't enough. For the four groups in section 1, the builder's own word carries less weight. PCI DSS requires testers independent of the systems they test, California's audit rules require an independent auditor, and FTC orders require independent assessors. [3] Enterprise buyers ask for a test report from someone else, not an assurance from the vendor. In a dispute, "our AI checked our AI's code" is an easy line for the other side to take apart.
The evidence a do-it-yourself audit produces is also weak, for three documented reasons.
- It misses things on real systems. The scale results in section 3 apply here too: the same kind of model that does well on a small app found almost nothing on large ones. [4]
- It can fail without telling you. In RealVuln, one frontier model's provider refused to scan most intentionally vulnerable repositories, and a tool fault ended 5-15% of agentic runs before they wrote any findings. Both look exactly like "nothing found". [14]
- People overrate it. In METR's randomised trial, experienced developers using AI believed they were about 20% faster and were in fact 19% slower. [15] In a Stanford study, developers with an AI assistant wrote less secure code and were more confident that it was secure. [16]
So doing it yourself is quick and costs little, and in some places the law allows it. But it carries the least weight with the people asking, and the evidence it produces is unreliable in exactly the ways that matter.
The paperwork
The Log step is the one agencies most often skip, because it doesn't feel like engineering. It is also the part that ends up in front of a buyer or a lawyer.
The usual answer is a SOC 2 report. For a small company, the first-year all-in cost runs about $25,000 to $80,000, covering the audit, a compliance platform, a penetration test and internal time, and a Type II report takes six to twelve months. [17] Renewal costs 70-90% of the first audit fee every year after. [18]
It is worth having, but be clear about what it proves. SOC 2 shows that the agency's own controls work: access to systems, change management, how incidents are handled. It does not show that a particular client's application is free of a missing ownership check, and a buyer asking about their software will still want the test report for that software.
A release-level log is simpler and more specific. For each client and each release it records what was scanned and tested, by whom, what was found, what was fixed and re-tested, what was knowingly left, and the date. Most agencies have pieces of this scattered across tickets, chat and pull requests. Very few can hand it over as one document on the day a client asks.
The gap
Here are the options set against the requirements from section 2.
No row meets every column. The options that produce proof buyers accept are priced for testing one product a year, and the options an agency can afford produce evidence nobody else will rely on.
That is the bind. Clients took the savings from building with AI. AI multiplied the flaws. The agency's reputation now depends on proving the code is safe, and the tools for producing that proof were designed for a company testing one product once a year, not an agency shipping a dozen clients' code every week on margins that just lost a quarter.
Which leaves the practical question: how does an agency find, test, fix and log every release, independently, at a cost the compressed price can carry? We think it can be done, and that it turns the problem into a better business than the one agencies had before. That is what our Executive Briefing covers.
Sources
- [1]Verizon, 2026 Data Breach Investigations Report, as summarised by TechRepublic.
- [2]ISC2, 2025 Supply Chain Risk Survey, as cited by Zip Security.
- [3]PCI DSS v4.0.1 Requirement 11.4 (Basis Theory summary); CPPA cybersecurity audit regulations effective 1 Jan 2026 (DLA Piper summary); FTC final order In the Matter of GoDaddy, May 2025.
- [4]Kolega Labs, The RealVuln Benchmark Comparative Report, 23 Oct 2026 (kolega.ai/papers/realvuln-benchmark-report), RealVuln v3.1, including the provisional large-application results. Data, ground truth and scoring at github.com/kolega-ai/Real-Vuln-Benchmark.
- [5]Ghost Security, SAST study of about 3,000 open-source repositories, reported by Help Net Security, 19 June 2025.
- [6]OX Security, 2026 Application Security Benchmark (216 million findings, 250 organisations), as cited by Pixee.
- [7]Barrion, "How Much Does a Penetration Test Cost in 2026?", compiling Blaze InfoSec, BrightDefense and Synack figures.
- [8]SecurityWall, "Penetration Test Cost 2026 Pricing Guide".
- [9]Ardura Consulting, "Security Testing Costs: Penetration Test Pricing Guide 2026".
- [10]XBOW published pricing, as compiled by Penetrify, 2026.
- [11]XHack, "AI in Penetration Testing: 2026 Reality Check" and "AI Penetration Testing Agent Comparison", 2026; Simbian, "Best Continuous Penetration Testing Vendors in 2026"; IJONIS, "Autonomous Pentesting Tools: 6 Platforms for 2026".
- [12]Pellew and Raza, Rings of Risk: Consequence and Reachability in Application-Code Vulnerability Chains, Kolega Labs working draft v6.1, 22 Oct 2026 (kolega.ai/papers/rings-of-risk). Data at github.com/kolega-ai/rings-of-risk.
- [13]Regulation (EU) 2024/2847, Article 32 and Annex VIII; DataGuard, Mondaq and FLECS summaries of conformity routes.
- [14]RealVuln scanner page for Claude Fable 5; RealVuln Journal issue 18, Sept 2026.
- [15]METR, arXiv 2507.09089, July 2025.
- [16]Perry et al., "Do Users Write More Insecure Code with AI Assistants?", ACM CCS 2023.
- [17]Cyberbase, "SOC 2 Checklist (2026)"; Konfirmity, "SOC 2 Audit Cost: The Real 2026 Budget Breakdown".
- [18]Patotski, "SOC 2 for SaaS Startups: What It Actually Costs in 2026".