Pipeline Pandemonium: How to Hijack the Cloud and Make it Rain Insecurity
Where
Ground Floor
BSides Las Vegas
Duration
39 min
Shows how CI/CD pipeline misconfigurations in GitHub Actions can expose cloud secrets and grant administrative access to AWS.
Summary
The talk opens with a primer on CI/CD pipelines and the common providers, including Jenkins, CircleCI, TeamCity, GitLab and GitHub Actions, with GitHub Actions and AWS as the focus. The speaker, an offensive security engineer, explains why pipelines often hold the most serious cloud attack paths: developer access and stored credentials are reachable from a single repository and are seldom monitored.
The middle section walks through attack paths. Secrets kept in repositories, environment variables or pipeline settings can be located by searching code and reading workflow files. Masking of secrets in logs is easy to get around with simple text transformations or encoding. Pushing a new branch with a malicious workflow runs code without any approval. Cloud roles that trust GitHub's OpenID Connect integration can be assumed from workflows, and a loose wildcard in the trust condition let an outside repository gain access. Pull request triggers can satisfy weak conditions, and a demo showed stolen tokens used to approve and merge a change.
The closing advice centers on least privilege: limiting roles to the tasks they need, restricting which repositories developers can reach, separating runners by team, tightening trust conditions, scoping secrets to protected environments and branches, and keeping session lifetimes short. The speaker also urged forwarding GitHub logs to monitoring and said GuardDuty had been inconsistent at catching misuse. An audience question confirmed the scenarios assume an insider with developer access.
Related talks
Main Stage·51 min
Nick Jones
Walks through real-world AWS attack paths, from leaked credentials and CI/CD pipelines, plus detection and hardening advice.
Ground Floor·49 min
Remi Escourrou · Xavier Gerondeau · Gauthier Sebaux
Walks through a pentest of CI/CD pipelines, from source code leaks to Jenkins, Kubernetes and AWS privilege escalation.
Ground Floor·26 min
Roy Sherman · Adi
Compares how attackers and defenders approach cloud environments, where identity and API access replace traditional breach paths.


