madhuakula/kubernetes-goat

โ–ฒ 30 stars todayโ˜… 5,875โ‘‚ 1,070

Kubernetes Goat is a "Vulnerable by Design" cluster environment to learn and practice Kubernetes security using an interactive hands-on playground ๐Ÿš€

About madhuakula/kubernetes-goat

madhuakula/kubernetes-goat is an open-source project on GitHub, mainly written in HTML. Kubernetes Goat is a "Vulnerable by Design" cluster environment to learn and practice Kubernetes security using an interactive hands-on playground ๐Ÿš€ It currently holds 5,875 stars and 1,070 forks with 28 open issues, and was last pushed on 2026-04-16 (repository created 2020-06-04).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #89 with 30 new stars today.

GitHub Repository Details

Repository madhuakula/kubernetes-goat ยท default branch master ยท size 130233 KB ยท watchers 56 ยท source: GitHub REST API and repository README

README

https://github.com/madhuakula/kubernetes-goat/blob/HEAD/Kubernetes Goat

Kubernetes Goat

โœจ The Kubernetes Goat is designed to be an intentionally vulnerable cluster environment to learn and practice Kubernetes security ๐Ÿš€

๐Ÿ™Œ Refer to https://madhuakula.com/kubernetes-goat for the guide ๐Ÿ“–

https://github.com/madhuakula/kubernetes-goat/blob/HEAD/Netlify Status https://github.com/madhuakula/kubernetes-goat/blob/HEAD/License: MIT https://github.com/madhuakula/kubernetes-goat/blob/HEAD/GitHub release https://github.com/madhuakula/kubernetes-goat/blob/HEAD/Github Stars https://github.com/madhuakula/kubernetes-goat/blob/HEAD/PRs Welcome https://github.com/madhuakula/kubernetes-goat/blob/HEAD/Docker Pulls Kubernetes Goat https://github.com/madhuakula/kubernetes-goat/blob/HEAD/Twitter https://github.com/madhuakula/kubernetes-goat/blob/HEAD/Discord

Kubernetes Goat Home

๐Ÿงฐ Setting up Kubernetes Goat

git clone https://github.com/madhuakula/kubernetes-goat.git
cd kubernetes-goat
chmod +x setup-kubernetes-goat.sh
bash setup-kubernetes-goat.sh
kubectl get pods
all pods running in kubectl get pods
bash access-kubernetes-goat.sh
Refer to https://madhuakula.com/kubernetes-goat/docs/how-to-run for setting up Kubernetes Goat in various environments like GKE, EKS, AKS, K3S, KIND, etc.

๐Ÿ† Scenarios

1. Sensitive keys in codebases 2. DIND (docker-in-docker) exploitation 3. SSRF in the Kubernetes (K8S) world 4. Container escape to the host system 5. Docker CIS benchmarks analysis 6. Kubernetes CIS benchmarks analysis 7. Attacking private registry 8. NodePort exposed services 9. Helm v2 tiller to PwN the cluster - [Deprecated] 10. Analyzing crypto miner container 11. Kubernetes namespaces bypass 12. Gaining environment information 13. DoS the Memory/CPU resources 14. Hacker container preview 15. Hidden in layers 16. RBAC least privileges misconfiguration 17. KubeAudit - Audit Kubernetes clusters 18. Falco - Runtime security monitoring & detection 19. Popeye - A Kubernetes cluster sanitizer 20. Secure network boundaries using NSP 21. Cilium Tetragon - eBPF-based Security Observability and Runtime Enforcement 22. Securing Kubernetes Clusters using Kyverno Policy Engine

๐Ÿ“– Documentation Guide

Here is the detailed step by step guide for learning and using Kubernetes Goat ๐ŸŽ‰: documentation guide

Kubernetes Goat Documentation Guide

Reference: https://madhuakula.com/kubernetes-goat

โš ๏ธ Disclaimer

Kubernetes Goat has intentionally created vulnerabilities, applications, and configurations to attack and gain access to your cluster and workloads. Please DO NOT run this alongside your production environments and infrastructure. We highly recommend running this in a safe and isolated (contained) environment.
Kubernetes Goat is used for educational purposes only. Do not test or apply these attacks on any systems without permission. Kubernetes Goat comes with absolutely no warranties, by using it you take full responsibility for all outcomes.

๐Ÿ“ License

MIT

โœจ Acknowledgements

Thanks to to these wonderful people: ๐ŸŽ‰

https://github.com/madhuakula/kubernetes-goat/blob/HEAD/madhuakula
madhuakula
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/phpsystems
phpsystems
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/adamhurm
adamhurm
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/malwareowl
malwareowl
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/za
za
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/0xCardinal
0xCardinal
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/dependabot[bot]
dependabot[bot]
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/davi-cruz
davi-cruz
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/mkcn
mkcn
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/rewanthtammana
rewanthtammana
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/samriggs
samriggs
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/nayanballa08
nayanballa08
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/gvoden
gvoden
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/avicoder
avicoder
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/macagr
macagr
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/commjoen
commjoen
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/ravenium
ravenium
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/BlaiseOfGlory
BlaiseOfGlory
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/llaltxll
llaltxll
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/hexachordanu
hexachordanu
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/bzd111
bzd111
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/William-LP
William-LP
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/wurstbrot
wurstbrot
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/suneshgovind
suneshgovind
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/SumoSumir
SumoSumir
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/smoyer64
smoyer64
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/pichuang
pichuang
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/nmiekley
nmiekley
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/NF997
NF997
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/Like0x
Like0x
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/Allevon412
Allevon412
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/aaaart3m
aaaart3m
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/AmeerAssadi
AmeerAssadi
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/apvarun
apvarun
https://github.com/madhuakula/kubernetes-goat/blob/HEAD/ant4g0nist
ant4g0nist

GitHub Stars & Activity

5,875Stars
1,070Forks
28Open issues
HTMLLanguage

GitHub Popularity

GitHub stars5,875
Forks1,070
Open issues28
Primary languageHTML
LicenseMIT
Stars gained today30
Created2020-06-04
Last pushed2026-04-16

Trending History

Daily boardrank #89 ยท โ–ฒ 30 stars

Related GitHub Projects

1

shanraisshan / claude-code-best-practice

HTMLโ˜… 67,007โ‘‚ 6,699โ–ฒ 81 stars
โ†’
2

cathrynlavery / diagram-design

HTMLโ˜… 43,085โ‘‚ 2,772โ–ฒ 121 stars
โ†’
3

MengTo / Skills

HTMLโ˜… 6,570โ‘‚ 774โ–ฒ 33 stars
โ†’
4

LingDong- / shan-shui-inf

HTMLโ˜… 6,097โ‘‚ 477โ–ฒ 159 stars
โ†’
5

obra / superpowers

Shellโ˜… 294,380โ‘‚ 26,314โ–ฒ 561 stars
โ†’
6

mattpocock / skills

Shellโ˜… 274,616โ‘‚ 23,055โ–ฒ 955 stars
โ†’
7

affaan-m / ECC

JavaScriptโ˜… 271,132โ‘‚ 40,511โ–ฒ 572 stars
โ†’
8

n8n-io / n8n

TypeScriptโ˜… 206,509โ‘‚ 60,971โ–ฒ 100 stars
โ†’

More Trending Repositories