Skip to content

In-depth lesson · CI/CD pipeline abuse

Root causes

Every point the CI/CD pipeline abuse reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 6 of 6
  1. Build pipelines resolve package names from public registries without pinning or scoping, allowing dependency confusion.

    Seen in 3 reports
  2. Build servers were left reachable from the internet without authentication, allowing pre-authentication takeover of pipelines.

    Seen in 2 reports
  3. Untrusted input such as pull request names and environment values is passed into workflow steps without sanitisation.

    Seen in 1 report
  4. The runner reuses the local working copy without resetting the git hooks path, so a malicious configuration persists across jobs.

    Seen in 1 report
  5. GitLab does not validate or filter pushes of git replace refs, allowing them to be used in pipelines.

    Seen in 1 report
  6. The CI/CD cache is shared across branches without integrity checks, so a developer can poison it for other users' pipelines.

    Seen in 1 report