Skip to content
Projekte

Über uns

Autonomer Multi-Agent-KI-Pentester, der echte Exploits nachweist – die führende geprüfte und aus dem Quellcode erstellte englische ARTEX-Version mit OAST, Repeater und Browser-Tools.

Sicherheit und Datenschutz

So werden diese Zahlen gemessen

What you can do

  • Autonomous multi-agent orchestration: A Goals agent structures objectives, an event-driven Planner maintains the exploration graph, and concurrent Workers (live-scalable 1–50 across a multi-model pool) execute intents. A Main Conversation Agent lets operators steer, pause, resume, or re-steer closed tasks in place.
  • Full offensive toolchain: Shell and file tools with per-command resource guards, Playwright MCP/CLI + bundled Chromium, preinstalled locked api-recon runtime, custom Python tools, DNS/network recon, and raw SYN scans with nmap.
  • Traffic capture, Repeater & identity diffing: Embedded MITM recording proxy with SQLite FTS5 trigram search, a Burp-style Repeater preserving raw request targets, and diff_identity for deterministic BOLA/IDOR comparison across recorded exchanges.
  • Out-of-band callback fabric (OAST): Opt-in loopback HTTP callback listener (ARTEX_OAST=1) exposing oast_token and oast_poll for blind SSRF, XXE, and OOB injection confirmation.

Gemessener Sternzuwachs

in 24h
+10
in 7 days
+134
in 15 days
+253
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

[!NOTE] v0.3.32-failsafe.1 is live: built from audited upstream v0.3.32 source with a full English console, Burp-style Repeater, multi-model worker pools with live scaling, task intelligence, optional /mcp server, opt-in HTTP OAST callback fabric (oast_token / oast_poll), and diff_identity authorization comparison.

FailSafe ARTEX — Source-built autonomous AI pentesting platform

CI Latest Release GitHub Stars GitHub Forks License: AGPL-3.0 Go 1.26 Upstream Base

The top open-source derivative of ARTEX — autonomous multi-agent AI pentesting, built from audited source.

FailSafe ARTEX decomposes objectives, explores targets with concurrent specialist workers, executes real tools and browser automation, captures HTTP traffic, and validates evidence-backed findings. Source-built, locally bound, full English interface.

This repository is FailSafe ARTEX: the leading English, community-ready open-source distribution you can build, fork, and run yourself.

Launch FailSafe ARTEX

cp .env.safe.example .env.safe && chmod 600 .env.safe
docker compose --env-file .env.safe -f docker-compose.safe.yml up -d --build

Edit .env.safe with a strong POSTGRES_PASSWORD (and optional LLM key), then open http://127.0.0.1:8787.


FailSafe Website   Managed Runs & GlassBreak   Source Audit


[!TIP] AI agents and LLMs: start with llms.txt for a concise map of this repository, architecture, hardening invariants, and documentation links.

Table of Contents

What is FailSafe ARTEX?

FailSafe ARTEX is a source-built, locally bound, English-language distribution of ARTEX, maintained by FailSafe Cyber Frontier Labs — the team behind GlassBreak and FailSafe's managed security-testing runtime.

It compiles directly from audited upstream source (v0.3.32), preserves full upstream offensive testing capabilities (Node 22, Playwright MCP/CLI, bundled Chromium, nmap raw SYN scans, MITM recording proxy, custom Python tools, and skills), and adds supply-chain pinning, deployment hardening, a full English UI/backend, fast compressed static delivery, opt-in HTTP OAST callbacks, and recorded-exchange identity diffing.

Why FailSafe ARTEX Exists

In November 2026, public analysis discovered that prebuilt Docker images published under tomicdd/artex (and mirrors such as congdonglinux/artex) contained an unauthenticated command-execution backdoor (verifyCaptcha) injected into the image binary — absent from the GitHub source.

Security teams wanted ARTEX's multi-agent capability without pulling opaque prebuilt images or working around Chinese-only prompts and UI. FailSafe ARTEX solves this by auditing upstream diffs release by release, compiling everything reproducibly from source, pinning base images and browser packages, and shipping a clean English experience.

