You can find and fix some vulnerabilities with simple prompts, as noted above. In particular, more powerful AI models can sometimes identify and fix vulnerabilities without additional help or specialized processes. However, if your goal is thoroughness, many analysts report that guiding an AI makes the AI much more effective at finding and fixing vulnerabilities.
For example, [Wolff2026] states that “simply asking a generic coding agent to ‘find bugs’ in a large repository results in model drift, context window compaction, and high false-positive rates… The highest-performing defensive systems combine raw AI reasoning with rigid engineering frameworks (harnesses) that handle file selection, environment setup, and tool execution.” An AI that tries to “read all the code” at once has the same problem a human might have; it can become overwhelmed with the data it’s being asked to peruse. AI systems’ limited context windows can make them less effective when used this way.
Similarly, [Grinstead2026-05] noted that “you can start with very simple prompting…” but also that “through iteration we’ve built out a lot of orchestration and tooling to optimize and scale the pipeline.” [Carlini2026] found that asking “each agent to focus on a different file in the project” was more effective, since this “reduces the likelihood that we will find the same bug hundreds of times”. Instead of processing every file for each software project, they first asked Claude to rank how likely each file in the project was to contain interesting bugs, then prioritized the files most likely to contain them.
Derek Zimmer [Zimmer2026] believes that one reason for this is that it’s easy for an AI to “run things out-of-order”. AI may try to anticipate the next step, and what it guesses may be wrong. Having an AI agent perform a specific task, using previously created data, enables it to focus its attention and effort on that task. In particular, adding specialized processes can make less-powerful AI models (including less-expensive ones) far more effective.
[Bourzikas2026] reported 4 lessons, each pointing to the value of a harness to manage the overall process:
At the time of writing, exactly how to best guide AI is under evaluation. Different groups use different approaches, and it’s likely that some approaches are better suited to certain types of vulnerabilities. We’ll further discuss approaches later, but as an example, here’s the approach described by [Bourzikas2026]:
Of course, many others outline some sort of process. Anthropic reports that teams finding and fixing the most vulnerabilities ended up with some variation of the following steps:
As we’ll further discuss later, a key task is validation. Something may look like a vulnerability but be unexploitable. The best way to validate a vulnerability is to generate an exploit that demonstrates it is indeed a vulnerability. A working exploit demonstrates that existing defenses wouldn’t prevent the attack [Carlini2026]. This also explains why hardening is so important; if a project hardens its software against attack, it can systematically prevent many problems from becoming vulnerabilities. The Linux kernel, for example, has various defense-in-depth measures that have prevented the exploitation of many potential problems identified by even advanced AI models [Carlini2026].
In 2026, AI became far more effective at finding vulnerabilities. This was due to a combination of improved AI models and improved techniques for harnessing them [Grinstead2026-05]. Using either one is better than using none, but many analysts report that it’s best to combine them.
Of course, once findings (potential vulnerabilities) are found, and then validated as vulnerabilities, they need to be fixed.
🎬See the video “Types of CRS” for an illustration of how vulnerability reports generated by one system can flow into another system designed to fix them.
There is a risk that overprescribing an approach to an AI may overconstrain it, causing it to ignore problems it would otherwise find. It’s also possible that future AI models will be so good that aiding them with processes won’t help. However, since many analysts report that aiding AI models does help, we’ll discuss doing that combination in this material.
