Skip to content
Secret Republic crown logo

Secret Republic

An open source, browser-based cyber security RPG. Break into servers, crack passwords and query databases, then design missions of your own.

Secret Republic is a browser-based role-playing game about cyber security. Players take missions from the Cardinal, an in-game AI with its own voice. In each mission they ping and scan servers, connect over SSH-style file services, read intercepted mail, crack protected accounts and run SQL against live databases. Everything runs in the browser with a minimal, app-like UI that works on phones, tablets and desktops.

The full game is open source under the MIT license, including the mission designer, so you can host your own world and write your own puzzles.

Point-and-click intrusion

Three server types (file/SSH, email and SQL database) to combine into multi-step puzzles.

In-game mission designer

Build servers, users, files, emails and objectives in the browser. Shortcodes give every player a randomized IP and their own name.

Skills, knowledge & rewards

Six upgradable skills, three knowledge trees, training runs, rankings and claimable rewards.

AI voice

A synthetic operator voice reacts to what you do: access granted, cracking initiated, command done.

Modern stack

PHP 8.5, FuelPHP 1.9 and MySQL 9.7, with one-command Docker setup and a web install wizard.

Open source

MIT licensed. Fork it, theme it, write missions, and please link back to the project.

Mission interface showing a CQL database challenge
Missions: SQL challenge on a database server
Cardinal mission designer editing servers and services
Mission designer
Skills page with upgradable cyber security skills
Skills
Terminal window
git clone https://github.com/nenuadrian/secret-republic-browser-based-cyber-security-rpg-v4.git
cd secret-republic-browser-based-cyber-security-rpg-v4
docker compose up -d --build
# open http://localhost:8080 and create the admin account