Skip to content

About

Investigation-style CTF set in fictional Rivermouth, MO — contamination cover-up uncovered through cybersecurity skills

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

92 Commits

Folders and files

Repository files navigation

Rivermouth CTF

A narrative cybersecurity investigation platform built around a fictional coastal town.

Overview

Rivermouth CTF is a capture-the-flag competition where players investigate interconnected services to uncover a story of environmental contamination and corporate cover-up. Unlike traditional CTFs that present disconnected puzzles, challenges here are embedded in realistic websites spanning a full town: municipal services, a school district, a corporate site, a local newspaper, a medical portal, and more.

Services

The platform runs 10 application services plus supporting infrastructure:

  • Municipal (Flask): RPCA, Town Hall, DPW, Library
  • School District (Express)
  • Greyline Corporate (Next.js)
  • Greyline Facility (Nginx)
  • Tristate Environmental (Apache + PHP)
  • Rivermouth Register (WordPress)
  • Social Profiles (Nginx static)
  • Medical Portal (Express)
  • AI Chatbots (FastAPI + Ollama)
  • CTF Frontend (SvelteKit)

Infrastructure: CTFd platform, MariaDB, Redis, Ollama LLM.

Requirements

  • Docker and Docker Compose
  • At least 8 GB of available RAM
  • scripts/flags.json populated with challenge flags (not included in repository)

Setup

  1. Copy .env.example to .env and fill in the required values.
  2. Create scripts/flags.json with the challenge flag data.
  3. Start all services:
docker compose up -d
  1. Seed challenges into CTFd:
python scripts/seed-challenges.py http://localhost:8000

Structure

services/         Application services (one directory per service)
scripts/          Generators, seed scripts, and utilities
scripts/generators/   Data generators for challenge artifacts

About

Investigation-style CTF set in fictional Rivermouth, MO — contamination cover-up uncovered through cybersecurity skills

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages