Skip to content
Use our free scanner to check your security!
R&D

SPAR Framework: how an agentic pentest works

SPAR stands for Scope, Probe, Attack and Report. Read how our AI agents at AssistSec carry out a pentest and why a pentester checks every finding first.

AssistSec Team
The AssistSec SPAR cycle: a ring with the phases Scope, Probe, Attack and Report

Ask how a pentest with AI agents works and the answer is often something like "the AI looks for vulnerabilities". That doesn't tell you much. You want to know who does what, in what order, and at what point a human looks at it.

At AssistSec we work in a fixed cycle we call SPAR: Scope, Probe, Attack, Report. This article goes through the four phases, and for each one which agent does the work and what comes out of it.

Why our own framework

Good standards already exist for manual pentests. The best known is PTES, the Penetration Testing Execution Standard, which describes a test in seven sections, from the agreements up front to the reporting. There is nothing wrong with it, and SPAR isn't meant to replace it.

An agentic pentest is just built differently. The work isn't done by one tester going through the phases one after another, but by several agents that each have their own task and partly work at the same time. So you need something that shows how the work is divided between those agents and where it is handed over to a human. That is what SPAR does.

The name fits too. Sparring is training against someone who wants to keep you sharp, and that is what you get a pentest for.

The SPAR cycle: Scope, Probe, Attack and Report in a ring, with at the top the point where a pentester validates before a finding goes to the client
The SPAR cycle. A finding only goes to the client after a pentester has checked it.

Scope (S)

Every test starts with agreements. Which applications are in scope, which test accounts are available, what the goal is. A pentester makes those agreements with the client. An agent doesn't.

The lead agent gets this as its assignment. It doesn't test for vulnerabilities itself. It divides the work among specialised agents, keeps track of what is done and decides when a test is finished. Those agents aren't fixed in advance: the lead agent starts them during the run, each with a clearly bounded task.

Probe (P)

You can't test what you don't know. Two things happen in this phase.

First the reconnaissance. Recon agents map the attack surface: which endpoints exist, which parameters they accept, how authentication works and what technology runs underneath.

Then the thinking. With what the reconnaissance turns up, the question becomes what could be wrong in this application. An endpoint with an order number in the URL is a candidate for IDOR. A search field that puts your input back into the page is a candidate for XSS. What comes out of this are hypotheses. Not findings yet.

Attack (A)

A hypothesis is only worth something once it has been proven. That is the job of the attacker agents, each with its own specialisation. Think of SQL injection, XSS, broken access control, SSRF or flaws in the business logic. Such an agent tries to prove a hypothesis with requests against the application, and keeps at it until the issue is demonstrated or it is clear that it can't be done.

Because each agent has its own task, several parts of the scope can be examined at the same time. As a client you can follow this live on the ARGUS platform: you see which agents are active and what they are doing.

Report (R)

As soon as an agent has demonstrated something, a reporting agent joins in. It records the finding: what was found and where, the evidence, the steps to reproduce it and the impact.

That happens per finding, not only at the end. So in practice SPAR isn't a waterfall. While one agent is still trying to prove something, another finding may already be written up.

A pentester checks every finding

Up to this point the client hasn't seen a single finding, and that is deliberate. What an agent reports stays internal until a pentester has reviewed it. The pentester checks whether the vulnerability can be reproduced and whether the impact is right. If it doesn't hold up, the finding is dropped as a false positive. If it does, the pentester releases it and it appears in ARGUS, with the technical details and a CVSS score.

The reason is simple. A model can write up something very convincingly that turns out not to be reproducible. We would rather filter that out ourselves than have your developers lose an afternoon on it.

That is why the live view shows what the agents are doing, but not what they have found.

Why it is a cycle

A report is a snapshot. After a fix you want to know whether the hole is really closed, and an application that gets new code every week is a different application a month from now.

So SPAR doesn't stop at Report. From ARGUS you can request a retest for each finding. And with a monthly scan the agents run the cycle again against the same scope. The results are placed next to those of earlier scans, so you can see what is new, what is still open and what has been fixed.

SPAR vs PTES

This is how the SPAR phases line up with PTES:

  • Scope is what PTES calls pre-engagement interactions.
  • Probe covers intelligence gathering, threat modeling and vulnerability analysis.
  • Attack is exploitation. PTES then has post exploitation as a separate section. How far a test goes there depends on what was agreed in the scope.
  • Report is reporting, with validation by a pentester as a fixed step before it.

Want to see what a pentest looks like in ARGUS? Book a demo.

Back to the blog

Interested in a pentest?

Discover how AssistSec's AI agents give your organisation faster and more thorough insight into vulnerabilities.

Contact us