Join our Newsletter — 33% off our NHI Course

Who is exposed when GitHub Actions lets trusted actions leak secrets?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: About 23,000 repositories were put at risk when a malicious tj-actions/changed-files version leaked CI/CD secrets into workflow logs, according to Oasis Security. GitHub Actions workflows still need tighter runtime scoping and faster revocation when a trusted action is poisoned.

Editorial analysis by NHI Mgmt Group, based on content published by Oasis Security: “tj-actions/changed-files GitHub Actions 3rd party vulnerability”.

Key questions

Q: Why do GitHub Actions and GitLab CI/CD create different secrets risks?

A: GitHub Actions tends to fragment secrets across many repositories and environments, while GitLab CI/CD can cascade values through inheritance in ways that are harder to reason about.

Q: How do security teams know whether action pinning is enough protection?

A: Pinning is only a source-integrity control, so it is insufficient when the runtime environment still has excessive access.

Q: What breaks when GitHub Actions workflows are allowed to access secrets without approval?

A: When workflow secret access is not gated, an attacker can turn the CI runner into the exfiltration tool.

Practitioner guidance

  • Map every workflow secret to a business owner Document which repository, action, or environment can read each secret and assign a human owner for rotation and revocation decisions.
  • Restrict third-party action permissions Limit job-level permissions, reduce secret exposure to only the steps that truly need them, and block broad default access to runner context.
  • Require signed commits for release paths Enforce commit signing on branches that can trigger build or deployment workflows so repository history cannot be silently rewritten.

Bottom line: The breach showed that CI/CD pipelines can leak non-human credentials during normal execution when a trusted action is poisoned.

Glossary terms: CI/CD secret, GitHub Actions Workflow Orchestration, Third-Party Action Trust, Commit signing

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 20718
 

CI/CD secret trust debt: This breach exposed how much pipeline security still depends on secrets being present, visible, and trustworthy at exactly the wrong time. GitHub Actions can protect storage and still fail at runtime, because the action itself receives the secrets needed to do its job. The practitioner conclusion is that pipeline governance must treat secret exposure during execution as the primary risk, not an edge case.

A question worth separating out:

Q: When should teams replace long-lived CI/CD secrets with short-lived tokens?

A: They should do so whenever the workflow needs cloud or deployment access that can be issued just for the job and then discarded. Short-lived tokens reduce the blast radius when an action or runner is compromised because there is less reusable credential value left behind. This is especially important for release and deployment pipelines.

👉 Read our full editorial: tj-actions/changed-files breach exposed CI/CD secret trust gaps



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.