IT Brief US - Technology news for CIOs & IT decision-makers
United States
Your AI code reviewer may have already seen the answers

Your AI code reviewer may have already seen the answers

Sun, 29th Nov 2026 (Today)
Simon Harloff
SIMON HARLOFF CTO & Co-founder Dam Secure

Engineering teams are handing more of their pull request reviews to AI. With coding agents now writing a large share of the code that ships, it is the only way many teams can keep up with the volume. Security is increasingly part of that review, and buyers are choosing which AI reviewer to trust based on benchmark scores.

The trouble is that many of those scores say very little about how a reviewer will perform on your code.

The test everyone uses is already in the training data

The standard way to evaluate an AI security reviewer is to point it at a deliberately vulnerable application. OWASP Juice Shop, WebGoat, DVWA, NodeGoat and the OWASP Benchmark are the usual choices. They are also some of the most widely published codebases in security, with a decade of forks, official solution guides and CTF write-ups sitting on the open internet.

Large language models have read all of it. Some of these projects even mark their vulnerable lines in the source. Juice Shop's login route carries a comment flagging its SQL injection line, which is effectively an answer key printed next to the question.

Stripping the comments out doesn't fix the problem. When my team gave a comment-free Juice Shop file to several current frontier models, each one named the project and the exact file it came from. A reviewer that recognizes the test can score well without understanding the code in front of it. Your production codebase, meanwhile, isn't in anyone's training data.

What happens on code the model has never seen

To get a more honest read, we built a private benchmark. We took real, published CVEs from open-source projects across six languages and reintroduced each bug as an ordinary-looking pull request, with no CVE wording and nothing to hint at what was wrong. 

For each bug we kept the exact file and line, a working exploit and an unpublished fix, and none of it has ever been released. The fixed version was reviewed as well, so we could count false positives. Every review was graded blind three times, with a fourth pass by a different model as a cross-check.

We ran 16 frontier and open-weights models against 16 replayed bugs, five times each, for 80 scored reviews per model.

Recall, the share of real bugs a reviewer catches, ranged from 32.5% to 77.5%. The model that scored 100% on our earlier, easier benchmark dropped to 61% on this one. That earlier benchmark, a set of ten access-control bugs, was solved within weeks, which is its own warning about how quickly evaluations go stale.

The spread on everything else was just as wide. Cost ran from 7 cents to just over US$11 per pull request. For a team merging 1,000 pull requests a month, the top end of that range can add up to around US$150,000 a year in tokens. 

Review time ranged from under 90 seconds to more than 18 minutes, and the highest-scoring model was too slow to sit in a real pipeline. Every model produced somewhere between five and 14 findings for each genuine bug.

The averages also hide a sharp split. Nine of the bugs were caught in 70% to 86% of reviews. Four were caught in 0% to 9%, and no single model found all of the hard ones.

The bug nobody caught

One of those hard bugs shows why the split matters. We replicated the root cause of a server-side request forgery (SSRF) flaw in Open WebUI, which gets past address checks using NAT64 addresses, and planted it in a new calendar feed feature. 

The code looked hardened. It checked for private and loopback addresses, as a careful developer would, and missed one route around those checks.

Across 80 attempts, no reviewer flagged it. Catching it meant reasoning through how the network check would behave in practice, and recalling familiar patterns doesn't get you there. That is exactly the kind of bug attackers go looking for, and exactly the kind a memorized benchmark will never test.

The model is only half the reviewer

An AI reviewer is a model plus everything wrapped around it: the system prompt, the tools it can call, how much of the codebase it sees, the skills or instructions it loads, and how long its agent loop is allowed to run. Each of these is a dial. 

Giving the reviewer the files a change calls into, as well as the diff, shifts recall. The system prompt and skills shape how noisy it is. Tools drive cost, and thinking effort and loop limits drive speed.

So a reviewer's score belongs to one configuration on one day. Change the prompt or swap the model and you have a new reviewer that needs testing again.

What security and engineering leaders should ask

Be skeptical of any score earned on a public vulnerable application. Ask what the reviewer was tested on, and whether the answer key has ever been published.

Ask for more than recall. Noise, cost, speed and consistency between runs all matter in production. A bug caught in one run out of five will be missed four times out of five on your pull requests, and a reviewer that buries developers in false findings teaches them to stop reading it.

Treat every change to the reviewer like a code change. A new model, prompt or tool should only ship once the evaluations show it performs better.

Expect benchmarks to wear out. Ours lost its ability to separate models within weeks, and new models now arrive monthly. Keeping a private set of fresh, unsolved bugs is the only reliable way to keep measuring what matters.

AI review is going to be part of how most software gets secured. Buyers deserve numbers that reflect real code, and right now many of the numbers being quoted don't.