Skip to main content

Academic report · DevSecOps

CI/CD Goat Security Assessment

~2 min read
Security assessment and report co-author
Completed · 86-page report

A structured assessment of the CI/CD Goat environment mapping pipeline weaknesses to exploited trust boundaries, risk, and concrete defensive controls.

DevSecOpsCI/CD SecurityJenkinsSupply Chain
Cover of the CI/CD Goat DevSecOps security assessment

Trust chain

Where CI/CD compromise propagates

A weakness near source control can inherit the privileges of every downstream stage.

  1. 1

    Source and pull request

    Code, metadata, history, tokens

  2. 2

    Pipeline definition

    Trusted automation logic

  3. 3

    Build agent

    Credentials and execution context

  4. 4

    Artifact and registry

    Packages and container images

  5. 5

    Deployment

    Infrastructure and production access

Swipe horizontally →

Assessment objective

The work treated CI/CD as a privileged production system rather than a collection of convenience scripts. Eleven scenarios were analyzed across source control, pipelines, Jenkins, dependencies, infrastructure as code, registries, containers, and secrets.

Representative attack patterns

Different challenges repeatedly exposed the same underlying problem: untrusted input crossed a highly privileged automation boundary.

  • Direct poisoned-pipeline execution and attacker-controlled build logic
  • Token exposure through pull-request and auto-merge workflows
  • Secrets retained in Git history and replayed Jenkins credentials
  • Dependency, external-script, package, and container poisoning
  • IaC scanner bypass and Jenkins agent-label abuse

Cross-scenario analysis

Findings were grouped by trust-boundary failure, lateral-movement potential, privilege escalation, and secret exposure. CVSS 3.1 scoring provided consistency without replacing contextual risk analysis.

Remediation strategy

The final guidance prioritizes protected pipeline definitions, least-privilege tokens, isolated build agents, trusted dependencies, signed artifacts, secrets management, IaC policy enforcement, and monitoring at the handoff points between systems.