How cubemastery/cubectf-2026 works
CubeCTF-2026 is an attack/defense suite of independently implemented services. The README identifies seven services; the tree has no doors service source, so that runtime is not mapped. Shown internal edges follow excerpts or SOURCE INDEX references; unsampled service internals are represented only at their known entry points.
Main entry points: handlers Donor handlers · server.py Casino TCP server · routes.py Flightplan routes · binapi.py Binary API
Components 29
Donations
- Donor HTTP server
donor/service/src/server.js - Donor routes
donor/service/src/routes.js - Donor handlers
donor/service/src/handlers - In-memory state
donor/service/src/state.js - Domain model
donor/service/src/model.js - Parsing and utilities
donor/service/src/util.js - Response formatting
donor/service/src/response.js
Flight planning
- Flightplan clients
flightplan/service/client - Flightplan app
flightplan/service/main.py - Flightplan routes
flightplan/service/routes.py - Authentication
flightplan/service/auth.py - Plan operations
flightplan/service/flightplans.py - SQLite database
flightplan/service/database.py
Secure messaging
- Messaging TUI
noise/service/noise_client.py - Binary API
noise/service/noise/binapi.py - Binary protocol
noise/service/noise/binproto.py - Cryptography
noise/service/noise/crypto.py - Messaging service
noise/service/noise/service.py - Message models
noise/service/noise/models.py - Messaging database
noise/service/noise/db.py
Other services
- Casino TCP server
vegas/service/vegas/server.py - Casino commands
vegas/service/vegas/commands.py - Casino state
vegas/service/vegas/database.py - Share service
shaas/service/main.py - Native share code
shaas/src/share.c - Telescope service
telescope/service/src/main.cpp - Casino configuration
vegas/service/vegas/config.py - Casino session
vegas/service/vegas/session.py
Other components
- Service users
Connections 27
- Service users → Donor HTTP server: send requests
- Donor HTTP server → Donor routes: dispatches to
donor/service/src/server.js - Donor routes → Donor handlers: routes to
donor/service/src/routes.js - Donor handlers → In-memory state: reads and writes
donor/service/src/handlers/routing.js - Donor handlers → Domain model: uses
donor/service/src/handlers/routing.js - Donor handlers → Parsing and utilities: parses with
donor/service/src/handlers/routing.js - Donor handlers → Response formatting: returns responses
donor/service/src/handlers/routing.js - Service users → Flightplan app: use service
- Flightplan clients → Flightplan app: calls service
- Flightplan app → Flightplan routes: imports routes
flightplan/service/main.py - Flightplan routes → Authentication: uses authentication
flightplan/service/routes.py - Flightplan routes → Plan operations: calls plan operations
flightplan/service/routes.py - Flightplan routes → SQLite database: queries database
flightplan/service/routes.py - Plan operations → SQLite database: uses database
flightplan/service/flightplans.py - Service users → Messaging TUI: use messaging
- Messaging TUI → Binary API: calls API
noise/service/noise_client.py - Binary API → Cryptography: uses crypto
noise/service/noise/binapi.py - Binary API → Binary protocol: uses protocol
noise/service/noise/binapi.py - Messaging service → Cryptography: uses crypto
noise/service/noise/service.py - Messaging service → Message models: uses models
noise/service/noise/service.py - Service users → Casino TCP server: connect
- Casino TCP server → Casino commands: dispatches commands
vegas/service/vegas/server.py - Casino TCP server → Casino state: provides database
vegas/service/vegas/server.py - Casino TCP server → Casino configuration: uses settings
vegas/service/vegas/server.py - Casino TCP server → Casino session: creates session
vegas/service/vegas/server.py - Service users → Share service: use service
- Service users → Telescope service: use service