KubeSnake is an offensive Kubernetes attack-path engine that models how an attacker propagates through a cluster.
KubeSnake is built on top of libpwn, a library of reusable attack testing primitives.
One time installations.
- Install Docker
- Install
kubectl - Install
task - Install
k3dwithtask k3d:install
- Start the cluster with
task up - Iterate
- Destroy the cluster with
task down
The project includes a small e2e-framework based smoke suite that provisions a k3d cluster, applies test manifests, and validates container state.
- Run the suite with
task e2e. - Ensure
k3dandkubectlare installed and available on yourPATH. - Optionally pre-load container images into the cluster by setting
KUBESNAKE_E2E_IMAGESto a comma-separated list of image names (for example,KUBESNAKE_E2E_IMAGES=kubesnake:dev).