How yean-sec/strikeagent_atkbrain-flash works
StrikeAgent is an AI-assisted, authorized penetration-testing console. Users configure a model and scoped single-target or cluster project, then start a hunt; the scheduler runs Pi agents against an attack graph, with findings available for secondary verification/rating and report export. The README also describes memory distillation, chat steering, and optional proxy-pool routing. The diagram emphasizes relationships visible in the README or source index; several product capabilities are represented at subsystem level because their implementation excerpts were not sampled.
Main entry points: routes.py REST API · scheduler.py Hunt scheduler · store.py Attack graph store · pi_runtime.py Pi runtime
Components 24
Console and API
- Web application
frontend/src/App.tsx - Project console
frontend/src/pages/ProjectPage.tsx - REST API
backend/atkbrain/api/routes.py - Authentication
backend/atkbrain/auth/routes.py - UI theme
frontend/src/theme.ts
Hunt orchestration
- Hunt scheduler
backend/atkbrain/engine/scheduler.py - Agent session
backend/atkbrain/agents/session.py - Pi runtime
backend/atkbrain/agents/pi_runtime.py - Tool execution
backend/atkbrain/exec/runner.py - Target scope
backend/atkbrain/scope.py - Track objectives
backend/atkbrain/objective.py
Attack analysis
- Intranet reach
backend/atkbrain/engine/intranet_reach.py - Attack graph store
backend/atkbrain/graph/store.py - Graph model
backend/atkbrain/graph/model.py
Finding assurance
- Finding review
backend/atkbrain/review/jobs.py - Report generation
backend/atkbrain/report/generator.py - Learning memory
backend/atkbrain/memory/store.py
State and integrations
- Application database
backend/atkbrain/db.py - Project events
backend/atkbrain/events.py - Project management
backend/atkbrain/projects.py - Proxy pool
backend/atkbrain/proxy/pool.py - Runtime configuration
backend/atkbrain/config.py - Translations
backend/atkbrain/i18n/strings.py
Other components
- Operator
Connections 28
- Operator → Web application: uses
- Web application → Project console: routes to
frontend/src/App.tsx - Operator → Authentication: authenticates
- Operator → REST API: controls hunts
- REST API → Project management: manages projects
backend/atkbrain/api/routes.py - REST API → Hunt scheduler: controls runs
backend/atkbrain/api/routes.py - REST API → Attack graph store: reads graph
backend/atkbrain/api/routes.py - REST API → Report generation: requests reports
backend/atkbrain/api/routes.py - Hunt scheduler → Pi runtime: starts runtime
backend/atkbrain/engine/scheduler.py - Hunt scheduler → Project management: loads projects
backend/atkbrain/engine/scheduler.py - Hunt scheduler → Project events: publishes events
backend/atkbrain/engine/scheduler.py - Agent session → Pi runtime: uses runtime
backend/atkbrain/agents/session.py - Agent session → Target scope: uses scope
backend/atkbrain/agents/session.py - Pi runtime → Finding review: supports review
backend/atkbrain/agents/pi_runtime.py - Pi runtime → Tool execution: runs tools
backend/atkbrain/agents/pi_runtime.py - Intranet reach → Target scope: checks boundaries
backend/atkbrain/engine/intranet_reach.py - Intranet reach → Attack graph store: uses graph state
backend/atkbrain/engine/intranet_reach.py - Attack graph store → Application database: persists graph
backend/atkbrain/graph/store.py - Attack graph store → Project events: records changes
backend/atkbrain/graph/store.py - Attack graph store → Graph model: uses model
backend/atkbrain/graph/store.py - Project management → Application database: stores projects
backend/atkbrain/projects.py - Finding review → Hunt scheduler: reuses live agent
backend/atkbrain/review/jobs.py - Agent session → Finding review: runs review
backend/atkbrain/agents/session.py - Tool execution → Proxy pool: uses when enabled
- Operator → Learning memory: benefits from learning
- Operator → Proxy pool: configures optionally
- Runtime configuration → Pi runtime: configures model
backend/atkbrain/config.py - Project console → UI theme: uses styling