How anythinglinux/artex works
ARTEX is a self-hosted autonomous penetration-testing platform. An operator starts a task through the web interface; the event-driven engine plans uncovered intents, workers run tools, and their observations update linked exploration and asset graphs. Findings retain traffic evidence for review and retesting. Scope gates, approvals, and budgets constrain execution. The README documents these product flows and capabilities; sampled source and the source index confirm key modules and imports, but many runtime details were not excerpted, so uncertain connections are omitted.
Main entry points: server.go HTTP API · worker.go Planner and workers · engine.go Task engine · db PostgreSQL graphs
Components 22
Operator interface
- Task interface
web/src/app/(main)/function/tasks/page.tsx - Findings interface
web/src/app/(main)/function/findings/page.tsx - Traffic interface
web/src/app/(main)/function/traffic/page.tsx
Task orchestration
- HTTP API
server/server.go - Task engine
server/engine.go - Task manager
server/manager.go - Planner and workers
agent/worker.go
Knowledge and evidence
- PostgreSQL graphs
db - Scan ingestion
agent/scan_ingest.go - Traffic evidence
evidence/store.go - Reports and quality
report
Controlled execution
- Scope and approvals
guard/guard.go - Egress controls
egress/egress.go - Recording proxy
traffic/traffic.go - Run budgets
server/engine_budget.go - LLM audit records
llmrec/llmrec.go
External integrations
- LLM provider
llmpool/pool.go - Security tools
- Browser capture
extension/background.js - Object archive
archivestore/s3.go - Notifications
notify/notify.go
Other components
- Operator
Connections 24
- Operator → Task interface: starts task
- Task interface → HTTP API: submits requests
- HTTP API → Task engine: controls tasks
- Task engine → Planner and workers: plans and dispatches
- Planner and workers → PostgreSQL graphs: writes graph results
- Planner and workers → Security tools: runs tools
- Planner and workers → LLM provider: requests model calls
- Task engine → Task manager: coordinates task state
- Task manager → PostgreSQL graphs: loads task data
server/manager.go - Planner and workers → Scan ingestion: ingests scan output
- Scan ingestion → PostgreSQL graphs: records assets and facts
agent/scan_ingest.go - Task engine → Run budgets: enforces limits
server/engine_budget.go - Run budgets → LLM audit records: meters usage
server/engine_budget.go - Planner and workers → Scope and approvals: gates actions
- Scope and approvals → Egress controls: constrains network access
- Egress controls → Recording proxy: routes traffic
- Browser capture → Recording proxy: captures traffic
- Recording proxy → Traffic evidence: stores captured evidence
- Traffic evidence → PostgreSQL graphs: links traffic to records
evidence/store.go - HTTP API → Findings interface: serves finding data
- HTTP API → Traffic interface: serves traffic data
- HTTP API → Reports and quality: provides report data
server/server.go - HTTP API → Object archive: manages task archives
- HTTP API → Notifications: configures notifications