Why Source-Built and Audited?
  • Zero prebuilt ARTEX images: Dockerfile.safe builds both the Next.js static console and the Go binary from this repository on digest-pinned base images.
  • No remote self-update: online release checks and binary downloads are compiled off (selfupdate.Enabled = false).
  • Repeatable verification: make verify checks every built image for known implant indicators, verifies Playwright/Chromium execution and nmap -sS, and prints the binary SHA-256 and image ID.
  • Public audit trail: every imported upstream release is reviewed and documented under audit/.

Not a Replacement for Human Pentesters

Autonomous agents excel at broad, relentless exploration: enumerating attack surface, testing authorization boundaries, correlating traffic, retesting fixes, and surfacing concrete PoCs across staging and internal apps that rarely get manual attention. Expert human pentesters remain essential for deep business-logic chaining, threat modeling, and judgment. FailSafe ARTEX lets humans steer mid-run through the Main Conversation Agent, hints, and the built-in Repeater.

Quick Start

[!WARNING] Authorized testing only. ARTEX runs autonomous agents that execute shell commands, drive a real browser, and send active network traffic. Use it only against systems you own or have explicit written authorization to test.

Prerequisites

  • Docker Engine with Compose v2 (standalone docker-compose also works; make detects either).
  • ~5 GB free disk (Node 22, Playwright, and Chromium account for most of the image).
  • An LLM provider key — Anthropic, OpenAI (Chat Completions or Responses API), Google Gemini, OpenAI-compatible gateways/local models, or GlassBreak.

Run with Docker Compose

cp .env.safe.example .env.safe
chmod 600 .env.safe
# Edit .env.safe: set POSTGRES_PASSWORD and, optionally, an LLM API key
docker compose --env-file .env.safe -f docker-compose.safe.yml up -d --build

Open http://127.0.0.1:8787 and complete first-run password setup. If you left the LLM key blank, configure one or more profiles under System → LLM before launching a task.

Common lifecycle commands:

# Check container status and health
docker compose --env-file .env.safe -f docker-compose.safe.yml ps

# Follow backend logs
docker compose --env-file .env.safe -f docker-compose.safe.yml logs -f artex

# Stop without deleting data
docker compose --env-file .env.safe -f docker-compose.safe.yml down

# Destroy everything, including PostgreSQL and evidence volumes
docker compose --env-file .env.safe -f docker-compose.safe.yml down -v

Reaching the Console Remotely

By default the compose file binds only to 127.0.0.1:8787 and does not publish the recording proxy (8788). Access a remote host safely over SSH:

ssh -L 8787:127.0.0.1:8787 user@host

If placing a reverse proxy in front, forward both / and /api/ to :8787 behind TLS and authentication. SSE event streams use same-origin URLs in production, so no second port needs to be exposed.

Build Without Docker

cd web
npm ci --ignore-scripts
npm run build:static
cd ..

rm -rf server/webui/dist
mkdir -p server/webui/dist
cp -R web/out/. server/webui/dist/

CGO_ENABLED=0 go build \
  -trimpath -buildvcs=false -tags embedui \
  -ldflags="-buildid= -X main.version=v0.3.32-failsafe.1" \
  -o artex ./cmd/artex

Run ./artex -addr 127.0.0.1:8787 -proxy 127.0.0.1:8788 with ARTEX_PG_DSN pointing at PostgreSQL. The bare binary does not bundle Node, Playwright, Chromium, or recon CLI tools — use Dockerfile.safe for full runtime capability.

