Over the past year, we've built about a half dozen AI scanning harnesses at F5. Together they scan more than 148 million lines of code across roughly 3,000 repositories, spanning C, C++, Python, Tcl, Java, Go, and hardware description languages for FPGAs. They've surfaced critical issues that sat in production code for years. The patches go out in our critical releases.
A few months ago, I wrote about the methodology behind our AI scanning. This post is about what happens inside our harnesses and what running them at scale has taught us, including the things we got wrong.
“Every vulnerability is a bug. Not every bug is a vulnerability.”
The lesson that reorganized everything
When asked to perform broad, open-ended reviews, frontier models have a strong bias toward over-reporting. They generate exhaustive findings and speculative weaknesses regardless of code quality. That permissive threshold may be acceptable in exploratory research, but in an active production workflow, it overwhelms the triage queue and forces engineers to burn review cycles manually disproving low-confidence findings.
That was our primary operational bottleneck early on: an unranked flood of flagged lines that created more distraction than actionable insight. Every one of those findings needed an engineer to read it, check it, and set it aside, and human attention is the scarcest resource in this entire pipeline.
What got us out of it was building the entire system around a distinction that seems obvious, but became a powerful organizing principle for the pipeline: Every vulnerability is a bug. Not every bug is a vulnerability.
The harnesses are built to find defects an attacker can actually use. A bug is a defect in the code. It's real, but it isn't necessarily exposed. A vulnerability is a bug an attacker can actually reach and exploit. There has to be a path from an external entry point to the defect, and attacker-controlled data has to travel that path and trigger the failure. If either condition is missing, you have a defect that can be fixed on its own schedule rather than a security emergency.
Once that distinction became the organizing principle rather than just a definition, the purpose became clear in each stage of the system. Our goal is to move a finding from the first category to the second, or to discard it.
Our harnesses
The models we use today are the least capable we will ever work with. Each new generation finds more, and finds it faster. That's why we design our harnesses to be model-agnostic and composable: a new model from any provider can be added to any stage without rebuilding the structure around it.
Our harnesses grew out of an internal AI code-review platform that had been running in production for more than a year—about 250 repositories, 13,000 merge requests, 30,000 review comments, and 750 developers served. We already had the plumbing and a year of data about how engineers respond to machine-generated feedback.
We've built about a half dozen harnesses since, and each one plays a distinct role. It's an ongoing, iterative process: we fine-tune existing harnesses and build new, purpose-built ones as capabilities emerge and new use cases require them. I’ll provide three examples that show how this has worked.
A harness built for engineer trust. That year of code-review data made one thing clear: engineers stop reading machine-generated findings when there are too many false positives. So the first security harness was optimized for engineer trust, evidence quality, and cost. It's driven by repository profiles, investigates at the function level, runs multi-stage adjudication, and won't publish a finding without evidence attached.
A harness built for exploitability and proof. The next harness was built to answer the question the first one couldn't: can an attacker actually reach this bug and drive it? It's optimized for exploitability confidence and validated proof. It decomposes shared code, runs many focused passes, narrows the candidate set through reachability and value-flow analysis, and ends by proving the finding against the real running product.
A harness built around experts. Our more recent harnesses lean heavily on the engineers who know each product best. A model reading source code doesn't know a product's invariants, its threat model, or the patterns that tend to produce false positives. When that knowledge is missing, it fills the gap with unsupported hypotheses. Our product experts curate the threat models, the rules the system is supposed to follow, and the known patterns that tend to produce false positives, and that knowledge goes into every scan. For F5 BIG-IP, this harness also generates the configuration and proof-of-concept traffic needed to test a finding in a disposable lab. The model proposes candidates; the expert determines what's true.
Inside our approach
Each harness emphasizes different stages, but they share the same underlying approach, and structurally, it's a funnel. We don't scan once and move on — we hit the same code over and over, from a different angle and with a different model each time. The funnel starts with every defect we can find and narrows the set at each stage by answering the questions below. A finding moves to the next stage only if it meets the requirements of the current one.
1. Can we find every bug? A 26,000-line file is not a unit of analysis, so we first break the source into small, independently analyzable pieces and build one shared graph of functions, macros, call edges, and facts that every later stage plugs into. We generate a skeleton of each file with the structure, signatures, and types intact but the function bodies stripped out. It's about a fifth the size, and it gives the model context without drowning it. Then we run many narrow passes over that graph rather than one broad one, because a broad baseline scan finds a lot but misses the subtle things.
Each focused pass goes after a class the baseline was missing: targeted memory issues like use-after-free and off-by-one errors, deeper memory issues like use-after-realloc, logic and protocol issues like SSRF and access control and injection, and cross-function bugs that span two call frames. The passes run in parallel and independently, then merge and de-dupe into a single list.
2. Is the bug real? A scan can misread code and report a defect that isn't there, so every finding has to survive an adversarial check before it moves on. One model is given the job of arguing that the finding is a false positive. A separate model acts as judge and decides whether that argument holds. Relying on a single model to validate its own finding only reinforces initial blind spots. True validation requires institutional tension: separating the role of challenger from arbiter ensures only verified defects survive.
3. Is it reachable? Here the funnel narrows. First, we define the product's attack surface. For a web server like Apache it's network listeners, configuration ingestion, and authentication and proxy paths. Each entry point carries its provenance, and when sources disagree, expert-defined outranks imported, which outranks model-derived. Then we climb backward from sinks to sources so that a common handler is traversed once rather than once per bug. That's what enables us to scale to millions of functions.
4. Can the path carry the right value and does is trigger the condition? A bug is usually about a variable, not just a line. It isn't enough for an attacker to reach the code; the data traveling that path has to be able to carry the value that breaks it.
Reaching the defect with the right value still doesn't mean the failure occurs. This stage checks whether the conditions needed to trigger the bug can occur together. What's left is a small set of vulnerability candidates.
5. Can we prove it? Every stage up to this point narrows the list so that we can confirm what remains is real in the last stage. When you red team a running system, you have a built-in oracle—something that tells you whether your answer is correct. You fire the payload and observe what happens, and the system itself adjudicates by giving you a shell, or data, or a crash, or nothing at all.
Static source analysis does not have an equivalent. A model reads code and asserts that a flaw exists, and there's nothing in the process that can contradict it, because there's no independent check on whether the assertion is true. That's exactly why false positives are so expensive: the only thing left to adjudicate a finding is a human engineer.
So we set out to build oracles of our own, using fuzzing, sanitizers, crash reproduction, patch-differential testing, and ultimately running the real product and watching it fail. Proof of that kind is slow and expensive, which is why everything upstream of it is a filter designed to make it affordable.
Proving our harnesses
Before we trusted any of this with our own code, we calibrated it. We handed one of our scanning harnesses a two-year-old copy of Apache httpd, version 2.4.62, without any context. In the two years after that release shipped, 28 CVEs were published against code that was sitting, unfixed, in that tree. We knew this, but the harness didn't. We ran it blind to see how many of these vulnerabilities it could reconstruct on its own.
It found and verified 27 of them, and the 28th turned out to be a false positive in the original disclosure. Then we went further with 16 of the 28 and proved them on a running Apache server built with a sanitizer, a tool that halts the program the instant memory is used incorrectly. We started the server, sent it the input the model said would break it, and watched what happened. For CVE-2026-43951, the server crashed at exactly the line the model predicted.
Our own products are harder to prove against. For a product like F5 BIG-IP, proving a finding can take more than sending the right input. Reaching the vulnerable code often depends on a specific combination of profiles, policies, and settings, so part of the work is generating that configuration and applying it before running the test. When nothing breaks, we treat the result as inconclusive, not as proof the finding is false.
What we got wrong
Much of what we've learned came from things we got wrong early on and had to fix.
- We started with one strategy across every language. C and C++ need memory and call-path reasoning. Managed languages need logic, authentication, injection, and data-flow analysis. Running one strategy across both produced a lot of noise, so we now match the analysis to the language.
- We didn’t give the model enough context. Now, before a scan, we gather the runtime, configuration, build details, architecture, and product documentation for the code being analyzed, along with the threat models our product experts maintain. With that context, the findings match how the product behaves much more closely.
- We split code in ways that hid the bug. Breaking code into smaller pieces helps a model focus, but it backfired when the split separated the place where attacker data enters from the place where it causes harm, or hid a configuration check that guards the path. We now select context that keeps those relationships intact rather than trying to fit an entire repository into one prompt.
- We triaged the same findings more than once. Without a record of earlier decisions, a recurring issue came back to engineers as if it were new. Now engineers mark findings as true, false, or uncertain, and only the lessons they approve go into future scans. We also track findings across scans, so a recurring issue carries its earlier assessment forward instead of being triaged from scratch.
- We underestimated how much noise we would get. Early on, we treated more findings as better coverage. But, most of them were false positives that required engineer time. Every new frontier model will produce more findings, but more findings don't mean more real vulnerabilities. Filtering out noise is now a core part of every harness.
Value compounds over time
F5 is a partner in Anthropic's Project Glasswing and a member of OpenAI Daybreak, and we have access to Claude Mythos and GPT cyber models for defensive security work. We're also running the latest models from other frontier labs, including preview and research models, as well as open-source models. Our harnesses are built to ingest new models as they become available, from any provider, and run them continuously against our codebase.
Model capability is improving in step functions right now, and it isn't owned by one lab. That's why we're deliberate about not building around any single model. A harness tied to one model has to be rebuilt every time the frontier moves. What compounds over time is the harness itself—the decomposition, the adversarial verification, the reachability graph, and the oracles. Better models make it sharper, and a better harness lets us take advantage of the models quickly.
What this means for you
None of this protects anyone until the fixes are running in production.
Critical releases are how we deliver these fixes to customers. They contain only security updates and bug fixes, with no new functionality or architecture changes.
The release notes for each release include a table showing, for each product, whether the release fixes critical or high-severity vulnerabilities in the data plane. iHealth and F5 Insight for ADSP show whether the fixes are in the data plane, the control plane, or both. We’re continuing to pause public disclosure of vulnerability details unless a vulnerability is found to be exploited in the wild, because those details put systems that haven't been updated at risk.
A release shouldn't be judged by the severity score of any single fix. Attackers chain low-severity flaws into high-impact paths, and that is exactly the kind of work these models are good at.
Three actions for all customers:
- Deploy the latest critical release.
- Subscribe to F5 security announcements so you know when the next one lands.
- Talk to your account team or F5 Support if you need help planning the upgrade.
We recognize that this asks a great deal of the teams running our software. Every critical release means another round of testing, another change window, another set of approvals—and we understand that F5 is one of several vendors asking something similar of you right now. As our release pace has increased, we've expanded our quality assurance capacity and AI-assisted test generation across platform functionality, upgrade paths, and critical workflows to reduce the risk of regressions. We're continuing to invest in making each release easier to absorb, because reducing that burden is as much a part of this work as finding the vulnerabilities in the first place.
What comes next
I expect the harnesses we run in a year to look quite different from the ones we use now. Models are likely to take on more of the manual task, such as pulling candidate invariants and attack paths out of source. What I don't expect to change is the loop underneath them: form a hypothesis, test it on the product, let the people who know the product decide what's true, and apply what we learned to the next scan.
Finding vulnerabilities faster is only part of the problem. We’ve seen how fragile, complex infrastructure can be when fixes arrive faster than teams can absorb them, so how we deliver fixes matters as much as how quickly we find the flaws behind them.
We're grateful for the effort and the trust it takes to keep pace in today’s world. This is a collective challenge, and nobody has all the answers. We'll keep sharing what we learn—both our successes and our setbacks—in the hope that our experience helps ease the burden as we navigate this new landscape together.
About the Author

