TAM-H-ACT-032 · Human · Act: The harm · New in TAM
Rewiring the Pipeline
The insider edits CI/CD configuration to inject code, skip checks, or deploy something reviewers never approved.
Pipeline files such as GitHub Actions workflows, GitLab CI YAML and Jenkinsfiles decide what gets tested, built and shipped. They are code, but reviewers often skim them.
A small edit can do a lot. Pinning an action to a fork, adding a curl | sh step, removing a security scan, or changing a deploy job to pull from a branch the insider controls will all go live on the next run. Changes to reusable workflows or shared templates spread to every repo that uses them.
Treat pipeline files like production access controls. Who changed them, who approved, and did the next build behave differently?
What it looks like
- A developer replaces `actions/checkout@v4` with a lookalike action in a personal namespace.
- A shared GitLab CI template is edited to skip the SAST job when a certain variable is set.
- A deploy workflow is changed to build from an unprotected branch.
Detections (2)
- DET-097Pipeline Definition ChangesReview every change to CI/CD workflow files, shared templates and runner settings.Confidence MediumSaaSLinux
- DET-126Runner Egress to New DestinationsBaseline where CI runners connect and alert on new hosts, especially from jobs holding secrets.Confidence MediumLinuxNetworkAWS
Controls (2)
- CTL-040Ephemeral, Egress-Limited RunnersRun CI jobs on fresh runners that are destroyed after each job and can only reach approved hosts.TechnicalEffort MediumEffect High
- CTL-079Protected Pipeline FilesRequire owner review for changes to workflow files and shared templates, with no admin bypass.TechnicalEffort LowEffect High