Autonomous penetration testing
What autonomous penetration testing is, how PentAGI carries a test from a goal to a report, and where people stay in control.
In an autonomous penetration test, an AI system plans and carries out the steps of the test itself. It decides what to look at next from what it has found so far, runs the toolstoolWhat an agent acts through: a built-in capability such as the terminal, the isolated browser or web search, or a program in the sandbox such as nmap, metasploit or sqlmap., checks the results and writes up what it learned. A scanner runs the same checks every time; an autonomous agentagentAn AI agent of PentAGI: a model with its own prompt, settings and tools that does one kind of work in a flow, such as testing, writing code or searching the web. changes its plan as the test goes on.
How PentAGI runs a test
You describe a target and a goal in plain language: what to assess, what is in scope and what counts as done. From there a flow runs on its own:
- Your message becomes a tasktaskOne request in a flow: its first message, or a later message that does not answer an agent's question. PentAGI splits each task into subtasks., and the generator splits it into up to 15 subtaskssubtaskOne step of a task. PentAGI plans the subtasks of each task and adjusts them as the work goes on..
- For each subtask, the primary agent hands the work to specialists — the searcher, pentester, coder or installer — who act through their tools.
- The tools run in the flowflowOne run of PentAGI: a goal, the tasks created from your messages, and everything the agents did along the way.'s own sandboxsandboxThe isolated Docker container in which agents run their tools. The interface shows it as Terminal. container, built from an image picked for the goal, not inside PentAGI itself; a worker node keeps them off the PentAGI host altogether.
- After each subtask, the refiner reviews the remaining plan and changes it when the results call for it.
- When the task is done, the reporter writes up its result, and the flow's reportreportThe document PentAGI writes about a flow and its findings. In Enterprise, it is a customer-ready document built from a template. collects the results of all its tasks.
Commands, their output and the results stay in the flow's memory, so later subtasks build on earlier ones; the guides, answers and code the agents save there serve later flows as well.
Where you stay in control
- Scope. The agents follow the task: write the targets, the boundaries and any rules of engagementengagementThe work a security team delivers to its client, such as a penetration test of the client's systems. Each PentAGI run within it is a flow. into it. PentAGI does not restrict targets on its own, so enforce a hard boundary at the network level, for example with firewall rules on the worker nodeworker nodeA separate server that runs the agents' tool containers, so the commands they run never touch the main PentAGI host..
- Interactive mode. In Assistant mode you work through the test step by step with an agent instead of letting it run on its own.
- Steering. The Assistant view of a running flow lets you check its state, stop the current task, send follow-up instructions or change the planned subtasks — see Steer a running flow.
- Questions. With
ASK_, the primary agent can pause the flow and ask you for input. It is off by default.USER=true - Limits. Tool calltool callA request from the model to run one of the agent's tools, such as a terminal command or a web search. limits and repeat detection stop an agent that goes in circles, and the reflector brings back one that stops calling tools — see Safeguards.
When it fits
Autonomous testing suits repeated assessments of your own systems, lab and training targets, and the first pass of an engagement: mapping the attack surface, checking known weaknesses and writing up what was found. It does not replace a tester's judgment on scope, impact and risk, and two runs of the same task can differ, so treat its findingsfindingSomething the test discovered and recorded, such as a host, a running service or a vulnerability. as leads to confirm.
Only test systems you own or are explicitly authorized to assess. Use of PentAGI is subject to the EULA.
Last updated on