Backdoored `tj-actions/changed-files` GitHub Action Leaked CI Secrets from Workflow Logs
Supply Chain Risk · 12 sources · Updated 5mo ago · First seen May 21, 2026
The widely used GitHub Action tj-actions/changed-files was compromised after an attacker gained write access to the repository and retargeted release tags to a malicious orphaned commit, causing workflows pinned to tags rather than immutable SHAs to run attacker-controlled code. The backdoor downloaded and executed a remote payload that scraped decrypted GitHub Actions secrets from process memory and printed them into workflow logs, exposing repositories that executed the action and creating acute risk for public projects where logs were openly accessible. The incident was detected after anomalous outbound network activity was observed, and the maintainer removed the malicious changes soon afterward.
Follow-on analysis found the blast radius was substantial because the action was referenced across roughly 23,000 repositories and many workflows were not pinned to a full commit hash. GitGuardian reported that among workflows executed during the compromise window, hundreds showed signs of exploitation and 603 secrets were exposed in logs, including temporary GitHub tokens, DockerHub credentials, AWS keys, GitHub personal access tokens, Jira tokens, and cloud.gov credentials. Organizations using the action were urged to review workflow runs from March 14 onward, delete affected logs, rotate any exposed credentials, audit dependencies and commits, and pin third-party GitHub Actions to full commit SHAs to reduce future supply-chain risk.
Why it matters
Impact assessment
The incident affects organizations using the tj-actions/changed-files GitHub Action in CI/CD workflows, especially repositories pinned to mutable tags instead of full commit SHAs. Impact is high because the malicious action exposed CI secrets in workflow logs, creating immediate credential-compromise risk for source control, cloud, container registry, and deployment environments.
The exposure was broad rather than narrowly targeted: the action was referenced by roughly 23,000 repositories, and GitGuardian observed 1,104 workflow runs during the compromise window, with 276 showing signs of exploitation and 603 secrets exposed. Exploitation in the wild is confirmed, and public repositories faced elevated risk because leaked secrets could be retrieved directly from publicly accessible GitHub Actions logs.
Supporting facts
- Affected product: GitHub Action
tj-actions/changed-files. - Exposure mechanism: compromised action release tags were retargeted to attacker-controlled code.
- Estimated downstream footprint: about 23,000 repositories referenced the action.
- GitGuardian dataset: 85,000 patches across 14,000 repositories referenced the action in
.github/workflows/. - Pinning weakness: only 30% of identified patches pinned to a commit SHA; about 70% were likely vulnerable if jobs ran during the attack window.
- Confirmed exploitation: 276 workflow runs showed signs of exploitation.
- Confirmed secret exposure: 603 secrets exposed in logs.
- Secret types exposed: temporary GitHub tokens, DockerHub credentials, AWS keys, GitHub personal access tokens, Jira tokens, cloud.gov credentials.
- Public exposure risk: workflow logs for public repositories may have exposed secrets to any viewer until logs were deleted.
- Operational effect: workflows often continued to succeed normally, reducing visibility while preserving attacker access opportunities.
- Broader supply-chain implication: compromise of one shared action propagated risk across thousands of downstream CI/CD environments.


