GitPedia

Secure code game

Learn to code securely while having fun through our popular open source in-editor experience, designed for developers, students, and anyone curious about security. Get started for free in under 2 minutes, playing right from your browser.

From skills·Updated June 13, 2026·View on GitHub·

>> Read for more information about how to build courses using this template. Include a 1280×640 image, course name in sentence case, and a concise description in emphasis. In your repository settings: enable template repository, add your 1280×640 social image, auto delete head branches. Next to "About", add description & tags; disable releases, packages, & environments. Add your open source license, GitHub uses the MIT license. --> The project is written primarily in JavaScript, distributed under the MIT License license, first published in 2023. It has gained significant community traction with 2,763 stars and 361 forks on GitHub. Key topics include: ai, ai-security, code-security, coding-training, cybersecurity.

<header> <!-- <<< Author notes: Course header >>> Read <https://skills.github.com/quickstart> for more information about how to build courses using this template. Include a 1280×640 image, course name in sentence case, and a concise description in emphasis. In your repository settings: enable template repository, add your 1280×640 social image, auto delete head branches. Next to "About", add description & tags; disable releases, packages, & environments. Add your open source license, GitHub uses the MIT license. -->

📣 SEASON 4 JUST DROPPED, AND IT'S ALL ABOUT AGENTIC AI


<div align="center">

season-4-demo

</div>
</header>

Secure Code Game

Learn to code securely while having fun through our popular open source in-editor experience, designed for developers, students, and anyone curious about security. Get started for free in under 2 minutes, playing right from your browser. Over 10,000 players across industry and academia have already played. Visit gh.io/scg for testimonials and FAQs, and feel free to open a contribution to help make the game better for everyone.

In the latest season, you step inside a fully interactive AI coding assistant that turns natural language into bash commands, browses the web, connects to live data sources, runs org-approved skills, stores persistent memory, and orchestrates multi-agent workflows. Practice securing Agentic Workflows and Multi-Agent Communications as you work through five progressively harder levels. No AI or coding experience needed, just curiosity. Each season is self-contained, so you can jump straight into Season 3 or 4 without covering the earlier ones.


Pathways

🤖 Artificial Intelligence

Season          Focus                What you'll learnDuration
Season 4Agentic AISecure AI agents that execute commands, browse the web, use tools, and coordinate other agents<br>No AI or coding experience needed, just curiosity~2 hrs
Season 3LLM SecurityDefend LLM-powered apps through prompt design, input/output handling, and connected data sources<br>No AI or coding experience needed, just curiosity~1.5 hrs

🛡️ Secure Coding

Season          Focus                What you'll learnDuration
Season 2Multi-StackSecurity across CI/CD, backend services, and web apps with CodeQL<br>Uses GitHub Actions, Go, Python, and JavaScript~6 hrs
Season 1FoundationsSecure coding fundamentals covering web apps, systems programming, and data handling<br>Uses Python and C~6 hrs

Getting started

1. Create your own copy

Click Use this template at the top of this repository, then select Create a new repository. Choose your personal account or an organization as the owner, and we recommend making it public so that it does not use Actions minutes.

2. Open a Codespace

All seasons are configured to run instantly in GitHub Codespaces. Be aware this will count towards your 60 hours of monthly free allowance.

  • In your new repository, click the Code button and select Create codespace on main.
  • Wait for extensions and background installations to complete. This takes less than three minutes.
  • Pick any season from the table above, open its folder, and read the README.md to begin.

💡 If a banner asks you to create a virtual environment, dismiss it. You don't need one.


Need help? Email us at securitylab-social@github.com, start a thread in GitHub Discussions, or join us on Slack in the #secure-code-game channel.

<footer> <!-- <<< Author notes: Footer >>> Add a link to get support, GitHub status page, code of conduct, license link. -->

Get help: Email us at securitylab-social@github.comReview the GitHub status page

© 2026 GitHub • Code of ConductMIT License

</footer>

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from skills/secure-code-game via the GitHub API.Last fetched: 6/13/2026