Key Capabilities

  • Autonomous multi-agent orchestration: A Goals agent structures objectives, an event-driven Planner maintains the exploration graph, and concurrent Workers (live-scalable 1–50 across a multi-model pool) execute intents. A Main Conversation Agent lets operators steer, pause, resume, or re-steer closed tasks in place.
  • Full offensive toolchain: Shell and file tools with per-command resource guards, Playwright MCP/CLI + bundled Chromium, preinstalled locked api-recon runtime, custom Python tools, DNS/network recon, and raw SYN scans with nmap.
  • Traffic capture, Repeater & identity diffing: Embedded MITM recording proxy with SQLite FTS5 trigram search, a Burp-style Repeater preserving raw request targets, and diff_identity for deterministic BOLA/IDOR comparison across recorded exchanges.
  • Out-of-band callback fabric (OAST): Opt-in loopback HTTP callback listener (ARTEX_OAST=1) exposing oast_token and oast_poll for blind SSRF, XXE, and OOB injection confirmation.
  • Evidence-backed findings, cases & retests: Findings retain task/asset lineage, bound HTTP traffic, reproduction screenshots, AI auto-merge into unified cases, remarks/editing, IM/email/webhook notifications, and a dedicated retest workflow (reproduced, fixed, inconclusive).
  • Task intelligence & isolation: Automatic per-task credential/lead recording, per-task asset isolation by default (share_global_assets = false), topology visualization, task file browser, calendar schedules, proxy pool with failover, and one-click backup/restore.
  • Operational & external controls: Admin JWT auth, optional HTTP Basic Auth gate, optional scoped /mcp server (off by default), configurable command/asset intercept rules, optional LLM/Jev judge approvals, and fast Brotli/gzip + ETag static UI delivery.
  • Full English experience: Web console, agent prompts, tool descriptions, skills, and documentation are in English — guarded in CI by internal/englishguard.

Architecture

flowchart TD
    OP["Operator / API / Optional MCP"] --> GOALS["Goals Agent<br/>(objective & constraints)"]
    GOALS --> GRAPH[("PostgreSQL<br/>Exploration Graph · Assets · Findings")]
    GRAPH --> PLAN["Event-Driven Planner"]
    PLAN -- "Intents" --> WORK["Concurrent Workers (1–50)<br/>Multi-Model Pool"]

    WORK --> TOOLS["Shell · Python · Skills · Browser MCP"]
    WORK --> OAST["Opt-in OAST Listener<br/>(oast_token / oast_poll)"]
    TOOLS --> PROXY["MITM Recording Proxy<br/>(SQLite WAL + FTS5)"]
    PROXY --> TARGET["Authorized Target"]

    WORK -- "Assets · Facts · Intelligence · PoCs" --> GRAPH
    PROXY -- "Bound HTTP Evidence · diff_identity" --> GRAPH
    GRAPH --> REP["Reporter & Retester<br/>Cases · Reports · Notifications"]
    OP <--> MAIN["Main Conversation Agent<br/>(live steering & hints)"]
    MAIN <--> GRAPH
  1. Goal decomposition: Turns the engagement description into structured goals and operational constraints.
  2. Event-driven planning: Wakes on new facts, assets, findings, or operator hints, folds cold exploration branches into digests, and dispatches focused intents.
  3. Concurrent execution: Workers run in isolated per-intent directories through the recording proxy, browser stack, OAST fabric, and custom tools, writing discoveries back continuously.
  4. Evidence & reporting: Confirmed findings bind recorded traffic exchanges, deduplicate into cases via Reporter auto-merge, export cleanly, and support deterministic retests.

What Is Different From Upstream

Area Upstream v0.3.32 default FailSafe ARTEX (v0.3.32-failsafe.1)
Distribution Prebuilt images (tomicdd/artex had a backdoor in Nov 2026) Compiled from audited source; digest-pinned base images
Network exposure Console on 0.0.0.0:8787, proxy published on 8788 Console on 127.0.0.1:8787; proxy unpublished by default
CORS policy Reflects loopback origins with Allow-Credentials: true Wildcard origin, never Access-Control-Allow-Credentials
Static UI delivery Uncompressed, no cache validators Brotli/gzip compression, content-hash ETags, immutable chunks
Language Chinese / bilingual English-only (enforced by CI internal/englishguard)
Browser MCP & screenshots Seeded enabled with --ignore-https-errors, screenshots on Seeded disabled with pinned playwright-mcp --headless --no-sandbox; screenshots opt-in
Export & pause controls Markdown ZIP can read arbitrary data-dir paths; models can lift operator pauses ZIP export confined to findings/screenshots (symlink-checked); models cannot lift operator/schedule/proxy pauses
Online self-update Enabled, points upstream Compiled off (selfupdate.Enabled = false); repo fixed to failsafe-security/artex
Extra capabilities — Opt-in HTTP OAST fabric (oast/), diff_identity BOLA comparison, hot-path perf & WAL optimizations
Runtime parity Root + Node 22 + Playwright + Chromium + nmap Preserved (no-new-privileges + container mem/PID caps added in compose)

