AI penetration testing that proves what is exploitable
AI penetration testing uses autonomous agents to reason across an authorized target, choose tools, test attack paths, and produce evidence for each finding. ARTEX combines a planner, parallel workers, traffic capture, and human approval in one inspectable console.
Use AI penetration testing when you need repeatable offensive testing between manual engagements. Judge the result by evidence quality and reproducibility, not by the number of alerts.

What is AI penetration testing?
AI penetration testing is an offensive security workflow where an AI system decides which next test is most useful, invokes security tools, interprets their output, and adapts its plan. A useful system connects each finding to the request, response, command, or exploit evidence that supports it.
That makes AI pentesting different from asking a chatbot for a vulnerability list. The agent has a target, a scope, tools, guardrails, and a persistent record. It also differs from a one-off manual engagement because the same workflow can run again after a deployment, a new asset appears, or a vulnerability is patched.
ARTEX approaches the workflow as an isolated lab exercise with an asset graph and an exploration graph. The planner maintains the next objectives while workers explore assets and record what they observe. Human approval remains available for sensitive actions.
- The target must be owned by the operator or covered by written authorization.
- Scope, exclusions, and destructive-action rules should be defined before a run starts.
- Every serious finding needs reproduction evidence, not only a model-generated narrative.
- The workflow should produce a retest result after the remediation is applied.
How does an AI agent run a penetration test?
A practical AI pentest follows a closed loop. The system first extracts the authorized scope, then maps reachable assets and application behavior. From there it forms hypotheses about weaknesses, selects tools, executes the least invasive test that can confirm or reject each hypothesis, and writes the evidence back into its working context.
The evidence loop matters more than raw autonomy. When a request succeeds, the agent needs enough context to explain where it went, what changed, and whether the result proves exploitability. When a test fails, that result should also be retained so the next worker does not repeat the same dead end.
- 01Scope
Identify domains, applications, IP ranges, accounts, and explicit exclusions.
- 02Map
Build an asset inventory and connect discovered services to likely attack paths.
- 03Hypothesize
Turn observations into testable claims about authentication, access, injection, or exposure.
- 04Validate
Run focused tools and preserve the requests, outputs, and resulting state.
- 05Record
Attach the finding to its task, asset, commands, traffic, and confidence level.
- 06Retest
Re-run the same path after remediation and record whether the issue still reproduces.
How is AI pentesting different from a vulnerability scanner?
A vulnerability scanner is optimized for broad signatures and repeatable checks. An AI pentesting agent is optimized for a sequence of decisions across a live application. The scanner asks whether a known condition exists; the agent asks what effect one observation has on the next possible test.
Neither model is automatically better. Scanners are fast, cheap, and useful for broad hygiene checks. AI agents can connect context across pages, APIs, authentication flows, and tool output, but they need tighter guardrails because their behavior is less deterministic.
| Approach | Strength | Main limitation | Use it for |
|---|---|---|---|
| AI pentesting agent | Adapts a plan and can chain observations into a validated attack path | Requires scope controls, evidence review, and model/tool guardrails | Repeatable testing where context and proof matter |
| DAST scanner | Fast, deterministic coverage of known patterns | Limited reasoning across complex business logic | Broad regression checks and baseline coverage |
| Manual pentest | Deep human judgment, creativity, and engagement context | Expensive and difficult to run after every release | High-risk launches, complex systems, and formal assessments |
What evidence should an AI pentest produce?
A credible report lets another engineer understand and reproduce the issue without trusting the model. At minimum, it should identify the affected asset, summarize the security impact, show the request sequence, preserve relevant tool output, and state whether the action was performed against production or an isolated environment.
The report should separate confirmed vulnerabilities from hypotheses and informational observations. Severity labels are useful only after reproduction. A finding that depends on an authenticated role should record that role and the preconditions that made the action possible.
- Scope and exclusions used for the run.
- Affected asset and endpoint, including the relevant request and response.
- Commands or tool calls that produced the evidence.
- Preconditions, privileges, and steps required to reproduce the issue.
- Confidence, impact, and remediation hypothesis.
- Retest status after the fix is deployed.
How do you run AI pentesting safely?
Start with an owned lab environment or a tightly scoped staging deployment. Define a deny list for destructive paths, require approval for sensitive commands, and record outbound traffic. Do not treat an LLM prompt as a security boundary.
ARTEX records traffic, exposes command activity, and supports interception rules and approval records. Those controls are operational aids, not a substitute for legal authorization, change control, or senior review of critical findings.
- Use a dedicated test workspace whenever the target could contain customer data.
- Set rate limits and exclude destructive HTTP methods or business actions.
- Review model credentials, network egress, and tool permissions before the run.
- Keep production changes reversible and time-box active testing.
- Escalate impact-bearing findings to a human security owner before further exploitation.
What should a credible AI pentesting workflow include?
Evaluate the complete engagement path, not only the agent demo. A credible workflow starts with authorization and scope, makes execution observable, keeps evidence connected to the finding, supports remediation ownership, and can repeat the original test after a fix. These are operational requirements that remain useful even when the underlying model changes.
Ask the vendor to demonstrate an unsuccessful test and a blocked action as well as a successful exploit. Those examples reveal how the system handles uncertainty, how quickly an operator can intervene, and whether the evidence trail remains coherent when the agent does not get the result it expected.
- Authorization and scope are explicit, editable records.
- The product identifies which model and tools executed each step.
- Findings separate confirmed behavior from speculative risk.
- The console exposes traffic and commands without requiring another system.
- Retesting can be assigned and completed after remediation.
Where does ARTEX fit in a security program?
ARTEX is a console for running autonomous security agents against authorized targets. Its planner and workers share an asset graph and an exploration graph, while findings, traffic, commands, and approvals stay attached to the task. The system can be self-hosted as a single binary or Docker Compose stack, and the source is available under AGPL-3.0.
Use ARTEX for recurring reconnaissance, web and API testing, lab research, and retesting known findings. Keep manual testers for judgment-heavy engagements and use deterministic scanners for broad regression coverage. The strongest program combines all three instead of claiming one method replaces the others.
Frequently asked questions
Is AI penetration testing safe for production?
Only with explicit authorization, scoped credentials, rate limits, exclusions, and approval for high-impact actions. Start in staging or an isolated lab, then expand only after reviewing traffic and guardrails.
Can AI replace human penetration testers?
Not as a blanket replacement. AI agents are useful for repeated exploration and evidence collection, but humans still set scope, judge business impact, approve sensitive actions, and review complex findings.
Does ARTEX work against external and internal targets?
ARTEX is designed to explore authorized assets through its asset and exploration graphs. Use it only against systems you own or have written permission to test, and configure network and approval boundaries for internal work.
What makes an AI pentest result trustworthy?
Reproducible evidence, a clear scope, reproducible commands and traffic, severity justification, and a retest result. A natural-language explanation without supporting evidence is not enough.
Is ARTEX open source?
The public ARTEX repository is distributed under AGPL-3.0 and can be inspected and self-hosted. Check the repository license and current source before deploying it in your environment.
References and review notes
Start with source. Test with authorization.
Review the public ARTEX repository, run it in an owned lab, and keep human approval on actions that can change a target.
ARTEX