whatisgithub

What is owasp-top-10-k8s-2025?

hac01/owasp-top-10-k8s-2025 — explained in plain English

Analysis updated 2026-05-18

44TypeScriptAudience · ops devopsComplexity · 4/5Setup · moderate

In one sentence

A hands-on capture-the-flag lab where you exploit and then fix ten real Kubernetes security weaknesses in a local, disposable cluster.

Mindmap

mindmap
  root((K8s Top 10 CTF))
    What it does
      Vulnerable cluster
      Capture the flag
      Guided fixes
    Tech stack
      Kubernetes
      Go checker
      Next.js web app
    Use cases
      Practice exploits
      Learn defenses
      Team training
    Audience
      Security engineers
      DevOps engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Practice exploiting real Kubernetes misconfigurations like privileged pods and over-broad RBAC roles.

USE CASE 2

Learn how to fix each vulnerability and verify the fix with an automated checker.

USE CASE 3

Study for a cloud security or Kubernetes security role with hands-on labs instead of slides.

USE CASE 4

Run a local, disposable CTF environment for team security training.

What is it built with?

TypeScriptGoKubernetesDockerNext.js

How does it compare?

hac01/owasp-top-10-k8s-20250xbennie/binance-smart-money-trackeraeneasr/dockerstats
Stars444444
LanguageTypeScriptTypeScriptTypeScript
Last pushed2021-04-07
MaintenanceDormant
Setup difficultymoderatemoderatehard
Complexity4/53/53/5
Audienceops devopsdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Docker, kind, kubectl, and Go installed locally, one setup script then builds the cluster and web app automatically.

So what is it?

This project is a hands-on capture-the-flag training environment built around the OWASP Kubernetes Top 10 for 2025, a published list of the most common security weaknesses in Kubernetes clusters. Instead of teaching those risks through slides, it gives you a real, deliberately vulnerable Kubernetes cluster tied to a fictional e-commerce company called NimbusMart, and ten challenges plus one bonus challenge, one for each risk on the list. For each challenge, you get a short mission briefing describing the scenario, a flag you can only reach by actually performing the exploit, such as breaking out of a container or reaching another namespace over the network, and a scoreboard in the web app that tracks your progress. Once you capture a flag, the project also gives you a deep dive on why the weakness exists, a defense guide with concrete fixes, and an automated Go program that checks whether your fix actually closes the hole. Topics covered include privileged containers and node breakout, overly broad permissions in Kubernetes role-based access control, hardcoded secrets, missing network segmentation, exposed internal dashboards, weak authentication, poor logging, and a bonus challenge on using untrusted container images in production. Everything runs locally inside a kind cluster, which is a way of running Kubernetes inside Docker on your own machine, and the README is explicit that the vulnerable setups should never be pointed at a real cluster. A single setup script builds the cluster, a Next.js and React web app, and an in-browser terminal that has full administrative access to that local, disposable cluster only. Getting started requires Docker, kind, kubectl, and Go installed locally, with Node.js needed only if you want to run the web app outside the cluster. This project is aimed at people learning Kubernetes security through practice, such as security engineers, DevOps engineers, or students studying for cloud security roles.

Copy-paste prompts

Prompt 1
Walk me through setting up the Owasp-top-10-k8s-2025 kind cluster with setup.sh.
Prompt 2
Explain the K02 authorization challenge and what an overly permissive ClusterRole looks like.
Prompt 3
How does the automated checker in this project verify that a Kubernetes security fix actually works?
Prompt 4
Summarize all ten OWASP Kubernetes Top 10 2025 risks covered by this repo's challenges.

Frequently asked questions

What is owasp-top-10-k8s-2025?

A hands-on capture-the-flag lab where you exploit and then fix ten real Kubernetes security weaknesses in a local, disposable cluster.

What language is owasp-top-10-k8s-2025 written in?

Mainly TypeScript. The stack also includes TypeScript, Go, Kubernetes.

How hard is owasp-top-10-k8s-2025 to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is owasp-top-10-k8s-2025 for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.