11 minOct 28, 2026

Build or Buy AI Pentesting: 5 Tests Before You Go to Production

Building an AI pentesting prototype is surprisingly easy. Making it reliable in production takes more work. Synack Co-Founder and CTO Mark Kuhr explains how to evaluate readiness and decide what to build, buy or combine.   A frontier model connected to security tools can produce…

Mark Kuhr CTO and Co-founder of Synack

Overview

Building an AI pentesting prototype is surprisingly easy. Making it reliable in production takes more work. Synack Co-Founder and CTO Mark Kuhr explains how to evaluate readiness and decide what to build, buy or combine.

 

A frontier model connected to security tools can produce an impressive demo. Production introduces harder problems: authenticated applications, custom business logic, changing scope and findings that need proof.

In this session, Mark Kuhr examines the engineering behind agentic AI pentesting and the role of human validation. He outlines five tests for production readiness and explains how to weigh an internal build against a vendor solution or a hybrid approach.

What you'll learn

Why a successful prototype can miss real risk

Lab results offer a limited view of performance. Learn what changes when agents encounter live applications, complex workflows and an attack surface that keeps moving.

What the agent harness needs to handle

The software around the model manages planning, tool execution, context, guardrails and recovery. Understand why maintaining it becomes a lasting engineering commitment.

Five tests to guide your build or buy decision

Assess reliability, verification, safety, adaptability and operability. Use the same criteria to evaluate your own implementation and a vendor's solution.

Chapters

Jump straight to the part you need.

Full transcript

Read transcript

Hi, everyone. My name is Mark Kuhr, co-founder and CTO here at Synack. There's been a lot of talk lately about whether organizations can build their own AI pentesters, and we're here to talk about that today. And not only build them, but then how do they know that it's ready to go to production and actually perform penetration testing for their business? So that's what we're going to dig into today. At a high level, this is what we're going to cover. We're going to talk through the easy prototype. Anybody can get started with a proof of concept,

and you can vibe that up and really be off to the races running what looks like a pentest. Then we'll talk about what it looks like to take that to production. And then we'll talk a bit about the agent harness and some readiness tests that you can take on your own implementation and see if you're actually ready to make the leap into production testing. Lastly, we'll talk a bit about build versus buy. This is the conversation that everybody's having. Do you build it yourself and cut the license costs, or do you buy it from a vendor that specializes in that?

We're going to openly talk about the tension in that decision. Next slide. I'd love to talk through the deceptively easy PoC. Why can't we just connect the frontier model to our security tools? Why can't we just come up with a great prompt and say, “Hey, Opus, go ahead and hack this target and run a thorough pentest”? The reality is, you can. You can take a frontier model. It's very good at reasoning about vulnerabilities. It's good at coming up with the checklist for penetration tests

across various compliance regimes. And you can wire it up to some open-source scanners or even probably your commercial scanners. It's a fairly straightforward approach with the tools available. Vibe coding has made this really easy for anyone, but it's not necessarily a replacement for what you have from vendors today. Keep in mind, you're creating this tool that you're going to have to maintain yourself. You're creating this tool that will

seemingly find vulnerabilities, but may not find the things that you're missing. The false negatives—the things you're missing in the discovery process—are more concerning than anything else. So you can do this demo. I think we're going to see that a lot of people will attempt this, and I think it's great to talk through the details here. When you look at lab performance, the first thing you're going to do with a PoC is take it out for a spin on some labs. There are a lot of challenges out on the internet, on GitHub. You can take your harness and your model and say, “Hey,

point it at a couple of labs,” and you're going to get great results. But at this point in time, a lot of these harnesses are really good at solving labs, and a lot of the models have been trained on the labs. So you're going to get great results in the labs and any of the CTF challenges. That's because all that training information has been included in the latest versions of the models. The real gap is taking it to production, where you've got to authenticate to apps and follow custom business logic in the application.

Similar to a complex quality assurance suite, you're going to need to walk through all the business process flows. I think that a lot of the home-built solutions, the PoCs you've built, will struggle with that type of thing. There's also a lot of attack surface across your business that you're going to need to send in scope updates constantly. This gap is a real one, where you're starting to see that it's very difficult to scale this up into a real testing program. That's not uncommon with PoCs.

Take them out for a spin in the lab, and they work great. When you go to production, they run into scale issues and limitations, and then you end up with a large backlog of work to add a bunch of features to that. But really, the model is only one component. Where you're going to spend a lot of your time is on the harness. The agent harness is where you're going to spend a lot of development hours figuring out how you do the task planning, how you do the scheduling, how you do tool selection—what tool to run in certain contexts.

How do you keep track of context? If you're running the same scan twice in a row, are you just repeating everything completely, or are you actually looking at deltas across the runs? And then, if you have failures, if you have guardrail issues, these are things that are going to weigh on your effectiveness in finding vulnerabilities. The bigger one that I see companies struggle with of late is exploit verification. If you have false positives coming out of the detection, how do you know they're false positives?

Some human has to look at that and verify. Then you end up in this improvement loop where you're trying to go back and fix your harness so it doesn't reintroduce the same false positives in the future. The summary really is that the model is swappable. The harness is where you're going to spend most of your time. This is where a lot of teams start to realize this becomes an engineering project, not just a security team project where we're building our own agentic copilot. It becomes a very interesting backlog of features,

and it never ends. There's always going to be more stuff to test. Model routing and replacement is another interesting problem. As each model changes, you're going to have to go in and test for the variances between the models and the behaviors that may have changed in the different model versions. That could require prompt adjustments. That could require tool call adjustments. There are a lot of things that fan out in terms of the backlog of work when you start to maintain your own agent harness.

