How yahmadi45/artex works
ARTEX is a self-hosted, LLM-driven penetration-testing platform. Operators configure and start tasks through the web UI; the backend engine coordinates planning and worker execution, then persists discoveries and evidence for review. The README documents the planner/worker loop, linked asset and exploration graphs, traffic capture, scope and approval controls, and budgets. Several links below are based on those documented capabilities; sampled excerpts do not expose all runtime wiring.
Main entry points: worker.go Worker · engine.go Task engine · db.go PostgreSQL · page.tsx Web UI
Components 20
Task orchestration
- Task engine
server/engine.go - Planner
agent/planner.go - Worker
agent/worker.go - Model providers
agent/provider.go
Testing and safeguards
- Isolated execution
sandbox/client.go - Scope and egress
egress/egress.go - Action approvals
intercept/intercept.go - Safety gates
guard/guard.go
Discovery and evidence
- Scan ingestion
agent/scan_ingest.go - Traffic capture
traffic/traffic.go - Finding workflow
agent/finding_workflow.go - Evidence store
evidence/store.go
Persistence and services
- Shared asset graph
db/assets.go - Exploration graph
db/exploration.go - PostgreSQL
db/db.go - Task archives
archivestore/s3.go
Other components
- Operator
- Test targets
Connections 21
- Operator → Web UI: configures tasks
README.md - Web UI → HTTP API: uses API
README.md - HTTP API → Task engine: controls tasks
- Task engine → Planner: dispatches rounds
README.md - Task engine → Worker: dispatches intents
README.md - Planner → Model providers: judges goals
- Worker → Model providers: requests analysis
- Worker → Isolated execution: runs tools
README.md - Worker → Scope and egress: constrained by
README.md - Worker → Action approvals: gated by
README.md - Worker → Safety gates: gated by
README.md - Test targets → Traffic capture: exchanges traffic
README.md - Traffic capture → Evidence store: records evidence
README.md - Worker → Scan ingestion: ingests scans
- Worker → Finding workflow: writes findings
README.md - Worker → Shared asset graph: writes assets
README.md - Worker → Exploration graph: writes progress
README.md - Finding workflow → Evidence store: links traffic proof
README.md - Shared asset graph → PostgreSQL: persists in
README.md - Exploration graph → PostgreSQL: persists in
README.md - PostgreSQL → Task archives: archives tasks