add-and-commit
:octocat: Automatically commit changes made in your workflow run directly to your repo
- 1.3k
- TypeScript
- MIT
- 4 d ago
The maintainer has not written a description at the source.
Repo EndBug/secure-code-game, read from GitHub 1 min ago. EndBug has not joined Take My Repo.
EndBug/secure-code-game is a public repo on GitHub by EndBug. It declares the MIT license on GitHub. It is written mainly in Python, has 1 stars and last changed on 2023-03-23. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-18.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
A GitHub Security Lab initiative, providing an in-repo learning experience, where learners secure intentionally vulnerable code.
python3 for most levels and C for Level 2.
All levels are configured to run instantly with GitHub Codespaces. If you chose to use codespaces, be aware that this course will count towards your 60 hours of monthly free allowance. For more information about GitHub Codespaces, see the "GitHub Codespaces overview." If you prefer to work locally, please follow the local installation guide in the next section.
Please note: You don't need a local installation if you are using GitHub Codespaces.
The following local installation guide is adapted to Debian/Ubuntu and CentOS/RHEL.
python-ldap, depending on your Linux distribution. Check by running:uname -a
sudo apt-get update sudo apt-get install libldap2-dev libsasl2-dev
sudo yum install python-devel openldap-devel
pyOpenSSL by running:pip3 install pyOpenSSL
pip3 install -r requirements.txt
Once installation has completed, clone your repository to your local machine.
Local tab from the menu.git clone and paste the copied URL.$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
For more information about cloning repositories, see "Cloning a repository."
Welcome to "Secure Code Game"! 👋
A few days before the massive shopping event Black Friday, an electronics shop without an online presence rushed to create a website to reach a broader customer base. As a result, they spent all their budget on development without investing in security. Do you have what it takes to fix the bug and progress to Level 2?
For each level, you will find the same file structure:
code includes the vulnerable code to be reviewedhack exploits the vulnerabilities in code. Running hack.py will fail initially, your goal is to get this file to pass.hint offers a hint if you get stuck.solution provides one working solution. There are several possible solutions.tests contains the unit tests that should still pass after you have implemented your fix.code.py. Can you spot the bug?hack.py and tests.py pass 🟢.hint.js file.solution.py.You have completed Level 1: Black Friday! Welcome to Level 2: Matrix. 🎉
At the time "The Matrix" was first released in 1999, programming was different. In the movie, a computer programmer named Thomas "Neo" Anderson leads the fight in an underground war against powerful computers who have constructed his entire reality with a system called the Matrix. Do you have what it takes to win that war and progress to Level 3?
For each level, you will find the same file structure:
code includes the vulnerable code to be reviewedhack exploits the vulnerabilities in code. Running hack.py will fail initially, your goal is to get this file to pass.hint offers a hint if you get stuck.solution provides one working solution. There are several possible solutions.tests contains the unit tests that should still pass after you have implemented your fix.code.h. Can you spot the bug?hack.c and tests.c pass. 🟢hint.txt file.solution.c.Nice work finishing Level 2: Matrix! It's now time for Level 3: Social Network. ✨
The following fictitious story takes place in the mid-2030s. Authorities worldwide have become more digitized. Various governments are adapting social network technology to fight crime. The goal is to establish local communities that foster collaboration by supporting citizens with government-related questions. Other features include profile pictures, hashtags, real-time support in comments, and public tip sharing. Do you have what it takes to secure the social network and progress to Level 4?
For each level, you will find the same file structure:
code includes the vulnerable code to be reviewedhack exploits the vulnerabilities in code. Running hack.py will fail initially, your goal is to get this file to pass.hint offers a hint if you get stuck.solution provides one working solution. There are several possible solutions.tests contains the unit tests that should still pass after you have implemented your fix.code.py. Can you spot the bugs?main or push your fix to a branch.Nicely done! Level 3: Social Network is complete. It's time for Level 4: Database. 🥳
Databases are essential for our applications. However, malicious actors only need one entry point to exploit a database, so defenders must continuously protect all entry points. Can you secure them all?
For each level, you will find the same file structure:
code includes the vulnerable code to be reviewedhack exploits the vulnerabilities in code. Running hack.py will fail initially, your goal is to get this file to pass.hint offers a hint if you get stuck.solution provides one working solution. There are several possible solutions.tests contains the unit tests that should still pass after you have implemented your fix.For Levels 3-5, we encourage you to enable code scanning with CodeQL. For more information about CodeQL, see "About CodeQL." For instructions setting up code scanning, see "Setting up code scanning using starter workflows."
code.py. Can you spot the bugs?main or push your fix to a branch.Almost there! One level to go! ❤️
It's a common myth that passwords should be complex. In reality, it's more important that passwords are long. Some people choose phrases as their passwords. Users should avoid common expressions from movies, books, or songs to safeguard against dictionary attacks. Your password may be strong, but for this exercise, a website you have registered with has made a fatal but quite common mistake. Can you spot and fix the bug? Good luck!
For each level, you will find the same file structure:
code includes the vulnerable code to be reviewedhack exploits the vulnerabilities in code. Running hack.py will fail initially, your goal is to get this file to pass.hint offers a hint if you get stuck.solution provides one working solution. There are several possible solutions.tests contains the unit tests that should still pass after you have implemented your fix.For Levels 3-5, we encourage you to enable code scanning with CodeQL. For more information about CodeQL, see "About CodeQL." For instructions setting up code scanning, see "Setting up code scanning using starter workflows."
code.py. Can you spot the bugs?main or push your fix to a branch.Congratulations, you've completed this course!
Here's a recap of all the tasks you've accomplished in your repository:
Get help: Email us at securitylab-social@github.com • Review the GitHub status page
© 2023 GitHub • Code of Conduct • MIT License
EndBug/secure-code-game is a public repo on GitHub by EndBug. Its maker has not written a description.
It declares the MIT license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2023-03-23. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
:octocat: Automatically commit changes made in your workflow run directly to your repo
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/EndBug/secure-code-gameTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.