See UPSTREAM.md and audit/artex-v0.3.32-audit.md for the full line-by-line delta.

Self-Hosted OSS vs. Managed Runs & GlassBreak

Option Best for What you get
FailSafe ARTEX (OSS) Teams self-hosting on their own infrastructure Complete AGPL-3.0 source-built platform. Bring your own LLM keys (Anthropic, OpenAI, Gemini, or compatible gateways).
GlassBreak Model Access Self-hosted ARTEX needing a cyber-specialized model Rent access to GlassBreak, FailSafe's cyber-domain model tuned for authorized security testing with minimal false refusals.
Managed ARTEX Runs Teams wanting results without operating the runtime FailSafe hosts and operates ARTEX on isolated infrastructure with GlassBreak, scoping, evidence handling, and guardrails included.

Interested in managed runs or GlassBreak access? Reach out at [email protected] or https://getfailsafe.com/contact-us.

Recommended Models

ARTEX plans, calls tools, and iterates across dozens of turns. General consumer chat models routinely refuse legitimate reconnaissance, payload crafting, or exploitation verification even during authorized tests, wasting tokens and missing real bugs.

We recommend a cyber-specialized model with minimal refusal behavior on authorized security tasks. GlassBreak is FailSafe's cyber-grade model built specifically for this workload. Contact [email protected] for managed runs or API access.

Verify the Build & CI

Verify a locally built Docker image:

make verify

This asserts known implant markers (verifyCaptcha, tomicdd, congdonglinux) are absent from /app/artex, validates Node, Playwright MCP/CLI, headless Chromium launch, and nmap -sS, and prints the binary SHA-256 and image ID.

Every push and pull request runs four GitHub Actions jobs (.github/workflows/build.yml):

  1. test — go vet ./..., Python entrypoint & api-recon preflight suites, every Go test in its own isolated process against fresh PostgreSQL state (ci/go-tests-isolated.py), internal/englishguard, and worker prompt benchmarks.
  2. web-e2e — npm ci --ignore-scripts, static console build, embedded-UI Go binary build, and full HTTP/auth/compression/ETag/task E2E checks (ci/e2e_binary.py).
  3. integration — focused PostgreSQL lifecycle, prompt determinism, fail-closed auth, and disabled-updater regressions.
  4. build — verification-failure tests, full Dockerfile.safe build, make verify, preinstalled api-recon smoke test, and isolated internal-network runtime smoke test (ci/runtime_smoke.py).

Run local Go checks:

go vet ./...
ARTEX_PG_DSN=postgres://user:[email protected]:5432/artex_test?sslmode=disable go test ./...

Documentation

Guide Purpose
UPSTREAM.md Upstream provenance, deliberate changes from RuoJi6/ARTEX, and update policy
SECURITY.md Vulnerability disclosure, deployment hardening, supply chain, and residual risks
audit/artex-v0.3.32-audit.md Full source-import security audit of upstream v0.3.15 → v0.3.32
audit/artex-v0.3.15-audit.md Initial v0.3.15 source audit and November 2026 implant analysis
docs/oast.md Configuring and using the opt-in HTTP OAST callback fabric
docs/vulnerability-traffic-evidence.md How recorded HTTP evidence binds to findings and exports
HTTP_USER_AGENT.md Outbound HTTP User-Agent randomization and ARTEX_HTTP_USER_AGENT override
CHANGELOG.md Release-by-release changelog
CONTRIBUTING.md Contributor workflow, testing requirements, and gatekeeper invariants
llms.txt Concise repository index for AI coding assistants and LLMs

