Skip to main content

Learning Guide β€” TraderX Security Lab (Planned): purpose, walkthrough, and related learning states.

Security Lab architecture

This is the target trust-boundary model, not a claim that every integration is live.

Diagram source
flowchart TB
  learner[Browser and test runner] --> edge[TLS gateway and WAF]
  learner --> identity[OIDC provider]
  edge --> api[Identity-aware trading APIs]
  edge --> broker[NATS scoped WebSocket identities]
  api --> broker
  api --> db[PostgreSQL service roles]
  broker --> worker[Trading workers]
  worker --> db
  runtime[Runtime observation and enforcement] -.-> api
  runtime -.-> worker
  api -.-> evidence[Independent evidence collector]
  db -.-> evidence
  broker -.-> evidence

Application workloads have dedicated tokenless service accounts, restricted execution and bounded resources. Default-deny ingress/egress surrounds explicitly permitted dependencies. Operator routes are a separate access boundary. The assumed-compromise fixture shares only deliberately specified service authority; its evidence collector and reset authority remain outside that trust boundary.

Canonical detailed architecture and control inventory are in the C3 profile system artifacts. Generation of final deployment and derived architecture views is still pending.