Kunal Anand leads the F5 product organization as Chief Product Officer. Responsible for product vision, strategy, and execution, he ensures development of breakthrough solutions that solve critical challenges and create exceptional experiences for customers. In his previous role as Chief Technology and AI Officer, Kunal charted the company’s technology and AI strategy and vision. Prior to F5, Kunal held the dual role of Chief Technology Officer and Chief Information Security Officer at Imperva. His journey to Imperva began in 2018 with the acquisition of Prevoty, an application security startup he co-founded in 2013. Before joining Prevoty, he was the Director of Technology at BBC Worldwide. Kunal has a deep history of innovation and technical expertise, and has held roles leading security, data, technology, and engineering teams at Gravity, MySpace, and the NASA Jet Propulsion Lab. Kunal has over 15 years of experience in AI and machine learning, ranging from model training, employing AI-driven algorithms to enhance products, and designing and implementing AI architectures. Kunal holds a Bachelor of Science degree in computer science from Babson College.
More blogs by Kunal AnandRelated Blog Posts

When patching can't keep pace and protection can't wait
Because security threats move faster than app development and deployment cycles, protection must operate independently. Here’s how modern WAAP steps up.

Securing the new control points in the AI journey
AI architecture is fundamentally different than traditional IT environments and requires a different security strategy to protect critical AI workloads.

The patch window has closed. Here is how F5 is built for what comes next.
As AI models have changed software security, the industry needs to adapt.

Best practices for optimizing AI infrastructure at scale
Optimizing AI infrastructure isn’t about chasing peak performance benchmarks. It’s about designing for stability, resiliency, security, and operational clarity

Datos Insights: Securing APIs and multicloud in financial services
New threat analysis from Datos Insights highlights actionable recommendations for API and web application security in the financial services sector

How AI inference changes application delivery
Learn how AI inference reshapes application delivery by redefining performance, availability, and reliability, and why traditional approaches no longer suffice.