Pre-launch

Black CTF

A multi-tenant platform for running cybersecurity competitions, with sandboxed challenges.

Role
Built by our CEO as AI engineer & IoT expert at Black Byt3
Country
Pakistan
Year
2026 – present
Services
MLOps & cloud · Web platforms
Industry
AI, security and engineering tools

Highlights

  1. 01

    Next.js 15 on Cloud Run with PostgreSQL 16 and one schema per tenant.

  2. 02

    Real-time leaderboards built on CQRS and server-sent events.

  3. 03

    A custom Kubernetes operator in Go that launches each challenge in a gVisor sandbox on GKE Autopilot.

The brief

Built at Black Byt3, a cybersecurity company. Organisers run capture-the-flag events for their own teams on shared infrastructure. Each tenant has its own database schema, each challenge runs in its own sandbox, and the leaderboard updates live.

Also built

  1. 04

    HMAC-signed dynamic flags, so a flag copied from another team is worthless.

  2. 05

    Infrastructure in Terraform, delivered by ArgoCD GitOps, with Stripe tiers for billing.

The system, layer by layer

Five layers, one product.

Highlighted: the layer that carries the most weight.

  1. L1Web

    • Next.js 15 on Cloud Run
    • Live leaderboard over SSE
  2. L2Platform

    • CQRS read and write models
    • HMAC-signed dynamic flags
    • Stripe tiers
  3. L3Data

    • PostgreSQL 16
    • One schema per tenant
  4. L4Challenge runtime

    • Custom Go Kubernetes operator
    • GKE Autopilot
    • gVisor sandbox per challenge
  5. L5Delivery

    • Terraform
    • ArgoCD GitOps

Stack

  • Next.js 15
  • Cloud Run
  • PostgreSQL 16
  • Go
  • Kubernetes
  • GKE Autopilot
  • gVisor
  • Terraform
  • ArgoCD
  • Stripe

Next case · 06 / 57

Canvas Video Studio

Our own video studio, where every frame of a film is drawn in code.

Previous: Legal-AI

Building for AI and security? See more work in this industry, or tell us about yours.