In-depth lesson · CI/CD pipeline abuse
Typical fixes
Every point the CI/CD pipeline abuse reports back under this heading, best-backed first, each with the reports it is seen in.
-
Pin and scope package names so builds do not resolve from public registries.
Seen in 3 reports
-
Put Jenkins instances behind authentication and remove public reachability.
Seen in 2 reports
-
High -
Critical
-
-
Sanitise untrusted input such as pull request names before passing it to workflow steps.
Seen in 1 report
-
Reset the git hooks path and clean the working copy between jobs on a reused runner.
-
Validate or reject pushes of git replace refs.
Seen in 1 report
-
Add integrity checks to the shared CI/CD cache and scope it per branch.