HackFare is a real-time competitive 1v1 cybersecurity matchmaking arena. Players race to breach dynamically provisioned target containers in an isolated environment. It redefines CTFs by making them competitive, fast-paced, and adversarial.
Features
Ranked Matchmaking with an automated Elo system
True isolation via bespoke Docker networks per match
Real-time Websockets for live feeds and terminal commands
Walkaway mechanism for tactical resignations
Interactive dashboard with match history
Tech Stack
Next.jsFastifyDockerPostgreSQLWebSockets
Screenshots
What I Learned
Implementing real-time communication using WebSockets and Fastify
Dynamically orchestrating Docker containers directly from a Node.js backend
Designing robust Elo matchmaking algorithms for competitive environments
Integrating Turbopack with Next.js 15 for lightning-fast frontend performance
Building secure, isolated network environments to prevent cross-contamination in CTFs
Future Improvements
Support for multi-player (team vs team) arena matches
Add more granular vulnerability challenges (e.g., specific CVE exploitation)
Implement a global leaderboard with seasonal resets
Introduce replays and terminal logging for post-match analysis