# tj-actions/changed-files supply-chain compromise (CVE-2025-30066)

incident, `incident:tj-actions-changed-files`. Page: https://ghtier.com/incidents/tj-actions-changed-files

Each compromised repository leaked the token for the next, from a spotbugs pull request to reviewdog to tj-actions, until the Action's moved release tags made every repository using it by tag print its own secrets into its workflow logs.

**Abused:** [Workflows: Write (repository)](https://ghtier.com/tier/permissions/workflows-write.md) (Tier 1), [Contents: Write (repository)](https://ghtier.com/tier/permissions/contents-write.md) (Tier 2)

**Used:** [Repoint existing tags on a published Action](https://ghtier.com/attack-paths/technique-repoint-tags.md) (Tier 2), [Add a workflow that dumps secrets](https://ghtier.com/attack-paths/technique-inject-workflow.md) (Tier 1), [Run PR code in a privileged workflow](https://ghtier.com/attack-paths/technique-pwn-request.md) (Tier 1), [Read secrets from the runner](https://ghtier.com/attack-paths/technique-runner-memory.md) (Tier 2), [Add a guest collaborator or new app](https://ghtier.com/attack-paths/technique-add-collaborator.md) (Tier 0), [Change a workflow, get its secrets](https://ghtier.com/attack-paths/escalation-workflow-to-secrets.md) (Tier 1), [Move release tags on a widely used Action](https://ghtier.com/attack-paths/escalation-tags-to-downstream.md) (Tier 2), [Add a collaborator or guest that outlives the attack](https://ghtier.com/attack-paths/escalation-members-to-collaborator.md) (Tier 2), [Take the workflow token from a runner](https://ghtier.com/attack-paths/escalation-runner-code-to-token.md) (Tier 2)

**Sources:**
- [GitHub Actions supply chain attack: Coinbase to tj-actions](https://unit42.paloaltonetworks.com/github-actions-supply-chain-attack/)
- [CISA alert: tj-actions/changed-files and reviewdog/action-setup](https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-tj-actionschanged-files-cve-2025-30066-and-reviewdogaction)
- [GHSA-mrrh-fwg8-r2c3 (CVE-2025-30066)](https://github.com/advisories/ghsa-mrrh-fwg8-r2c3)
- [tj-actions/changed-files supply chain attack (Wiz)](https://www.wiz.io/blog/github-action-tj-actions-changed-files-supply-chain-attack-cve-2025-30066)

From ghtier (https://ghtier.com). Every entry and link: https://ghtier.com/data/graph.json. Tiers: https://ghtier.com/tier.
