Secure Code Game
Spot and fix security bugs in real code, level by level
The Secure Code Game is a set of coding challenges from GitHub. Each level gives you a small program with a security flaw and a test suite; you find the problem and change the code so the tests pass without breaking the feature.
Free · Login needed · Browser · Beginner

About Secure Code Game
It trains secure coding in Python, C, Go, JavaScript and GitHub Actions. Later seasons cover defending LLM apps and AI agents. It suits beginners, and the AI seasons need no prior AI experience.
You copy the template repository and play in a GitHub Codespace in the browser, which uses your free monthly Codespaces hours. It is free and open source, and needs a GitHub account.
On Breakpoint since 25 Oct 2026.
Made this game? Claim it →

Tips and discussion
No tips yet. Solved it? Share how, and wrap answers in ||spoilers||.