National Cyber Warfare Foundation (NCWF)login

Inside ARTEX: a multi-agent LLM platform for orchestrated authorized pentesting


0 user ratings
2026-10-30 07:29:08
milo
Red Team (CNA)
"Inside

ARTEX is a Go and Next.js autonomous penetration testing system that coordinates LLM planner and executor agents over asset graphs, for use strictly inside authorized assessments and lab environments.








ToolBaaRai/ARTEX — English-translation fork of an AI autonomous multi-agent penetration testing system (Go backend + Next.js frontend), AGPL-3.0, ~886 stars
CategoryLLM-driven offensive security orchestration platform
Primary UseRunning coordinated planner/executor LLM agents across an asset graph during scoped, contractually authorized penetration tests, with MITM traffic recording and vulnerability retesting
Safe UseDeployed exclusively by professionals against systems they own or are contractually authorized to test — internal labs, engagement scopes, and remediation-verification workflows
Telemetry NoteThe platform's own traffic proxy (-proxy :8788) and the extension/ capture agent generate visible HTTP sessions to targets; every agent action, approval, and finding is logged in PostgreSQL, leaving a full audit trail defenders can review

ARTEX, published at BaaRai/ARTEX, positions itself as a full autonomous penetration testing system built around large language models rather than a single-purpose scanner. The repository is an English translation of a Chinese-language project originally by Autumn-27, itself the author of the asset-discovery platform ScopeSentry, and it ships as a Go backend paired with a Next.js frontend under AGPL-3.0. What distinguishes it from the crowd of LLM wrapper scripts is the scope of the surrounding platform: task management, session and tool-call inspection, asset coverage graphs, MITM traffic recording, human-in-the-loop approvals, and a dedicated vulnerability retest workflow. This is tooling designed for professional engagement management, not fire-and-forget exploitation, and the whole architecture presupposes a scoped, authorized target environment.


The core execution model is multi-agent. A planner agent decomposes a task while worker agents execute against targets, with concurrency configurable in System Settings — three work agents per task by default. The README's screenshot tour makes the internal observability explicit: a dashboard with token usage and a live activity stream, task execution views showing sessions and tool calls, an exploration graph, findings, assets, agent management, and LLM configuration pages. From an operator's perspective this matters because LLM-driven testing is notoriously opaque; ARTEX surfaces the reasoning loop — sessions, tool invocations, and interception approvals — so a human reviewer can audit every step the agents took, which is exactly what you want when the deliverable is a defensible report.


A particularly interesting component is the bundled browser extension in extension/. Instead of scripting authentication, the operator simply browses the authenticated target themselves once — captchas, email OTP, and 2FA included — and the extension converts that browsing into agent-visible evidence. Text requests and responses are batched to POST /api/traffic/ingest with authentication, while binary bodies such as images and fonts are skipped, bodies are truncated at 256 KiB, and batches cap at fifty entries. The captured traffic lands in the same store as proxy-recorded sessions, where it can be searched and bound to findings. This elegantly sidesteps one of the hardest problems in automated testing: replaying complex authentication flows without storing credentials in the tool itself.


The traffic layer is rounded out by a built-in recording proxy. Common flags in start.sh expose -addr :8787 for the frontend and API and -proxy :8788 for traffic recording, so all agent-generated HTTP traverses a controllable interception point. The "Interception Approvals" screen ties into this: the system can pause on certain actions and require explicit human sign-off, with approval records expandable to full detail — the component design explicitly credits AegisHook's call-detail view. Human-in-the-loop gating is the single most important safety property for an autonomous offensive tool, and its first-class presence in the UI signals that the authors intend supervised operation rather than unsupervised aggression.


Asset intelligence comes from two directions. Natively, ARTEX builds an asset graph with a force-directed coverage view that highlights tested nodes and supports collapse/expand navigation, letting an operator literally see which parts of the scope the agents have and have not touched. Externally, the "Asset Sync" page accepts a ScopeSentry address and API key, then imports domains, subdomains, IPs, ports, sites, and endpoints by project or task, merged by company asset scope directly into the graph. This avoids duplicate reconnaissance when the organization already runs ScopeSentry for attack-surface discovery, and it keeps ARTEX anchored to a defined inventory rather than drifting into unscoped space.


The retest workflow deserves attention because it addresses a stage most offensive tooling ignores entirely: verification after remediation. The "Retest" tab on the task details page pages through a task's vulnerabilities with past conclusions and evidence, and starting a retest spawns an independent retest agent session with optional fields for the fixed version, test conditions, and limits. When the fix is confirmed, the vulnerability status updates accordingly, and the entry point is available from the flat list, the group-by-task view, and the asset view. This turns ARTEX into a closed loop for engagement follow-up — find, report, then prove the fix — which is where the billable value of authorized testing actually lives.


Deployment is deliberately boring, which is a compliment. The recommended path is git clone https://github.com/BaaRai/ARTEX.git followed by ./install.sh, which detects or installs Docker, then branches into an all-Docker path (docker compose up -d with an auto-written .env) or a local build that compiles a single embedded Go binary. Alternatively, cp .env.example .env and set POSTGRES_PASSWORD before bringing the stack up manually. The backend requires PostgreSQL, and exploration requires an LLM key — ANTHROPIC_API_KEY or OPENAI_API_KEY via environment or UI — with support for local Ollama as a keyless provider at http://127.0.0.1:11434/v1, a meaningful option for teams whose scoping rules forbid sending target data to third-party APIs. First boot opens http://localhost:8787 and /setup sets the admin password.


Operational details show mature engineering. The single binary embeds the frontend when built with -tags embedui; start.sh acts as a daemon wrapper that restarts the process after backoff if it crashes; and build.sh --release cross-compiles stripped archives for Linux and macOS on amd64/arm64 plus Windows amd64, with UPX compression off by default due to kernel and security-policy incompatibilities. Schema migration is idempotent — artex re-runs schema.sql on every start with ADD COLUMN and CREATE INDEX IF NOT EXISTS, so restart equals migrate — while scripts/backup.sh produces timestamped, rotated database dumps restorable via psql. Remote MCP servers are supported over Streamable HTTP or legacy SSE, extending the agent toolset with external integrations.


For network placement, the frontend, API, and SSE activity stream share one backend port, so a reverse proxy only needs to expose 443 and keep 8787 internal. The README warns that nginx must disable proxy_buffering with long proxy_read_timeout and proxy_http_version 1.1, or the SSE stream connects but never delivers events — a classic deployment trap documented before you hit it. NEXT_PUBLIC_SSE_BASE is only needed when the stream lives on a different origin, and only at build time since the variable is baked into the static bundle.


For defenders, ARTEX is worth studying as much as deploying. Every agent session, approval, and intercepted action is persisted in PostgreSQL, giving blue teams a complete audit record of machine-driven testing against their own estate. Its traffic proxy and capture extension produce ordinary HTTP request patterns that originate from known operator infrastructure, making it fully attributable within a monitored scope. As an educational artifact, it is one of the clearer public examples of how planner/executor agent architectures, asset graphs, and human approval gates compose into supervised autonomous testing — a design pattern increasingly relevant to both authorized red teams and the defenders who must understand them.



Official project repository for BaaRai/ARTEX.

Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.






Source: OffensiveSec
Source Link: https://www.offsecblog.com/2026/10/inside-artex-multi-agent-llm-platform.html


Comments
new comment
Nobody has commented yet. Will you be the first?
 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.