How hongvincent/artex works
ARTEX is an AI-assisted autonomous penetration-testing system with a Go backend and Next.js interface. A user configures a task and scope, then the server’s event-driven engine coordinates planning and worker execution; resulting exploration state, assets, findings, and captured traffic are available for review. The README also documents asset synchronization, human approval, notifications, and LLM configuration. Backend links are based on the supplied source index and excerpts; some capability links are documented in the README, while unsampled implementation details are not inferred.
Main entry points: server.go HTTP API · worker.go Agent worker · manager.go Task manager · db Task and asset data
Components 18
Task orchestration
- Application startup
cmd/artex/main.go - Task manager
server/manager.go - Execution engine
server/engine.go
Penetration testing
- Task planner
agent/planner.go - Agent worker
agent/worker.go - Agent tools
agent/tools.go - Action guard
guard/guard.go - Approval intercept
intercept/intercept.go
Evidence and records
- Task and asset data
db - Traffic capture
traffic/traffic.go - Finding evidence
evidence/store.go - LLM call records
llmrec/llmrec.go - Finding reports
report/findings.go
User interface and integrations
- Web interface
web/src/app/(main)/dashboard/page.tsx - HTTP API
server/server.go - ScopeSentry
- Notification channels
notify/notify.go
Other components
- User
Connections 21
- User → Web interface: configures tasks
- Web interface → HTTP API: uses API
- Application startup → Task manager: creates
cmd/artex/main.go - Application startup → HTTP API: serves
cmd/artex/main.go - HTTP API → Execution engine: controls tasks
server/server.go - HTTP API → Task manager: resolves tasks
server/server.go - Execution engine → Task planner: runs planning
- Execution engine → Agent worker: runs work
server/engine.go - Agent worker → Agent tools: invokes tools
agent/worker.go - Agent worker → Task and asset data: records results
agent/worker.go - Agent worker → Approval intercept: gates actions
agent/worker.go - Action guard → Approval intercept: checks approvals
guard/guard.go - Task manager → Traffic capture: starts proxy
server/manager.go - Traffic capture → Task and asset data: indexes exchanges
traffic/traffic.go - Finding evidence → Traffic capture: preserves snapshots
evidence/store.go - Finding evidence → Task and asset data: stores bindings
evidence/store.go - LLM call records → Task and asset data: records usage
llmrec/llmrec.go - HTTP API → Finding reports: serves findings
server/server.go - Web interface → ScopeSentry: syncs assets
- Task manager → Action guard: configures checks
server/manager.go - HTTP API → Notification channels: manages delivery