GitHub Actions Abuse Exposed CI/CD Secrets and Azure OIDC Trust Weaknesses
Supply Chain Risk · 2 sources · Updated 3mo ago · First seen Mar 21, 2025

A GitHub Actions supply-chain attack compromised widely used actions including tj-actions/changed-files and components in the reviewdog ecosystem after attackers abused insecure workflow patterns to steal maintainer personal access tokens and move trusted tags to malicious code. Investigators traced the intrusion to a malicious pull request against the SpotBugs ecosystem using the dangerous pull_request_target trigger, which exposed a maintainer token that was later used to implant another workflow, steal additional tokens, and overwrite action tags. The malicious action chain leaked CI/CD secrets and environment variables by dumping runner memory into workflow logs, affecting downstream repositories at scale and including a targeted attempt involving Coinbase, which said the incident did not damage its assets.
Separate research showed that GitHub Actions integrations with Azure via OpenID Connect can also be undermined when federated identity credentials trust unsafe subject identifiers such as unprotected branches, tags, environments, or especially pull_request, allowing contributors to obtain Azure access tokens under weak configurations. The analysis found that even reusable workflows constrained with job_workflow_ref can still expose cloud access if the workflow permits caller-controlled code execution through mechanisms such as script injection or Terraform plan behavior. Together, the findings show that GitHub Actions trust boundaries can fail both in software supply chains and cloud federation unless organizations pin actions to commit SHAs, protect refs, minimize token permissions, validate reusable workflows, and enforce least-privilege access to secrets and cloud roles.
Why it matters
Impact assessment
This story affects organizations that use GitHub Actions in CI/CD pipelines, especially repositories consuming tj-actions/changed-files, reviewdog actions, reusable workflows, or GitHub-to-Azure OIDC federation. Impact is high because the observed supply-chain compromise exposed CI/CD secrets and environment variables at scale, while weak Azure federated identity configurations can let contributors or collaborators obtain cloud access tokens.
Business impact
- Downstream repositories using compromised action tags were exposed to secret leakage through workflow logs.
- Exposed CI/CD secrets can enable source-code tampering, package publishing abuse, cloud access, lateral movement, and persistence in developer tooling.
- Azure OIDC trust misconfigurations can convert ordinary repository contribution rights into cloud authentication, increasing risk of infrastructure compromise.
Scope and affected populations
- tj-actions/changed-files was used by more than 23,000 GitHub repositories.
- Affected populations include software vendors, open-source maintainers, enterprises with GitHub-hosted CI/CD, and teams using Azure workload identity federation.
- Exposure is both widespread and targeted: broad downstream impact from tag hijacking, plus a reported targeted attempt involving Coinbase.
Known exploitation
- Exploitation in the wild is confirmed for the GitHub Actions supply-chain attack.
- Investigators traced compromise activity across SpotBugs, reviewdog, and tj-actions ecosystems.
- Coinbase reported a related attack path was remediated and did not damage assets.
- The Azure OIDC weakness is presented as exploitable under unsafe configurations; the provided references do not state confirmed in-the-wild exploitation of that Azure trust issue specifically.

