Skip to content

Architecture

CyberOrigen is built on a modern, scalable architecture designed for enterprise security and compliance workloads.

System Overview

┌─────────────────────────────────────────────────────────────────────┐
│                          PRESENTATION LAYER                          │
├─────────────────────────────────────────────────────────────────────┤
│                                                                      │
│   ┌───────────────────┐          ┌───────────────────┐              │
│   │   Admin Portal    │          │  Marketing Site   │              │
│   │   (React + Vite)  │          │  (React + Vite)   │              │
│   └─────────┬─────────┘          └─────────┬─────────┘              │
│             │                              │                         │
└─────────────┼──────────────────────────────┼────────────────────────┘
              │                              │
              ▼                              ▼
┌─────────────────────────────────────────────────────────────────────┐
│                            API LAYER                                 │
├─────────────────────────────────────────────────────────────────────┤
│                                                                      │
│   ┌───────────────────────────────────────────────────────────┐     │
│   │                   FastAPI Backend                          │     │
│   │                                                            │     │
│   │   • REST API endpoints (OpenAPI/Swagger)                   │     │
│   │   • JWT + MFA authentication                               │     │
│   │   • Rate limiting & request validation                     │     │
│   │   • Background task processing                             │     │
│   │                                                            │     │
│   └───────────────────────────────────────────────────────────┘     │
│                                                                      │
└─────────────────────────────────────────────────────────────────────┘


┌─────────────────────────────────────────────────────────────────────┐
│                          SERVICE LAYER                               │
├─────────────────────────────────────────────────────────────────────┤
│                                                                      │
│   ┌─────────────┐  ┌─────────────┐  ┌─────────────┐                 │
│   │ AI Service  │  │ Compliance  │  │   Email     │                 │
│   │             │  │   Mapper    │  │   Service   │                 │
│   │ • Anthropic │  │             │  │             │                 │
│   │ • OpenAI    │  │ • Control   │  │ • SMTP      │                 │
│   │ • Google    │  │   mapping   │  │ • Templates │                 │
│   └─────────────┘  └─────────────┘  └─────────────┘                 │
│                                                                      │
│   ┌─────────────┐  ┌─────────────┐  ┌─────────────┐                 │
│   │   Scanner   │  │    Risk     │  │  Evidence   │                 │
│   │   Service   │  │   Service   │  │   Service   │                 │
│   │             │  │             │  │             │                 │
│   │ • Vuln scan │  │ • Scoring   │  │ • Upload    │                 │
│   │ • Reports   │  │ • Heat maps │  │ • Organize  │                 │
│   └─────────────┘  └─────────────┘  └─────────────┘                 │
│                                                                      │
└─────────────────────────────────────────────────────────────────────┘


┌─────────────────────────────────────────────────────────────────────┐
│                           DATA LAYER                                 │
├─────────────────────────────────────────────────────────────────────┤
│                                                                      │
│   ┌──────────────────────┐     ┌──────────────────────┐             │
│   │     PostgreSQL       │     │        Redis         │             │
│   │                      │     │                      │             │
│   │  • Primary database  │     │  • Session store     │             │
│   │  • SQLAlchemy ORM    │     │  • Rate limiting     │             │
│   │  • Alembic migrations│     │  • Job queue         │             │
│   │  • AES-256 encryption│     │  • Caching           │             │
│   │                      │     │                      │             │
│   └──────────────────────┘     └──────────────────────┘             │
│                                                                      │
└─────────────────────────────────────────────────────────────────────┘

Technology Stack

Frontend

ComponentTechnologyPurpose
FrameworkReact 18UI components
Build ToolViteFast development & builds
LanguageTypeScriptType safety
UI Libraryshadcn/uiComponent system
StylingTailwind CSSUtility-first CSS
StateTanStack QueryServer state management
ChartsRechartsData visualization

Backend

ComponentTechnologyPurpose
FrameworkFastAPIHigh-performance API
LanguagePython 3.12Server logic
ORMSQLAlchemyDatabase abstraction
MigrationsAlembicSchema versioning
Authpython-joseJWT handling
ValidationPydanticData validation

Infrastructure

ComponentTechnologyPurpose
ContainerDockerApplication packaging
OrchestrationDocker ComposeLocal development
DatabasePostgreSQLPrimary data store
CacheRedisSessions & caching
CloudEnterprise CloudProduction hosting
CDNGlobal CDNEdge caching

Security Architecture

Authentication Flow

┌──────────┐     ┌──────────┐     ┌──────────┐     ┌──────────┐
│  Client  │────▶│  Login   │────▶│   MFA    │────▶│  Access  │
│          │     │ (email/  │     │ (TOTP)   │     │  Token   │
│          │     │ password)│     │          │     │  (JWT)   │
└──────────┘     └──────────┘     └──────────┘     └──────────┘

Data Encryption

  • At Rest: AES-256-GCM for sensitive fields
  • In Transit: TLS 1.3 for all connections
  • Secrets: Managed secrets service

Multi-Tenancy

Organizations are isolated at the database level:

sql
-- All queries include organization context
SELECT * FROM controls WHERE organization_id = :org_id

Compliance Mapping

The platform maps controls across frameworks automatically:

┌─────────────┐
│   Control   │
│   Library   │
└──────┬──────┘


┌─────────────────────────────────────────────────┐
│              Compliance Mapper                   │
├─────────────────────────────────────────────────┤
│                                                  │
│  SOC 2    PCI-DSS   ISO 27001   HIPAA   GDPR   │
│    ↓         ↓          ↓         ↓       ↓     │
│  CC1.1    Req 1.1    A.5.1.1   164.312  Art 32 │
│                                                  │
└─────────────────────────────────────────────────┘

Deployment Models

Development

  • Docker Compose for all services
  • Hot reload enabled
  • Local database with seed data

Production

  • Container orchestration
  • Managed PostgreSQL database
  • Managed Redis cache
  • Object storage for evidence
  • CDN for static assets

Agentic AI-Powered Security & Compliance