---
title: "How ARTEX Runs an Autonomous Penetration Test, End to End"
slug: "artex-autonomous-penetration-testing-how-it-works"
date: "2026-11-29"
tag: "Infrastructure"
products: []
summary: "How ibl.ai's verified ARTEX build runs an autonomous penetration test: a goal, a planner and workers, two linked graphs, findings tied to recorded traffic, approval gates, and nine steps from a fresh copy to nothing running."
author: "ibl.ai Engineering"
linkedin: |
  ibl.ai now runs ARTEX, an open-source autonomous penetration-testing platform, from a build anyone on your team can verify and inside a network lock that blocked 14 of 14 leak probes.

  ARTEX is not a chat window bolted onto a scanner. You give it a goal that names the target and what counts as proof. A planner splits that goal into intents, workers run real tools against them, and the results are written back into two linked graphs: what exists, and what was tried.

  Every finding can carry the captured request and response that justify it. Approval gates, scope rules and token budgets sit between the agent and anything risky.

  Our engineers keep a pinned, reproducibly built copy with a default-deny lock around it. It reaches only the systems you list, plus your model provider through one narrow exit. A practice target, OWASP Juice Shop in an isolated container, lets a security team see the whole loop before pointing it at anything real.

  It is one of the tools ibl.ai's team uses in the Evaluate stage of our AI Security service. With ibl.ai you own all the code and the data, and your security team receives the repository and can re-run every check.

  #iblai #AgenticAI #EnterpriseAI #AISecurity #PenetrationTesting #RedTeaming
---

**ibl.ai now runs ARTEX, an open-source autonomous penetration-testing platform, as a verified build inside a default-deny network lock: a planner and workers test only the systems you list, each finding stays tied to recorded traffic, and you own all the code and the data.**

ARTEX is one of the tools our team uses in the Evaluate stage of [AI Security](/service/ai-security). ARTEX was written by Autumn-27 and continued at BaaRai/ARTEX under AGPL-3.0. ibl.ai's engineers add verification and containment, and take no credit for the tool itself.

Every result below comes from tests of the tool and its lock dated **2026-11-25**.

## How does an autonomous penetration test run with ARTEX?

It starts from a goal that names the target and what counts as success, in at least **80 characters**: for example, prove one injection flaw at a named address and record the request and response that show it.

A planner dispatches intents only when a direction is still uncovered. A worker claims one intent, runs real tools (shell, Python, HTTP), writes what it learned back, and stops. Each change wakes the planner again, until the goal is proven.

<a href="/images/ai-security/artex-console-sessions.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/ai-security/artex-console-sessions.webp" alt="The ARTEX task Sessions tab: a left rail listing the main agent, the planner's situational analysis, system events and thirteen numbered workers, some marked Live, beside the operator's chat with the main agent about how to proceed." width="1600" height="1000" loading="lazy" decoding="async" /></a>

*Upstream's console screenshot, sample data for a fictional acme.com engagement: planner, workers and the operator chat.*

## What does ARTEX record about each step of a penetration test?

ARTEX keeps **two linked graphs**. The asset graph, shared across tasks, says what exists: domains, services, endpoints. The exploration graph, one per task, says what was tried, what it produced and why. Anchors tie each intent and finding to the assets it touched.

<a href="/images/ai-security/artex-console-graph.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/ai-security/artex-console-graph.webp" alt="The ARTEX exploration graph for one task: nodes for start, goal, intent, fact, vulnerability and hint, joined left to right by spawns, intent chain, yields and proves edges, with a minimap in the corner." width="1600" height="1000" loading="lazy" decoding="async" /></a>

*Upstream's console screenshot, sample data: the exploration graph of one task.*

A recording proxy on port **8788** and a browser extension capture real traffic. Findings, evidence quotes and retests are tied to the exact request and response, so a reviewer checks the proof, not the agent's word.

<a href="/images/ai-security/artex-console-findings.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/ai-security/artex-console-findings.webp" alt="The ARTEX Findings page with 17 sample findings: 2 critical, 8 high, 5 medium and 2 low, each row listing the asset, status, task and a count of traffic evidence, with Retest and Deepen actions." width="1600" height="1000" loading="lazy" decoding="async" /></a>

*Upstream's console screenshot, sample data: 17 findings by severity, each with its traffic evidence count.*

## How do approval gates keep an autonomous pentest agent in check?

Every autonomous action passes through human-in-the-loop approvals, rules on command prefixes, scope and deny gates, token and turn budgets, a noise governor for the target, and prompt-injection framing on tool output.