Safety, Scope, and Limitations

  • Active testing tool: Workers can mutate target state, create accounts, submit forms, and trigger outbound requests. Test only authorized targets (preferably staging/sandboxed environments).
  • Treat the console as admin-equivalent: Custom Python tools, shell execution, and MCP stdio servers execute code by design. Keep :8787 loopback-only or behind strong external auth + TLS.
  • Root inside the container: Preserved for nmap raw scans and runtime tool parity; rely on host/container isolation (no-new-privileges, loopback binding, egress filtering), not Chromium's internal sandbox.
  • Human verification: LLM-generated findings and reports should be reviewed before client delivery.

Read SECURITY.md before deploying.

Data and Secrets

  • Keep .env.safe at 0600 and out of version control.
  • Back up all three persistent Docker volumes: pgdata (PostgreSQL), artex_data (workspaces, traffic, evidence, archives), and artex_key (persisted JWT signing key).
  • Captured traffic, task intelligence, and backups may contain target credentials, cookies, tokens, and the MITM CA key — treat them as highly sensitive.

Roadmap & Ways to Contribute

FailSafe ARTEX is actively maintained as the top open-source derivative of ARTEX, and we welcome contributions, forks, and community skills that make autonomous security testing faster and sharper without compromising operator safety.

High-impact areas where PRs are especially welcome:

  • OAST Phase 2 (oast/): authoritative-only DNS and SMTP callback listeners, external/interactsh-compatible provider mode, and automatic finding promotion (poe_level=3).
  • Reporting & CI/CD outputs: SARIF 2.1.0 finding export for GitHub Code Scanning and CI security gates.
  • Skills & recon workflows (skills/): modular, locked-dependency security testing skills for APIs, auth flows, GraphQL, cloud misconfigurations, and modern SPAs.
  • Performance & reliability: faster graph queries, prompt-cache hit-rate wins, and regression coverage across providers.
  • Upstream security reviews: helping audit future RuoJi6/ARTEX releases under UPSTREAM.md.

Browse good first issue and help wanted issues, read CONTRIBUTING.md, and open a PR. If FailSafe ARTEX helps your team, consider starring or forking the repository to help more security engineers find an audited, English-first build.

License and Provenance

ARTEX is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). All FailSafe modifications are released under the same license. The original upstream README is preserved (in English) in README.upstream.md.

Common Questions

Can I self-host FailSafe ARTEX completely privately?

Yes. Everything runs on infrastructure you control (Docker Compose + PostgreSQL). FailSafe never sees your targets, findings, or model traffic. Point ARTEX at a local OpenAI-compatible runtime (Ollama, vLLM, LM Studio) to keep model traffic inside your network too.

Does FailSafe ARTEX support Bring Your Own Key (BYOK)?

Yes. You configure Anthropic, OpenAI (Chat or Responses API), Google Gemini, or any OpenAI/Anthropic-compatible gateway directly in .env.safe or System → LLM, with per-agent and multi-model worker pool routing.

Why is the browser MCP disabled by default?

Because Chromium runs as root with --no-sandbox inside the container to match upstream capability. Enabling it is a one-click opt-in in System → MCP (or via Report screenshots in Settings), while playwright-cli and the preinstalled api-recon runtime work out of the box via Bash.

How does FailSafe ARTEX prevent cross-engagement leakage?

Tasks isolate assets and companies per task by default (share_global_assets = false), and agents on isolated tasks cannot attach unlinked companies via add_task_scope. Operators can explicitly opt a task into shared global assets when needed.

Where can I report a security vulnerability?

Please do not open a public GitHub issue. Follow SECURITY.md to report privately via GitHub's private vulnerability reporting form or email.


Ähnliche Projekte entdecken

Wird geladen…