This repository contains multiple folders, each representing a separate GitHub repository and challenge for the Snyk CTF event. Each folder includes the full source code for its respective vulnerability challenge.
You can clone this entire repository to your IDE (such as GitHub Codespaces or VS Code) to access all the challenges in one place:
git clone <repo-url>This repo includes a preconfigured .devcontainer setup for GitHub Codespaces and VS Code Dev Containers. The environment provides:
- Java (OpenJDK 21) with Maven
- Node.js (LTS)
- Python 3
- Docker-in-Docker
- GitHub CLI
- Postman (for API testing)
- Snyk CLI and Snyk VS Code extension
- VS Code extensions for Snyk, REST Client, Python, and Docker
- Common ports (27017, 8080, 8000, 5000) are forwarded for web apps and databases
Snyk is preconfigured to use Token authentication for scanning vulnerabilities.
Once cloned, use the Snyk plugin in your IDE to scan all the folders and quickly identify vulnerabilities across all challenges.
- Each folder is a standalone challenge with its own codebase.
- You can work on each challenge independently or all at once.
- Clone the repo.
- Open in Codespaces or VS Code.
- Use Snyk to scan for vulnerabilities.
- Use the terminal and Postman extension to interact with the challenges and find flags.
-
Under Snyk -> 'General Settings' you should see a field under 'API Token' - create your API key and copy it:
-
If your Codespace is now ready, open the Command Palette (Cmd + Shift + P on Mac; Ctrl + Shift + P on Windows) and type Snyk:
This repo is designed for security training and CTF purposes. Do not use in production.
Happy hacking!

