How ruoji6/artex works
ARTEX is a self-hosted AI-assisted penetration-testing system. Users configure targets and goals, create or schedule tasks, and follow agent exploration through assets, findings, traffic, and reports; they can also review intercepted actions for approval. The backend exposes a JSON API, coordinates planner/worker execution, and persists task and evidence state. The README also documents MCP, ScopeSentry asset sync, notifications, and LLM-record inspection. Edges are limited to excerpted references and explicit README statements; unsampled feature wiring is not inferred.
Main entry points: server.go JSON API · engine.go Exploration engine · db Task and asset stores · worker.go Agent worker
Components 18
User experience
- Web console
web/src/app/(main) - JSON API
server/server.go
Task runtime
- Task manager
server/manager.go - Exploration engine
server/engine.go - Planner
agent/planner.go - Agent worker
agent/worker.go
Evidence and review
- Task and asset stores
db - Traffic recorder
traffic/traffic.go - Action approvals
intercept/intercept.go - Findings and reports
report - Evidence store
evidence/store.go
Integrations and operations
- LLM provider pool
llmpool/pool.go - LLM records
llmrec/llmrec.go - MCP services
mcphttp/client.go - ScopeSentry sync
server/sync_scopesentry.go - Notifications
notify/notify.go
Other components
- Operator
- GitHub releases
Connections 21
- Operator → Web console: uses
- Web console → JSON API: uses JSON API
- JSON API → Task manager: manages tasks
server/server.go - Exploration engine → Task manager: reads task state
server/engine.go - Exploration engine → Planner: runs planning
- Exploration engine → Agent worker: runs work
server/engine.go - Agent worker → Task and asset stores: writes exploration
agent/worker.go - Exploration engine → Task and asset stores: loads task state
server/engine.go - Task manager → Traffic recorder: starts proxy
server/manager.go - Agent worker → Action approvals: gates tool calls
agent/worker.go - JSON API → Action approvals: configures review
server/server.go - JSON API → Findings and reports: serves finding reports
server/server.go - Evidence store → Task and asset stores: uses database
evidence/store.go - Evidence store → Traffic recorder: uses traffic data
evidence/store.go - LLM records → Task and asset stores: records usage
llmrec/llmrec.go - JSON API → LLM records: exposes records
server/server.go - JSON API → MCP services: offers MCP access
- Operator → ScopeSentry sync: imports assets
- JSON API → ScopeSentry sync: provides sync endpoint
- JSON API → Notifications: configures notifications
- Operator → GitHub releases: checks updates