<a href="/images/ai-security/artex-console-intercept.webp" target="_blank" rel="nofollow noopener noreferrer"><img src="/images/ai-security/artex-console-intercept.webp" alt="The ARTEX Approval records page: one bash command pending approval, and five records showing which tool asked, the matched rule, its arguments, and whether it was allowed or denied, by the model or by a rule." width="1600" height="1000" loading="lazy" decoding="async" /></a>

*Upstream's console screenshot, sample data: 5 approval records, allowed, denied and pending.*

Around those brakes, ibl.ai's lock decides what the agent can reach at all. In the leak test, run as root inside the ARTEX container, **14 of 14** probes were blocked. Only the systems you list in `ALLOW_DOMAINS` or `ALLOW_CIDRS` are in scope, with no wildcards.

## What are the nine steps of an ARTEX test, from a fresh copy to nothing running?

The first pass uses a practice target: OWASP Juice Shop, a web application built to be insecure, in a container with no route to the internet that only ARTEX can reach, at `172.30.96.10:3000`.

<table style="width:100%; border-collapse:collapse; margin:1.5rem 0; font-size:0.95rem;">
  <thead>
    <tr style="background:#f5f5f0; border-bottom:2px solid #2175C5;">
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">Step</th>
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">What happens</th>
      <th style="text-align:left; padding:0.75rem; color:#5f6368;">Command or screen</th>
    </tr>
  </thead>
  <tbody>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>1. Verify</strong></td><td style="padding:0.75rem;">Five checks; stop unless every line is <code>[ ok ]</code></td><td style="padding:0.75rem;"><code>ibl/verify.sh</code></td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>2. Start the lock</strong></td><td style="padding:0.75rem;">Builds, checks hashes, starts, runs the leak test; stops the stack if anything gets out</td><td style="padding:0.75rem;"><code>ibl/deploy/up.sh</code></td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>3. Set the password</strong></td><td style="padding:0.75rem;">One-time setup token, then at least 12 characters</td><td style="padding:0.75rem;"><code>http://127.0.0.1:8787</code></td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>4. Choose a target</strong></td><td style="padding:0.75rem;">The practice target, or a system you are authorised to test</td><td style="padding:0.75rem;"><code>ibl/deploy/practice.sh up</code></td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>5. Connect a model</strong></td><td style="padding:0.75rem;">A dedicated, spend-limited key, through the proxy</td><td style="padding:0.75rem;">System → LLM → Create</td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>6. Create a task</strong></td><td style="padding:0.75rem;">A goal naming the target and the proof</td><td style="padding:0.75rem;">Tasks → New task</td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>7. Watch it work</strong></td><td style="padding:0.75rem;">Progress, each command, recorded traffic, findings</td><td style="padding:0.75rem;">Tasks, Tool Execution, Traffic, Findings</td></tr>
    <tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>8. Check it stayed inside</strong></td><td style="padding:0.75rem;">Lists every destination the lock refused</td><td style="padding:0.75rem;"><code>ibl/deploy/dc.sh exec netguard nft list set inet netguard denied</code></td></tr>
    <tr style="background:#f0f9ff; border-bottom:1px solid #e5e7eb;"><td style="padding:0.75rem;"><strong>9. Clean up</strong></td><td style="padding:0.75rem;">Nothing left running; findings kept unless you add <code>-v</code></td><td style="padding:0.75rem;"><code>ibl/deploy/practice.sh down</code>, <code>ibl/deploy/dc.sh down</code></td></tr>
  </tbody>
</table>

Steps 1 to 4, 8 and 9 were run as written, including ARTEX reaching the practice target (HTTP 200) and the target failing to reach the internet. Steps 5 to 7 were checked against the console's screens. No task has yet been run with a live model in these tests.

## Where does ARTEX fit in ibl.ai's AI Security service?

The [AI Security](/service/ai-security) service has **three stages**: Evaluate, Assess and Secure. ARTEX is one tool in the first. The service is broader: AI red teaming of models, agents and MCP servers, posture assessment, and defensive agents your team keeps running.

In an engagement, your security team receives ibl.ai's ARTEX build and can re-run every check itself: `ibl/verify.sh` passes **5 of 5**, and the leak test is one command. Our team stays on afterwards with updates and new agents.

For sites with no outside network, see [Air-Gapped AI](/service/air-gapped-ai) and [deployment options](/deployment).

## What else is in the ARTEX series?

- [A pentest agent built so you can verify it](/updates/artex-reproducible-build-verified-pentest-agent)
- [The default-deny network lock and its leak test](/updates/artex-default-deny-network-lock-leak-test)
- [A dedicated VM behind three firewalls, on AWS](/updates/artex-dedicated-vm-three-firewalls-aws-terraform)