That said, I think this is a worthy experiment for a lot of people to go into and start to understand how the technology works. We have a couple of things to look at for production readiness. If you're at that stage where you're like, “Hey, this is working pretty well in the lab. I want to go see if I can get it out there in a real testing program,” reliability is usually the first thing people hit. You've got to take a look at whether you can orchestrate the test and recover when things fail. You're going to run into reachability issues,

credential issues, and runtime issues from the harness itself. Do you have enough tokens and token throughput? Do you have enough memory and compute on the machine? This becomes a bit of an infrastructure battle, but it's also complicated by the various ins and outs of your harness. And then verification: can we prove it's exploitable? The vulnerabilities that it produces a lot of times will look valid. However, you have to add verification to ensure that they're actually

valid, not to mention the false negatives. What are we missing? Having a couple of good human pentests alongside will help you verify that your agent, model, and harness combination is working really well. Lastly, safety: can it operate without going out of bounds? There may be aspects of your application, if you're doing an agentic web pentest, that you don't want to touch. You don't want to do a checkout flow in production. You don't want to do certain types of attacks. Those types of guardrails have to be tested

and implemented, and really, it's figuring out the way to intercept the calls before they get executed. I think a lot of people forget this, and it gets caught later when a problem happens. We want to catch it ahead of that, right? Lastly, adaptability and operability. Really, can you govern it? Can you absorb changes? Can you keep up with the pace of change? This is a space that has a lot of changes happening any given week, and it's almost a full-time job to keep track of them all. You've got to ask yourself,

if you're going to take this project on, do you want to be the one monitoring for those changes and on the hook for making the code changes necessary, or do you want to outsource that to a vendor? It's really a build versus buy decision at the end of the day. Some teams will be equipped to build it, and you can probably get pretty far with a PoC. But buying it gives you a repeatable, production-ready harness, independent verification from the vendor, and, more importantly, you can push the risk of any runtime issues to the vendor.

So you're not sitting there at 2 a.m. trying to fix your harness because you've got a pentest to do tomorrow. All of this is coming together in what probably looks like a hybrid model for some companies, where they have some stuff running internally and then pair that with an external provider solution. This allows you to really understand what your needs are for agentic testing. But buying a solution that is robust and meets all the needs is just totally turnkey. It allows you to push the risk to the vendor,

reduce your internal workloads, and get attestation on any kind of results that are coming out of those pentests. For a vendor like Synack, we're really focused on comparing agentic pentests to human performance. Part of that is to discover where the false negatives are. Part of that is to also fill the gaps in what the agents are capable of finding. But production readiness in practice looks like point-in-time tests, for sure, but moving towards a continuous

testing program over time. Continuous testing is the only way to keep up with all of the changes that are happening in your attack surface. And it's the only way to keep up with the adversary that's constantly innovating and mixing in new approaches for attacks. Evaluating what you need in production is really a decision for your business. But at the end of the day, you've got to move towards a continuous model and ask yourself if you want to be maintaining that stack or you want to outsource that to a vendor.

You have to evaluate the whole system, not just the model. The model can demonstrate capability, but the harness makes it repeatable. The harness makes it reliable and trustworthy. These things together will form a system that you can turn into a continuous testing pipeline for your business across all assets, whether host infrastructure or applications. We have to start moving to this model because adversaries are constantly innovating. They're looking for ways in at all times, and the software under the hood is changing more rapidly than

it ever has before with the introduction of these coding agents as well. We're in a unique space and time where we're all trying to keep up with the pace of change. Point-in-time testing is not going to meet the need for protection against these agentic-enabled adversaries. I would encourage you to run the five tests against your own plan. It's up to you to decide what's right for your business, of course. But take a look at whether you're ready to keep pace with the reliability and verification, safety, and operational support of this whole program.

I think it's great to get out there and use the tech, understand it, and learn it. That's how you're going to stay fresh and relevant in the space. But when it comes time to do a continuous pentest program at high scale, you might want to consider outsourcing that to somebody that's specialized in it, like Synack. Thank you for your time today.

Speakers

CTO and Co-founder of Synack

Build or buy AI pentesting FAQ

Can an organization build its own AI pentester?
Yes. Connecting a frontier model to security tools can be a useful starting point, particularly for a narrow internal use case. Taking it into production requires ongoing engineering, testing infrastructure, safety controls and human validation. The decision should account for maintaining the system as models and environments change.
What is an agent harness?
An agent harness is the software around an AI model that turns its reasoning into actions. It handles task planning, tool selection, memory, permissions and failure recovery. For pentesting, it also needs to support exploit verification, human review and visibility into what the agent did.
Why aren't lab results enough to prove production readiness?
Labs usually provide bounded challenges in controlled environments. Production testing must navigate authentication, custom business logic, changing applications and operational restrictions. A strong lab result also leaves an important question unanswered: what vulnerabilities is the system missing?
What are the five tests for production readiness?
Reliability: Can it complete a test and recover when tools or attack paths fail? Verification: Can it demonstrate that a finding is exploitable? Safety: Can it stay within scope and respect production restrictions? Adaptability: Can it handle model changes and new environments? Operability: Can your team govern it, keep humans involved and maintain it economically?
Where does human validation fit?
Experts verify findings and investigate gaps in AI coverage. Running human pentests alongside agentic testing helps teams understand what the system misses, particularly where business context and complex workflows matter. Synack Vulnerability Operations reviews findings before approved results are delivered.
When does a hybrid approach make sense?
A hybrid approach lets teams experiment internally while using an external provider for production testing and independent validation. It can suit organizations that want to develop internal expertise while limiting the operational burden of maintaining a complete testing system.

Next step

Is your AI pentesting plan ready for production?

Apply the five tests to your own environment. Talk with Synack about testing coverage, human validation and the resources needed to support your program.