In March 2025 an attacker repointed version tags of the popular GitHub Action tj-actions/changed-files to a malicious commit that read secrets out of the runner's memory and printed them, double base64-encoded, into workflow logs. CISA says reviewdog/action-setup@v1 was compromised days earlier and may have enabled it. Any workflow that ran either action in the compromise window should treat every secret available to that job as exposed and rotate it.
| Disclosed | March 14, 2025 |
|---|---|
| Earliest known activity | March 11, 2025 |
| Affected | tj-actions/changed-files, reviewdog/action-setup, GitHub Actions |
| Type | Supply chain |
| Status | Resolved |
| CVE | CVE-2025-30066, CVE-2025-30154 |
What was exposed
Every secret the GitHub Actions runner held for the job: repository and organization secrets, the job's GITHUB_TOKEN, cloud access keys, npm tokens, GitHub personal access tokens and private keys. CISA lists access keys, GitHub PATs, npm tokens and private RSA keys. StepSecurity said it saw no sign that the values were sent to a remote server; the exposure was through the build logs, so public repositories with public logs were at the highest risk because anyone could read and decode them.
Am I affected?
You are affected if any workflow in your organization ran tj-actions/changed-files between 2025-03-12 00:00 UTC and 2025-03-15 12:00 UTC (the window CISA gives), whatever tag you referenced, unless you pinned a known-good commit SHA. Workflows that ran reviewdog/action-setup@v1, or the reviewdog actions that embed it (action-shellcheck, action-composite-template, action-staticcheck, action-ast-grep, action-typos), on 2025-03-11 between 18:42 and 20:31 UTC are also affected. Search your workflow run logs from those windows for an unexpected base64 blob in the action's output.
What to do now
- Search every repository's workflows for
tj-actions/changed-filesand the listedreviewdog/*actions, and list the runs inside the compromise windows. - Read those run logs. If a log contains a double base64-encoded blob, decode it to see which secret names were printed, then delete the log.
- Rotate every secret that job could read, starting with cloud keys, npm and PyPI publish tokens and GitHub PATs. Treat them as compromised even if your repository is private.
- Upgrade
tj-actions/changed-filesto v46.0.1 or later, and update any workflow that referenced the malicious commit SHA directly. - Pin third-party actions to a full commit SHA you have reviewed, rather than to a tag that can be moved.
Keys to rotate
Guides to the credentials this incident put at risk:
- Rotate GitHub keys
- Rotate AWS (IAM access keys) keys
- Rotate npm keys
- Rotate PyPI keys
- Rotate Docker Hub keys
Timeline
-
reviewdog/action-setup@v1is compromised between 18:42 and 20:31 UTC, according to its advisory. Source - StepSecurity's Harden-Runner flags an unexpected outbound call from workflows using
tj-actions/changed-filesand publishes a warning. Source - GitHub removes the action, then restores the repository with all versions cleaned. The advisory GHSA-mrrh-fwg8-r2c3 (CVE-2025-30066) is published, with v46.0.1 as the fixed release. Source
- CISA publishes an alert covering both actions and their compromise windows. Source
- CISA's Known Exploited Vulnerabilities catalog now lists both CVEs. NVD records CVE-2025-30066 as added on 18 March and CVE-2025-30154 on 24 March. Source
Indicators
From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.
- Malicious
tj-actions/changed-filescommit0e58ed8671d6b60d0890c21b07f8835ace038e67, to which tags were repointed (the advisory names v1.0.0, v35.7.7-sec and v44.5.1 among them). - Malicious
reviewdog/action-setupcommitf0d342d; the fixed retag is3f401fe. - An outbound request from the runner to
gist.githubusercontent.comfetching amemdump.pyscript.
Frequently asked questions
Am I affected by the tj-actions/changed-files incident?
You are affected if any workflow in your organization ran tj-actions/changed-files between 2025-03-12 00:00 UTC and 2025-03-15 12:00 UTC (the window CISA gives), whatever tag you referenced, unless you pinned a known-good commit SHA. Workflows that ran reviewdog/action-setup@v1, or the reviewdog actions that embed it (action-shellcheck, action-composite-template, action-staticcheck, action-ast-grep, action-typos), on 2025-03-11 between 18:42 and 20:31 UTC are also affected. Search your workflow run logs from those windows for an unexpected base64 blob in the action's output.
What was exposed in the tj-actions/changed-files incident?
Every secret the GitHub Actions runner held for the job: repository and organization secrets, the job's GITHUB_TOKEN, cloud access keys, npm tokens, GitHub personal access tokens and private keys. CISA lists access keys, GitHub PATs, npm tokens and private RSA keys. StepSecurity said it saw no sign that the values were sent to a remote server; the exposure was through the build logs, so public repositories with public logs were at the highest risk because anyone could read and decode them.
Which keys should I rotate?
Rotate any GitHub, AWS (IAM access keys), npm, PyPI, Docker Hub credentials that were reachable from affected systems, starting with the ones that can publish code or reach production.
Other supply-chain compromises
- LiteLLM 1.107.0 on PyPI and Docker carried a credential stealer after a leaked master key 2026-10-21
- tensorlake 0.5.144 on npm shipped a Shai-Hulud variant with a wipe-on-revoke dead-man's switch 2026-10-08
- keyv, flat-cache and cache-manager npm releases carried a CI-secret stealer with a revocation trap 2026-08-04
- 32 @redhat-cloud-services npm packages compromised after a VS Code extension hijacked a GitHub account 2026-06-01
- 14 typosquatted OpenSearch and DevOps npm packages stole AWS, Vault, GitHub Actions and npm secrets 2026-05-28
- Nx Console 18.95.0 VS Code extension shipped a credential stealer after a TanStack infection 2026-05-18