CI/CD Goat: a hands-on walkthrough
· RuSecure · 2 min read
Launch this lab →Deliberately vulnerable CI/CD environment (Jenkins + GitLab + Gitea) teaching the top 10 CI/CD security risks.
What you'll practice
CI/CD Goat — Deliberately vulnerable CI/CD environment (Jenkins + GitLab + Gitea) teaching the top 10 CI/CD security risks. Attack the pipeline, not the app: poisoned pipeline execution, secret exfiltration from build jobs, dependency and image tampering, and abusing an over-privileged runner. The UI is on port 8080 (jenkins).
ATT&CK techniques in play:
T1195Supply Chain CompromiseT1059.004Unix Shell
Tactics: Initial Access
Launch it on BreakPoint Labs
- Open the lab from the catalog and hit Launch.
- Pick a target — VPS (Docker on a server, recommended). On a VPS the lab binds to the WireGuard VPN address only, so it's never exposed on the public internet.
- Connect to the VPN, then reach the service on port
8080(jenkins). Any default credentials appear on the deployment's Access tab. - When you're done, Destroy tears everything down and leaves nothing running.
Sizing: this lab asks for about 8 GB RAM; the platform checks your target has room before it deploys.
Detect it
Build-system logs are an underused detection source. Alert on jobs that reach the network unexpectedly, read secrets they shouldn't, or modify the pipeline definition — the fingerprints of a supply-chain attack.
Resources
- Project source: https://github.com/cider-security-research/cicd-goat
Deploy this lab in minutes on BreakPoint Labs — pick where it runs, get an isolated, VPN-only instance, and tear it down when you're finished.