ghtier
← Offensive tools and labs

CI/CD Goat

Deliberately vulnerable CI/CD environment with capture-the-flag challenges.

github.com/cider-security-research/cicd-goat ↗
Stars
★ 2,326
License
Apache-2.0
Language
Python
Latest release
1.2.7 · 14 Jul 2024
Last push
14 Jul 2024
OpenSSF Scorecard
Not in the weekly scan
ghtier ratingRated 3 of 5, Situational3/5 · Situational

A good lab for the OWASP CI/CD risks, but built on Jenkins, Gitea and GitLab rather than GitHub Actions, and last updated in 2024.

Note: this page is AI generated. Read the tool's own repository and documentation, linked at the bottom, before you rely on it.

How it works

A docker compose file starts Gitea, Jenkins with an agent, GitLab with a runner, LocalStack as a fake AWS, and a production host. The pipelines and permissions are misconfigured on purpose.

A CTFd site lists challenges, each with a flag to find, that walk through poisoned pipeline execution, dependency confusion, stolen credentials and moving from CI into the cloud.

What it catches

  • Hands-on practice with poisoned pipeline execution
  • Credential theft from pipelines and their agents
  • Moving from a CI job into cloud resources

Run it

curl -o cicd-goat/docker-compose.yaml --create-dirs \
  https://raw.githubusercontent.com/cider-security-research/cicd-goat/main/docker-compose.yaml
cd cicd-goat && docker compose up -d

What leaves your machine

Pulls the lab's images from Docker Hub. The lab itself runs on your machine.

Limits

  • A lab, not a scanner.
  • The pipelines are Jenkins and GitLab CI, so GitHub Actions specifics such as pull_request_target are not covered.
  • Needs a lot of memory for the containers.

Related tools

GitHub stats as of 30 Oct 2026. How ratings work.