How crowinnovations/artex works
ARTEX is a self-hosted autonomous penetration-testing platform. An operator starts a task; the engine coordinates planner and worker agents, which use real tools to explore targets and write findings and observations into linked asset and exploration graphs. Captured traffic supports evidence-backed findings and retests. Scope controls, approvals, budgets, and egress safeguards constrain execution. The Go server exposes task, findings, traffic, and system features to the embedded web UI. The README documents the principal workflow and capabilities; several implementation links below rely on those statements because the relevant source was not excerpted.
Main entry points: worker.go Worker agents · server.go HTTP service · engine.go Task engine · page.tsx Findings views
Components 22
Task orchestration
- Task engine
server/engine.go - Planner
agent/planner.go - Worker agents
agent/worker.go - Agent tools
agent/tools.go - Scan ingestion
agent/scan_ingest.go - LLM provider
agent/provider.go
Execution controls
- Scope and egress
egress/egress.go - Action guard
guard/guard.go - Interception approvals
intercept/intercept.go
Evidence and data
- LLM recording
llmrec/llmrec.go - Recording proxy
traffic/traffic.go - Shared asset graph
db/assets.go - Task exploration graph
db/exploration.go - Traffic evidence
evidence/store.go - PostgreSQL store
db/db.go
User interface
- HTTP service
server/server.go - Web console
web/src/app/(main)/dashboard/page.tsx - Task management
web/src/app/(main)/function/tasks/page.tsx - Findings views
web/src/app/(main)/function/findings/page.tsx - Traffic views
web/src/app/(main)/function/traffic/page.tsx
Other components
- Operator
- Test target
Connections 22
- Operator → Web console: uses
README.md - Web console → HTTP service: requests
- HTTP service → Task engine: coordinates
server/server.go - Task engine → Planner: runs planning
README.md - Planner → Worker agents: dispatches intents
README.md - Worker agents → Agent tools: executes tools
README.md - Worker agents → Task exploration graph: writes progress
README.md - Worker agents → Shared asset graph: writes observations
README.md - Worker agents → Scope and egress: routes egress
- Worker agents → Action guard: checks actions
- Worker agents → Interception approvals: requests review
README.md - Agent tools → Scan ingestion: ingests scans
- Test target → Recording proxy: sends traffic
README.md - Recording proxy → Traffic evidence: records exchanges
README.md - Traffic evidence → PostgreSQL store: persists evidence
evidence/store.go - LLM provider → LLM recording: streams completions
llmrec/llmrec.go - LLM recording → PostgreSQL store: records usage
llmrec/llmrec.go - Findings views → HTTP service: requests findings
server/server.go - Traffic views → HTTP service: requests traffic
server/server.go - Task management → HTTP service: manages tasks
web/src/app/(main)/function/tasks/page.tsx - Findings views → Shared asset graph: shows asset context
- Task engine → Task exploration graph: reads situation
README.md