Skip to content

CI/CD Providers

General

Article Description
Mercari's Research
Top10 CI/CD Security Risks Focus areas for securing CI/CD environments
Visualizing CI/CD from an attacker’s perspective Lessons learned and insight gained from a year of modeling and engineering CI/CD graphs from the attacker's perspective
10 real-world stories of how we’ve compromised CI/CD pipelines Some of war stories from NCC about what they have observed and been able to demonstrate on CI/CD pipeline security assessments
Controlling the Source: Abusing Source Code Management Systems A few ways to abuse some of the most popular source code management systems to perform various attack scenarios, like
  • reconnaissance
  • manipulation of user roles
  • repository takeover
  • pivoting to other DevOps systems
  • user impersonation
  • maintaining persistent access
Characterizing the Security of Github CI Workflows Paper comparing 6 popular CI/CD platforms and how they enforce security properties like: Admittance Control, Execution Control, Code Control, and Access to Secrets

Github

Articles

Article Description
Securing GitHub organizations Step-by-step process for securing your GitHub organization
Security hardening for GitHub Actions Good security practices for using GitHub Actions features
Github Actions Security Best Practices Some of the key security concerns you should be aware of when using Github Actions, alongside the best practices that Salesforce Heroku follows to securely use them
Protect Your GitHub Actions with Semgrep What can happen (secrets stolen, repo backdoored), and how to protect yourself with open source Semgrep rules
Secure deployments with OpenID Connect & GitHub Actions

Tools

Tool Description
Allstar A GitHub app that provides automated continuous enforcement of security best practices for GitHub projects
policy-bot A GitHub App that enforces approval policies on pull requests
dco A GitHub App that enforces the Developer Certificate of Origin (DCO) on pull requests
gordon
gitoops A tool to help attackers and defenders identify lateral movement and privilege escalation paths in GitHub organizations by abusing CI/CD pipelines and GitHub access controls
lobster-pot Scans every git push to your Github organisations to find unwanted secrets
Identity Federation for CI on AWS A small Terraform module which automates the setup of OIDC federation between AWS and Github Actions/GitLab CI
reposaur Audit your GitHub data using custom policies written in Rego
ratchet A tool for securing CI/CD workflows with version pinning
chain-bench A tool for auditing your software supply chain stack for security compliance
magic-github-proxy
  • A stateless GitHub API proxy that allows creation and use of access-limited GitHub API tokens
  • Basically, it's identity and access management for GitHub API tokens

GitLab

Articles

Article Description
OIDC

Tools

Tool Description
Identity Federation for CI on AWS A small Terraform module which automates the setup of OIDC federation between AWS and Github Actions/GitLab CI